Ticky_le_troll | Feb 11, 2015 10:24 am |
---|---|
Subject: MaxR + Sdl2 = ? Hi Leuten, Gibt es einen Version from Max mit SDL2 Unterstützung ? und warum nicht ? Liebe Grüße, Ticky |
alzi | Feb 11, 2015 3:21 pm |
---|---|
Subject: Re: MaxR + Sdl2 = ? Die aktuelle Entwicklerversion im GIT-Repository ist bereits auf SDL2 portiert. Außerdem wurden hier einige interne Refactoring-Arbeiten durchgeführt und ein paar neue Features implementiert. Wenn Du die Version ausprobieren möchtest, kannst Du entweder unsere nightly builds her nehmen (https://www.maxr.org/docs.php?id=41) oder direkt selbst aus dem GIT-Repository bauen (https://git.maxr.org/maxr/maxr). |
Ticky_le_troll | Feb 13, 2015 1:47 pm |
---|---|
Subject: Re: MaxR + Sdl2 = ? Hi, For your information I'm on Linux, ubuntu 14.04 and have all library installed. I download the working GIT-Repository (https://git.maxr.org/maxr/maxr 13-02-2.15:12:00) I use cmake in src/ with cmake .. and cmake write the Makefile The compilation begin. first error: /MaxR/src/ui/graphical/framecounter.cpp:21:39: fatal error: ui\graphical\framecounter.h: Aucun fichier ou dossier de ce type #include "ui\graphical\framecounter.h" i write in src/ui/graphical/framecounter.cpp #include "ui/graphical/framecounter.h" and the compilation go on. next error (and fatal for me) MaxR/src/settings.cpp: In member function ‘std::string cSettings::searchDataDir(const string&)’: MaxR/src/settings.cpp:300:3: error: ‘BUILD_DATADIR’ was not declared in this scope BUILD_DATADIR, ^ I can test your new version if you are interested, it does not bother me. |
alzi | Feb 13, 2015 3:31 pm |
---|---|
Subject: Re: MaxR + Sdl2 = ? Thanks for the tests! I do not have a linux machine by hand at the moment so I can not test it by myself but I fixed the path delimiters and added a workaround for the second bug to the GIT repository. If there are any other problems, let me know! |
Ticky_le_troll | Feb 13, 2015 7:33 pm |
---|---|
Subject: Re: MaxR + Sdl2 = ? Ok I follow : The compilation go on. make say : Linking CXX executable maxr and next error: CMakeFiles/maxr.dir/main.cpp.o: in function « main »: main.cpp:(.text+0x113): multiples defines of « main » CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:CMakeCXXCompilerId.cpp:(.text+0x0): define first time here CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c.o:(.data+0x0): multiples defines of « info_compiler » CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data+0x0): define first time here CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c.o:(.data+0x8): multiples defines of « info_platform » CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data+0x8):define first time here CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c.o:(.data+0x10): multiples defines of « info_arch » CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:(.data+0x10): define first time here CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c.o: in function « main »: CMakeCCompilerId.c:(.text+0x0): multiples defines of « main » CMakeFiles/maxr.dir/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o:CMakeCXXCompilerId.cpp:(.text+0x0): define first time here |
alzi | Feb 14, 2015 11:41 am |
---|---|
Subject: Re: MaxR + Sdl2 = ? from which directory do you call cmake? I suggest you to create a separate build directory from which you run cmake. What I always do is calling the following from the main maxr directory: mkdir build cd build cmake .. make You may need to call "make clean" or better start with an entirley fresh checkout of the GIT repository for it to work. |