user@home:~/Pulpit/rme-master$ mkdir build && cd build
user@home:~/Pulpit/rme-master/build$ cmake ..
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so
-- Found LibArchive: /usr/lib/i386-linux-gnu/libarchive.so (found version "3.1.2")
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- thread
-- system
-- Found wxWidgets: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Pulpit/rme-master/build
user@home:~/Pulpit/rme-master/build$ make -j4
Scanning dependencies of target rme
[ 1%] [ 2%] [ 3%] [ 4%] Building CXX object CMakeFiles/rme.dir/source/about_window.cpp.o
Building CXX object CMakeFiles/rme.dir/source/application.cpp.o
Building CXX object CMakeFiles/rme.dir/source/action.cpp.o
Building CXX object CMakeFiles/rme.dir/source/basemap.cpp.o
[ 5%] Building CXX object CMakeFiles/rme.dir/source/brush.cpp.o
[ 6%] Building CXX object CMakeFiles/rme.dir/source/brush_tables.cpp.o
[ 7%] Building CXX object CMakeFiles/rme.dir/source/carpet_brush.cpp.o
[ 9%] Building CXX object CMakeFiles/rme.dir/source/client_version.cpp.o
In file included from /home/user/Pulpit/rme-master/source/client_version.cpp:8:0:
/home/user/Pulpit/rme-master/source/filehandle.h: In member function ‘bool FileReadHandle::getType(T&) [with T = unsigned int]’:
/home/user/Pulpit/rme-master/source/filehandle.h:96:3: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&ref, sizeof(ref), 1, file);
^
[ 10%] Building CXX object CMakeFiles/rme.dir/source/common.cpp.o
[ 11%] Building CXX object CMakeFiles/rme.dir/source/common_windows.cpp.o
[ 12%] Building CXX object CMakeFiles/rme.dir/source/complexitem.cpp.o
[ 13%] Building CXX object CMakeFiles/rme.dir/source/container_properties_window.cpp.o
/home/user/Pulpit/rme-master/source/container_properties_window.cpp: In member function ‘void ContainerItemButton::OnMouseDoubleLeftClick(wxMouseEvent&)’:
/home/user/Pulpit/rme-master/source/container_properties_window.cpp:49:30: error: no matching function for call to ‘ContainerItemButton::OnEditItem(wxCommandEvent)’
OnEditItem(wxCommandEvent());
^
/home/user/Pulpit/rme-master/source/container_properties_window.cpp:49:30: note: candidate is:
In file included from /home/user/Pulpit/rme-master/source/container_properties_window.cpp:7:0:
/home/user/Pulpit/rme-master/source/container_properties_window.h:34:8: note: void ContainerItemButton::OnEditItem(wxCommandEvent&)
void OnEditItem(wxCommandEvent& event);
^
/home/user/Pulpit/rme-master/source/container_properties_window.h:34:8: note: no known conversion for argument 1 from ‘wxCommandEvent’ to ‘wxCommandEvent&’
/home/user/Pulpit/rme-master/source/container_properties_window.cpp:55:29: error: no matching function for call to ‘ContainerItemButton::OnAddItem(wxCommandEvent)’
OnAddItem(wxCommandEvent());
^
/home/user/Pulpit/rme-master/source/container_properties_window.cpp:55:29: note: candidate is:
In file included from /home/user/Pulpit/rme-master/source/container_properties_window.cpp:7:0:
/home/user/Pulpit/rme-master/source/container_properties_window.h:33:8: note: void ContainerItemButton::OnAddItem(wxCommandEvent&)
void OnAddItem(wxCommandEvent& event);
^
/home/user/Pulpit/rme-master/source/container_properties_window.h:33:8: note: no known conversion for argument 1 from ‘wxCommandEvent’ to ‘wxCommandEvent&’
/home/user/Pulpit/rme-master/source/container_properties_window.cpp: In member function ‘void ContainerItemPopupMenu::Update(ContainerItemButton*)’:
/home/user/Pulpit/rme-master/source/container_properties_window.cpp:230:76: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(parentContainer->getVolume() <= (int)parentContainer->getVector().size())
^
make[2]: *** [CMakeFiles/rme.dir/source/container_properties_window.cpp.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [CMakeFiles/rme.dir/all] Błąd 2
make: *** [all] Błąd 2
user@home:~/Pulpit/rme-master/build$