You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup oxygine on CLion, i downloaded framework from oxygine.org
I used this manual https://github.com/oxygine/oxygine-framework/blob/master/readme/CMake%2BMinGW.txt
but after build there were only libSDL2.dll and libSDL2.dll.a, no libSDL2.a and libSDL2main.a
I continued and when i pressed "Run" build failed with this:
[ 96%] Built target oxygine-framework
[ 97%] Linking CXX executable Demo.exe
C:/Users/Dima/Documents/oxygine/oxygine-framework/libs/SDL2main.lib(Win32/Release/SDL_windows_main.obj):(.text$mn+0x0): multiple definition of `main'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingw32.a(main.o):(.text.startup+0x0): first defined here
oxygine-framework/liboxygine-framework.a(DebugActor.cpp.obj): In function `ZN7oxygine10DebugActor6renderERKNS_11RenderStateE':
C:/Users/Dima/Documents/oxygine/oxygine-framework/oxygine/src/oxygine/actor/DebugActor.cpp:349: undefined reference to `GetProcessMemoryInfo@12'
collect2.exe: error: ld returned 1 exit status
CMakeFiles\Demo.dir\build.make:178: recipe for target 'Demo.exe' failed
mingw32-make.exe[3]: *** [Demo.exe] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/Demo.dir/all' failed
mingw32-make.exe[2]: *** [CMakeFiles/Demo.dir/all] Error 2
CMakeFiles\Makefile2:78: recipe for target 'CMakeFiles/Demo.dir/rule' failed
mingw32-make.exe[1]: *** [CMakeFiles/Demo.dir/rule] Error 2
Makefile:163: recipe for target 'Demo' failed
mingw32-make.exe: *** [Demo] Error 2
Is it a bug or just my mistake and what i should do?
The text was updated successfully, but these errors were encountered:
I am trying to setup oxygine on CLion, i downloaded framework from oxygine.org
I used this manual
https://github.com/oxygine/oxygine-framework/blob/master/readme/CMake%2BMinGW.txt
but after build there were only libSDL2.dll and libSDL2.dll.a, no libSDL2.a and libSDL2main.a
I continued and when i pressed "Run" build failed with this:
Is it a bug or just my mistake and what i should do?
The text was updated successfully, but these errors were encountered: