![]() |
compile SDL 2.0.3 on windows | ![]() |
![]() |
Hello | ![]() |
ANTA
![]() |
![]() |
maybe just link all windows into your lib ?
|
||||||||||
|
![]() |
Re:Hello | ![]() |
sonic
![]() |
![]() |
What do you mean exactly?
I actually found this in CMakeList.txt, line 879-880:
and cmake also gives this output:
so this should be linked in SDL. but why do I need additional dependencies then? |
||||||||||||||
|
![]() |
![]() |
ANTA
![]() |
![]() |
you need it if you non't use SDL.dll
|
||||||||||
|
![]() |
![]() |
sonic
![]() |
![]() |
mhm...maybe you can be a bit more precise?
I tried to link my hello-sdl program to different versions of the library: 1.) compiled by source via cmake/nmake: dependencies needed. 2.) compiled by source via cmake/VS2013 solution files: dependencies needed. 3.) compiled by source via given VS2013 solution files: no dependencies needed. 4.) precompiled libraries: no dependencies needed. So it must have something to do with the CMAKE compilation/linking process and not with my way how to link. I simply want to understand in which way the precompiled binaries or the given solution files differ from the cmake-builds. |
||||||||||
|
![]() |
![]() |
ANTA
![]() |
![]() |
<ConfigurationType>StaticLibrary</ConfigurationType>
<ConfigurationType>DynamicLibrary</ConfigurationType> you always need this deps or in SDL.dll or in your APP |
||||||||||
|