El dijous, 20 d’agost de 2020, a les 23:53:27 CEST, Francois Blanchette va escriure: > You are correct. :) References to SDL in the CMakeLists.txt should SDL2. > I pushed another patch to develop branch.
I've needed this to make it link for me. http://paste.debian.net/1160708/ Cheers, Albert > > On 8/20/20, Albert Astals Cid <aa...@kde.org> wrote: > > El dijous, 20 d’agost de 2020, a les 16:40:44 CEST, Francois Blanchette va > > escriure: > >> Fixed. I pushed a patch to the develop branch to remove this dependency. > > > > Almost works now. > > > > It compiles but I'm getting linking errors > > > > /usr/bin/ld: > > CMakeFiles/lgck-builder.dir/home/tsdgeos/lgck-src/src/shared/implementers/sdl/gr_sdl.cpp.o: > > in function `CGRSdl::clear(unsigned int, unsigned int, unsigned int) [clone > > .localalias]': > > gr_sdl.cpp:(.text+0x59): undefined reference to `SDL_SetRenderDrawColor' > > > > SDL_SetRenderDrawColor seems to be from SDL2 but you're only doing cmake > > stuff regarding SDL1? > > > > Cheers, > > Albert > > > >> > >> > >> On 8/20/20, Albert Astals Cid <aa...@kde.org> wrote: > >> > El diumenge, 16 d’agost de 2020, a les 0:01:11 CEST, Francois Blanchette > >> > va > >> > escriure: > >> >> Great observation. I just updated the CmakeLists.txt. I don’t know how > >> >> compliant it is right now but at least it compiles and links. > >> >> https://github.com/cfrankb/lgck-src/blob/develop/src/lgck-builder/CMakeLists.txt > >> > > >> > Fails to build here > >> > > >> > /home/tsdgeos/lgck-src/src/lgck-builder/main.cpp:28:10: fatal error: > >> > ss_build.h: File or directory does not exist > >> > 28 | #include "ss_build.h" > >> > | ^~~~~~~~~~~~ > >> > > >> > Cheers, > >> > Albert > >> > > >> > > >> > > >> > > > > > > > > > > >