• 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!

error compile in Windows.

Dunos

New Member
Joined
Oct 28, 2012
Messages
22
Reaction score
0
Code:
[100%] 
Building CXX object CMakeFiles/otclient.dir/src/main.cpp.obj
C:\MinGW\bin\g++.exe   -DBOOST_THREAD_USE_LIB -DBOT_PROTECTION -DCRASH_HANDLER -DFW_GRAPHICS -DFW_NET -DFW_SOUND -DFW_XML -DOTCLIENT -D_WIN32_WINNT=0x0501 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result  -std=gnu++0x -pipe -mthreads -O1 -g -fno-omit-frame-pointer @CMakeFiles/otclient.dir/includes_CXX.rsp   -D"BUILD_TYPE=\"RelWithDebInfo\"" -D"BUILD_COMMIT=\"devel\"" -D"BUILD_REVISION=\"0\"" -D"VERSION=\"0.6.0\"" -o CMakeFiles\otclient.dir\src\main.cpp.obj -c C:\otclient\src\main.cpp
Linking CXX executable otclient.exe
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_link_script CMakeFiles\otclient.dir\link.txt --verbose=1
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E remove -f CMakeFiles\otclient.dir/objects.a
C:\MinGW\bin\ar.exe cr CMakeFiles\otclient.dir/objects.a @CMakeFiles\otclient.dir\objects1.rsp
C:\MinGW\bin\g++.exe   -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result  -std=gnu++0x -pipe -mthreads -O1 -g -fno-omit-frame-pointer  -static-libgcc -static-libstdc++ -Wl,--large-address-aware -mwindows -Wl,-Map=otclient.map   -Wl,--whole-archive CMakeFiles\otclient.dir/objects.a -Wl,--no-whole-archive  -o otclient.exe -Wl,--out-implib,libotclient.dll.a -Wl,--major-image-version,0,--minor-image-version,0  C:\MinGW\lib\libboost_locale-mt.a C:\MinGW\lib\libboost_system-mt.a C:\MinGW\lib\libboost_filesystem-mt.a C:\MinGW\lib\libboost_regex-mt.a C:\MinGW\lib\libboost_thread_win32-mt.a C:\MinGW\lib\libboost_chrono-mt.a C:\MinGW\lib\liblua51.a C:\MinGW\lib\libphysfs.a C:\MinGW\lib\libssl.a C:\MinGW\lib\libcrypto.a C:\MinGW\lib\libz.a -limagehlp C:\MinGW\lib\libglew32.a -lglu32 -lopengl32 C:\MinGW\lib\libOpenAL32.a C:\MinGW\lib\libvorbisfile.a C:\MinGW\lib\libvorbis.a C:\MinGW\lib\libogg.a -lwinmm -lws2_32 -lmswsock -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 
g++.exe: error: unrecognized command line option '-static-libstdc++'
mingw32-make.exe[2]: *** [otclient.exe] Error 1
mingw32-make.exe[2]: Leaving directory `C:/otclient'
mingw32-make.exe[1]: *** [CMakeFiles/otclient.dir/all] Error 2
mingw32-make.exe[1]: Leaving directory `C:/otclient'
mingw32-make.exe: *** [all] Error 2
Process terminated with status 2 (23 minutes, 40 seconds)
0 errors, 0 warnings (23 minutes, 40 seconds)



Code:
||=== otclient, all ===|
C:\otclient\src\framework\luafunctions.cpp||In member function 'void Application::registerLuaFunctions()':|
C:\otclient\src\framework\luafunctions.cpp|64|note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without|
C:\otclient\src\client\luafunctions.cpp||In member function 'void Client::registerLuaFunctions()':|
C:\otclient\src\client\luafunctions.cpp|53|note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without|
||=== Build finished: 0 errors, 0 warnings (23 minutes, 40 seconds) ===|
 
Back
Top