• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem z kompilacją RME

whiteblXK

Active Member
Joined
Apr 20, 2011
Messages
315
Solutions
9
Reaction score
32
Location
Poland
Witam, mam ubuntu 14.04 i postanowiłem pomapować troche do mojego otsa i mam problem z rme. Próbowałem odpalić 2.1 z tej strony ale nie odpala się, wywala mi błąd że plik nie jest wykonywalny ale mniejsza o to, chciałem skompilować sobie najnowszego rme z githuba ale podczas kompilacji wywala jakieś błędy, te z brakiem bibliotek jakoś rozwiązałem, pozostało tylko to i nie wiem co zrobić, link.


@edit Był bym bardzo wdzięczny jakby ktoś to skompilował pod linuxa.
 
Last edited:
No sęk w tym że mnie stać ale nie stać mnie na nowy sprzęt do kompa bo na tym co teraz mam nie odpalę visty/7/8
 
Przeinstalowałem wxwidgets 3.0 za pomocą tego i mam kilka błędów, oto log.
Code:
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$
 
Przeinstalowałem wxWidgets i boost, teraz kompilacja siada przy 15%. Macie jakieś pomysły?
Code:
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.54.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/application.cpp.o
Building CXX object CMakeFiles/rme.dir/source/about_window.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
[ 14%] Building CXX object CMakeFiles/rme.dir/source/copybuffer.cpp.o
[ 15%] Building CXX object CMakeFiles/rme.dir/source/creature_brush.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$
 
Back
Top