Spring link error - Page 2

Spring link error

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Spring link error

Post by koshi »

FLOZi wrote:Dunno how long that will be available for
It's already gone :P

I moved it here where I am less likely to accidentally remove it.
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Spring link error

Post by smoke_th »

I think NOW it will remove issue happens with this

Code: Select all

CMake Error at C:/Program Files/CMake 2.9/share/cmake-2.9/Modules/FindBoost.cmake:894 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.41.0

  Boost include path: C:/boost_1.41_mingw4.4_dwarf2/boost_install/include

  The following Boost libraries could not be found:

          boost_thread
          boost_regex
          boost_program_options
          boost_system
          boost_signals

  No Boost libraries were found.  You may need to set Boost_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:127 (FIND_PACKAGE)


Building Spring for 32bit environment
Found OpenAL: C:/Program Files/OpenAL 1.1 SDK/libs/Win32/OpenAL32.lib
Found win32 libraries: -limagehlp;-lws2_32;-lwinmm
Found AI Wrapper: Cpp-AIWrapper
Found AI Wrapper: CUtils (sources only wrapper)
Found AI Wrapper: LegacyCpp-AIWrapper
Found AI Wrapper: LegacyCpp-Creg-AIWrapper
Found AI Interface: C-AIInterface 0.1
warning: Java AI Interface will not be built!
Found Skirmish AI: AAI 0.9
Found Skirmish AI: CppTestAI 0.1
Found Skirmish AI: KAIK 0.13
warning: NullAI Skirmish AI will not be built!
warning: NullJavaAI Skirmish AI will not be built!
warning: NullOOJavaAI Skirmish AI will not be built!
Found Skirmish AI: RAI 0.601
CMake Error at C:/Program Files/CMake 2.9/share/cmake-2.9/Modules/FindBoost.cmake:894 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.41.0

  Boost include path: C:/boost_1.41_mingw4.4_dwarf2/boost_install/include

  The following Boost libraries could not be found:

          boost_filesystem

  No Boost libraries were found.  You may need to set Boost_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  tools/ArchiveMover/CMakeLists.txt:4 (FIND_PACKAGE)


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_FILESYSTEM_LIBRARY (ADVANCED)
    linked by target "ArchiveMover" in directory C:/spring/tools/ArchiveMover
Boost_PROGRAM_OPTIONS_LIBRARY (ADVANCED)
    linked by target "spring" in directory C:/spring/rts
    linked by target "spring-hl" in directory C:/spring/rts/builds/HL
    linked by target "spring-gml" in directory C:/spring/rts/builds/GML
    linked by target "demotool" in directory C:/spring/tools/DemoTool
Boost_REGEX_LIBRARY (ADVANCED)
    linked by target "spring" in directory C:/spring/rts
    linked by target "spring-hl" in directory C:/spring/rts/builds/HL
    linked by target "spring-gml" in directory C:/spring/rts/builds/GML
    linked by target "springserver" in directory C:/spring/tools/DedicatedServer
    linked by target "unitsync" in directory C:/spring/tools/unitsync
Boost_SIGNALS_LIBRARY (ADVANCED)
    linked by target "spring" in directory C:/spring/rts
    linked by target "spring-hl" in directory C:/spring/rts/builds/HL
    linked by target "spring-gml" in directory C:/spring/rts/builds/GML
Boost_SYSTEM_LIBRARY (ADVANCED)
    linked by target "spring" in directory C:/spring/rts
    linked by target "lobby" in directory C:/spring/rts/lib/lobby
    linked by target "spring-hl" in directory C:/spring/rts/builds/HL
    linked by target "spring-gml" in directory C:/spring/rts/builds/GML
    linked by target "springserver" in directory C:/spring/tools/DedicatedServer
    linked by target "ArchiveMover" in directory C:/spring/tools/ArchiveMover
    linked by target "unitsync" in directory C:/spring/tools/unitsync
Boost_THREAD_LIBRARY (ADVANCED)
    linked by target "spring" in directory C:/spring/rts
    linked by target "lobby" in directory C:/spring/rts/lib/lobby
    linked by target "spring-hl" in directory C:/spring/rts/builds/HL
    linked by target "spring-gml" in directory C:/spring/rts/builds/GML
    linked by target "springserver" in directory C:/spring/tools/DedicatedServer
    linked by target "unitsync" in directory C:/spring/tools/unitsync

Configuring incomplete, errors occurred!
UPG:
Nah =\ still getting this error. Always getting error about this missing libraries.
now i'm really stucked with compiling..

UPG2:
Here is my cmakecache file
http://rapidshare.com/files/397750226/C ... e.txt.html

If i will be useful. My config
Mingw, Windows xp, Intel Core Duo 2,4 ghz. (x86).
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Spring link error

Post by FLOZi »

I think you may have to rename the .a libraries from e.g:

libboost_filesystem-gcc44-mt-141.a
(Can't remember if that is exactly correct)

to

libboost_filesystem-mt.a

If not perhaps setting BOOST_ROOT or Boost_LIBRARYDIR is sufficient as the error suggests.

It's much easier if you use a mingwlibs directory under your spring development directory (I notice you have independant OpenAL and Boost installs), using the mingwlibs package on git:

http://github.com/spring/mingwlibs/tree ... ingw_4.4.2

But replacing the boost includes and libs with those from koshi's.
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Spring link error

Post by smoke_th »

:shock: you wanna say that actually spring will eat .a unix output libraries? cool :!:
UPG:
One moar question. Say, why VC++ builds would not sync with mingw32 builds?
UPG2:
Sorry for noobish post addition but

Code: Select all

Scanning dependencies of target gamedata
ðØðÁð┐ÐÇðÁð┤ð▓ð©ð┤ðÁð¢ð¢ð¥ðÁ ð┐ð¥ÐÅð▓ð╗ðÁð¢ð©ðÁ: Files/Universal.
mingw32-make[2]: *** [CMakeFiles/gamedata] Error 255
mingw32-make[1]: *** [CMakeFiles/gamedata.dir/all] Error 2
mingw32-make: *** [all] Error 2
ðØðÁð┐ÐÇðÁð┤ð▓ð©ð┤ðÁð¢ð¢ð¥ðÁ ð┐ð¥ÐÅð▓ð╗ðÁð¢ð©ðÁ - Unforeseen appearance (or something like this)
UPG3:
Never mind) Scons now building it w/o any stupid Errors.

UPG4: additional

"If you plan to edit the spring SCons build-system,
please read these a hundred times first:
"Let it be, let it be!"
"I'm going craaaaaaaazy! You just can't see!"
My mental health is important.
I do not want to do it.
It is always nice to have a walk outside."

Lol :lol:
UPG5: Critical

http://pastebin.com/DCRmRVWW

How there was sad? "I'm going craaaaaaaazy! You just can't see!"

(I used spring contribution from git)
Last edited by smoke_th on 12 Jun 2010, 09:41, edited 1 time in total.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring link error

Post by hoijui »

do not use SCons, go back to CMake.
that "unforseen" error you get there..
no idea, but would a clean and rebuild maybe work?
if not, please give complete instructions for how you are building (eg, all cmake variables).

i though .a is the default extension for static libraries under windows too. at least it is for .dll.a files.
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Spring link error

Post by smoke_th »

Ok. So.
Here is CmakeCache file with instructions.

http://pastebin.com/dj8m3Q65

After this just tried to run mingw32-make and get this errors...
UPG1: Now tried mingw32-make -i
Now Its building ignoring this error

Kinda building but something outputs make me shitbrix

Code: Select all

[ 12%] Generating icon.o
Ôò¿ð¿ÔòñðæÔò¿ÔöÉÔò¿ÔòøÔò¿ÔòùÔòñð£Ôò¿ÔòûÔòñðôÔò¿ÔòíÔòñðÆÔòñðæÔòñðƒ `C:\MinGW\bin\gcc -E -xc -DRC_INVOKED -IC:/spring/rts C
:/spring/rts/icon.rc'
Ôò¿ð¿ÔòñðæÔò¿ÔöÉÔò¿ÔòøÔò¿ÔòùÔòñð£Ôò¿ÔòûÔòñðôÔò¿ÔòíÔòñðÆÔòñðæÔòñðƒ popen Ôò¿ÔöñÔò¿ÔòùÔòñðƒ ÔòñðùÔòñðÆÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔòñðƒ Ôò¿ÔûôÔòñðøÔòñðòÔò¿ÔòøÔò¿ÔöñÔò¿Ôò£ÔòñðøÔòñðò Ôò¿ÔöñÔò¿ÔûæÔò¿Ôò£Ôò¿Ôò£ÔòñðøÔòñðò
 Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöÉÔòñðÉÔò¿ÔòøÔòñðûÔò¿ÔòíÔòñðæÔòñðæÔò¿ÔòøÔòñðÉÔò¿Ôûæ
UPG2:
Hmpf. After trying tdm mingw now i'm trying official mingw build. still recived that error about

Code: Select all

C:\spring>Mingw32-make -i
ðØðÁð┐ÐÇðÁð┤ð▓ð©ð┤ðÁð¢ð¢ð¥ðÁ ð┐ð¥ÐÅð▓ð╗ðÁð¢ð©ðÁ: Files/Universal.
[  0%] Built target gamedata
Scanning dependencies of target streflop
Now 12% - all build warning will be in this message
UPG3:
27% - going well.
UPG3.1:
50% - still no any troubles or errors. Smooth lazy compiling
UPG3.2
Two warnings but still i think they are not so catostrophic

Code: Select all

[ 68%] Building CXX object rts/CMakeFiles/spring.dir/ExternalAI/SSkirmishAICallbackImpl.cpp.obj
Linking CXX executable ..\spring.exe
Creating library file: libspring.dll.a
[ 68%] Built target spring
[ 68%]   Generating C++ AI Wrapper Callback source files
warning: function intentionally NOT wrapped: Clb_File_getSize
warning: function intentionally NOT wrapped: Clb_File_getContent
Scanning dependencies of target Cpp-AIWrapper
Upg4:
Compiled Well. Now trying make install
Upg5:
Installed. But now spring lobby shitting me with something like
"Unable to detect your version from unitsync. Game with others will be unable"


And now it's just crashed....... =\ perfect. Just perfect.

Image

Here is crash log.
http://pastebin.com/widVxNwh

I forgot to tell that i replaced all libraries in root of spring with dwarf2 ones
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring link error

Post by hoijui »

please compile with -DCMAKE_BUILD_TARGET=DEBUG2, and then run spring in mingw-gdb. then we should get useful info when it crashes.
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Spring link error

Post by smoke_th »

8) Ok. But instead this option i just set build type debug 2 in cmake. So its building.
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Spring link error

Post by smoke_th »

Also what is mingw-gdb?
UPG:
Now i know it. So gdb saz

Code: Select all

(gdb) start
Temporary breakpoint 2 at 0x869180
Starting program: C:\Program Files\Spring/spring.exe
[New Thread 4696.0x1b78]
[New Thread 4696.0x38b8]

Temporary breakpoint 2, 0x00869180 in main ()
(gdb) continue
Continuing.
[New Thread 4696.0x2e4]
[New Thread 4696.0x3260]
[New Thread 4696.0x344c]
[New Thread 4696.0x3940]
[New Thread 4696.0x1430]
[New Thread 4696.0x2f58]
[New Thread 4696.0x16a0]
[New Thread 4696.0x163c]
Error while reading shared library symbols:
C:\Program Files\Spring\soft_oal.dll: error reading symbols
Error while reading shared library symbols:
C:\Program Files\Spring\soft_oal.dll: error reading symbols
Error while reading shared library symbols:
C:\Program Files\Spring\soft_oal.dll: error reading symbols
[New Thread 4696.0x1d14]
[New Thread 4696.0x2d54]
[New Thread 4696.0x317c]
[New Thread 4696.0x3f68]
[New Thread 4696.0x1564]
[New Thread 4696.0x2190]
[New Thread 4696.0x299c]
[New Thread 4696.0x3be4]
[New Thread 4696.0x1d0]

Program received signal SIGSEGV, Segmentation fault.
0x00801134 in CrashHandler::Win32::SigAbrtHandler (signal=22)
    at C:\spring\rts\System\Platform\Win\CrashHandler.cpp:41
41              *((int*)(0)) = 0;
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00801134 in CrashHandler::Win32::SigAbrtHandler (signal=22)
    at C:\spring\rts\System\Platform\Win\CrashHandler.cpp:41
41              *((int*)(0)) = 0;
(gdb) continue
Continuing.

Program exited with code 030000000005.
(gdb)
UPG2:
Just recived it fails directly when says - writing data path file...
One second time writin' it after some cost offset

Eeh...guys you even tried organize your bugs? I found this stuff in fresh CrashHandler file from git

Code: Select all

void SigAbrtHandler(int signal)
{
	// cause an exception if on windows
	// TODO FIXME do a proper stacktrace dump here
	*((int*)(0)) = 0;
}
But it is not so important i made stacktrace and get this:

Code: Select all

(gdb) bt
#0  0x00801134 in CrashHandler::Win32::SigAbrtHandler (signal=22)
    at C:\spring\rts\System\Platform\Win\CrashHandler.cpp:41
#1  0x77c252da in raise () from C:\WINDOWS\system32\msvcrt.dll
warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

#2  0x00000016 in ?? (warning: (Internal error: pc 0x15 in read in psymtab, bu
not in symtab.)

)
warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#3  0x77c26bc1 in msvcrt!abort () from C:\WINDOWS\system32\msvcrt.dll
warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

#4  0x00000016 in ?? (warning: (Internal error: pc 0x15 in read in psymtab, bu
not in symtab.)

)
warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#5  0x008a5b2c in _Unwind_RaiseException (exc=0xd57b858)
    at ../../../gcc-4.4.0/libgcc/../gcc/unwind.inc:88
#6  0x00b541d2 in __cxa_throw (obj=0xd57b878, tinfo=0xc1cd00,
    dest=0x8c75f8 <~content_error>)
    at ../../../../gcc-4.4.0/libstdc++-v3/libsupc++/eh_throw.cc:78
#7  0x006793d1 in _fu843____GLEW_ARB_fragment_program (target=34820,
    filename=0xbf1bfc "ARB/units3o.fp", program_type=0xbf583c "fragment")
    at C:\spring\rts\Rendering\GL\myGL.cpp:484
#8  0x0067904a in ProgramStringIsNative (target=34820,
    filename=0xbf1bfc "ARB/units3o.fp")
    at C:\spring\rts\Rendering\GL\myGL.cpp:420
#9  0x00617e0a in _fu722____GLEW_ARB_texture_env_combine (this=0xd7c0920)
    at C:\spring\rts\Rendering\ShadowHandler.cpp:74
#10 0x0040e427 in CGame::LoadRendering (this=0x9db5008)
    at C:\spring\rts\Game\Game.cpp:522
#11 0x0040c11f in CGame (this=0x9db5008, mapname=..., modName=...,
    saveFile=0x0) at C:\spring\rts\Game\Game.cpp:321
#12 0x0044da51 in CPreGame::UpdateClientNet (this=0x9c5df60)
    at C:\spring\rts\Game\PreGame.cpp:243
#13 0x0044d13a in CPreGame::Update (this=0x9c5df60)
    at C:\spring\rts\Game\PreGame.cpp:156
#14 0x007f9432 in SpringApp::Update (this=0x22fe7c)
    at C:\spring\rts\System\SpringApp.cpp:872
#15 0x007f97d9 in SpringApp::Run (this=0x22fe7c, argc=1, argv=0x7e22de0)
    at C:\spring\rts\System\SpringApp.cpp:1020
#16 0x007ec78c in Run (argc=1, argv=0x7e22de0)
    at C:\spring\rts\System\Main.cpp:110
#17 0x007ec7f8 in WinMain@16 (hInstanceIn=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x251f05 "", nCmdShow=10) at C:\spring\rts\System\Main.cpp:134
#18 0x00869246 in main ()
(gdb)
As i can understand something fucking up just before call in GLEW library. I will try fetch it from original site.
UPG3:
Nah....not works. Same trouble.
UPG4:
Forgot it - second BT after first continue before exit program

Code: Select all

(gdb) bt
#0  0x00801134 in CrashHandler::Win32::SigAbrtHandler (signal=22)
    at C:\spring\rts\System\Platform\Win\CrashHandler.cpp:41
#1  0x77c252da in raise () from C:\WINDOWS\system32\msvcrt.dll
warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

#2  0x00000016 in ?? (warning: (Internal error: pc 0x15 in read in psymtab, but
not in symtab.)

)
warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#3  0x77c26bc1 in msvcrt!abort () from C:\WINDOWS\system32\msvcrt.dll
warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

#4  0x00000016 in ?? (warning: (Internal error: pc 0x15 in read in psymtab, but
not in symtab.)

)
warning: (Internal error: pc 0x15 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#5  0x008a5b2c in _Unwind_RaiseException (exc=0xcf3b620)
    at ../../../gcc-4.4.0/libgcc/../gcc/unwind.inc:88
#6  0x00b541d2 in __cxa_throw (obj=0xcf3b640, tinfo=0xc1cd00,
    dest=0x8c75f8 <~content_error>)
    at ../../../../gcc-4.4.0/libstdc++-v3/libsupc++/eh_throw.cc:78
#7  0x006793d1 in _fu843____GLEW_ARB_fragment_program (target=34820,
    filename=0xbf1bfc "ARB/units3o.fp", program_type=0xbf583c "fragment")
    at C:\spring\rts\Rendering\GL\myGL.cpp:484
#8  0x0067904a in ProgramStringIsNative (target=34820,
    filename=0xbf1bfc "ARB/units3o.fp")
    at C:\spring\rts\Rendering\GL\myGL.cpp:420
#9  0x00617e0a in _fu722____GLEW_ARB_texture_env_combine (this=0xcf3af70)
    at C:\spring\rts\Rendering\ShadowHandler.cpp:74
#10 0x0040e427 in CGame::LoadRendering (this=0x9da6e10)
    at C:\spring\rts\Game\Game.cpp:522
#11 0x0040c11f in CGame (this=0x9da6e10, mapname=..., modName=...,
    saveFile=0x0) at C:\spring\rts\Game\Game.cpp:321
#12 0x0044da51 in CPreGame::UpdateClientNet (this=0x9c3d138)
    at C:\spring\rts\Game\PreGame.cpp:243
#13 0x0044d13a in CPreGame::Update (this=0x9c3d138)
    at C:\spring\rts\Game\PreGame.cpp:156
#14 0x007f9432 in SpringApp::Update (this=0x22fe7c)
    at C:\spring\rts\System\SpringApp.cpp:872
#15 0x007f97d9 in SpringApp::Run (this=0x22fe7c, argc=1, argv=0x7e22de0)
    at C:\spring\rts\System\SpringApp.cpp:1020
#16 0x007ec78c in Run (argc=1, argv=0x7e22de0)
    at C:\spring\rts\System\Main.cpp:110
#17 0x007ec7f8 in WinMain@16 (hInstanceIn=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x251f05 "", nCmdShow=10) at C:\spring\rts\System\Main.cpp:134
#18 0x00869246 in main ()
(gdb)

UPG3:

Guys? Any progress?
Last edited by smoke_th on 13 Jun 2010, 08:58, edited 1 time in total.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring link error

Post by hoijui »

when it crashes, you should do a bt right away, no continue.
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Spring link error

Post by smoke_th »

I doh it - first BT listing is right away after crash. Second- after crash and continue.
UPG1:
http://pastebin.com/XvMC9QCL
Here is full listing

Just closely saw this mess.... :oops: i think problem in my compiler now.
This is strange....

I will try compile it with 4.5 ones

UPG:
"MinGW Runtime - mingwrt (dev & dll. version 3.17 recomended, 3.18+ will cause a "multiple definition of _tls_used" linker error)"
*facepalm*

UPG2: Ohlololololol
I found what means Files/Universal

Code: Select all

CMakeFiles/gamedata:
	cd C:\spring\cont\base && call make_gamedata_arch.bat C:\spring\base "C:/Program Files/Universal Extractor/bin/7z.exe"
Strange...mabye he need ' not "
UPG3:
Making recompiling with older 3.17 mingwrt

now recived another shitbrix message

Code: Select all

[  0%] Building CXX object rts/lib/lobby/CMakeFiles/lobby.dir/Connection.cpp.obj

In file included from C:\spring\mingwlibs\include/boost/asio/ip/address.hpp:28,
                 from C:\spring\mingwlibs\include/boost/asio/ip/basic_endpoint.h
pp:31,
                 from C:\spring\mingwlibs\include/boost/asio/ip/tcp.hpp:23,
                 from C:\spring\rts\lib\lobby\/Connection.h:7,
                 from C:\spring\rts\lib\lobby\Connection.cpp:7:
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp: In constructor 'boost:
:asio::ip::address_v6::address_v6()':
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:58: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔòóÔò¿
ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿ÔòòÔò¿
Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'in6_addr::<anonymous union>'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:58: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔòóÔò¿
ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿ÔòòÔò¿
Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'u_char [16]'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp: In static member funct
ion 'static boost::asio::ip::address_v6 boost::asio::ip::address_v6::loopback()'
:
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:355: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿Ôòó
Ôò¿ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿Ôòò
Ôò¿Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'in6_addr::<anonymous union>'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:355: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿Ôòó
Ôò¿ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿Ôòò
Ôò¿Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'u_char [16]'
Linking CXX static library liblobby.a
And another one

Code: Select all

In file included from C:\spring\mingwlibs\include/boost/asio/ip/address.hpp:28,
                 from C:\spring\mingwlibs\include/boost/asio/ip/basic_endpoint.h
pp:31,
                 from C:\spring\mingwlibs\include/boost/asio/ip/udp.hpp:21,
                 from C:\spring\rts\System/Net/UDPListener.h:9,
                 from C:\spring\rts\Game\GameServer.cpp:9:
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp: In constructor 'boost:
:asio::ip::address_v6::address_v6()':
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:58: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔòóÔò¿
ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿ÔòòÔò¿
Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'in6_addr::<anonymous union>'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:58: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔòóÔò¿
ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿ÔòòÔò¿
Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'u_char [16]'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp: In static member funct
ion 'static boost::asio::ip::address_v6 boost::asio::ip::address_v6::loopback()'
:
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:355: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿Ôòó
Ôò¿ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿Ôòò
Ôò¿Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'in6_addr::<anonymous union>'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:355: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿Ôòó
Ôò¿ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿Ôòò
Ôò¿Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'u_char [16]'
[ 14%] Building CXX object rts/CMakeFiles/spring.dir/Game/GameSetup.cpp.obj
[ 14%] Building CXX object rts/CMakeFiles/spring.dir/Game/GameVersion.cpp.obj
[ 14%] Building CXX object rts/CMakeFiles/spring.dir/Game/IVideoCapturing.cpp.ob
j
[ 14%] Building CXX object rts/CMakeFiles/spring.dir/Game/Messages.cpp.obj
[ 14%] Building CXX object rts/CMakeFiles/spring.dir/Game/OSCStatsSender.cpp.obj

In file included from C:\spring\mingwlibs\include/boost/asio/ip/address.hpp:28,
                 from C:\spring\mingwlibs\include/boost/asio.hpp:46,
                 from C:\spring\rts\Game\OSCStatsSender.cpp:9:
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp: In constructor 'boost:
:asio::ip::address_v6::address_v6()':
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:58: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔòóÔò¿
ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿ÔòòÔò¿
Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'in6_addr::<anonymous union>'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:58: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔòóÔò¿
ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿ÔòòÔò¿
Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'u_char [16]'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp: In static member funct
ion 'static boost::asio::ip::address_v6 boost::asio::ip::address_v6::loopback()'
:
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:355: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿Ôòó
Ôò¿ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿Ôòò
Ôò¿Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'in6_addr::<anonymous union>'
C:\spring\mingwlibs\include/boost/asio/ip/address_v6.hpp:355: Ôò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿ÔöñÔòñðôÔò¿ÔöÉÔòñðÉÔò¿ÔòíÔò¿Ôòó
Ôò¿ÔöñÔò¿ÔòíÔò¿Ôò£Ôò¿ÔòòÔò¿Ôòí: Ôò¿ÔòøÔòñðÆÔòñðæÔòñðôÔòñðÆÔòñðæÔòñðÆÔò¿ÔûôÔòñðôÔòñð×ÔòñðÆ ÔòñðöÔò¿ÔòòÔò¿ÔöéÔòñðôÔòñðÉÔò¿Ôò£ÔòñðøÔò¿Ôòí ÔòñðæÔò¿ÔòæÔò¿ÔòøÔò¿ÔûÆÔò¿ÔòæÔò¿Ôòò Ôò¿ÔûôÔò¿ÔòøÔò¿ÔòæÔòñðÉÔòñðôÔò¿Ôöé Ôò¿Ôòò
Ôò¿Ôò£Ôò¿ÔòòÔòñðûÔò¿ÔòòÔò¿ÔûæÔò¿ÔòùÔò¿ÔòòÔò¿ÔòûÔò¿ÔûæÔòñðÆÔò¿ÔòøÔòñðÉÔò¿Ôûæ 'u_char [16]'
As i can understand asio library that all about netplay fails in ashes. But its not error because now compiling going on without -i flag

Oh lol. Its in russian with failed coding
It saz something - where is {} around 'u_char [16]' ?

There is other dirt coding spots like
C:\spring\rts\Lua\LuaUnitRendering.cpp:568: ð┐ÐÇðÁð┤Ðâð┐ÐÇðÁðÂð┤ðÁð¢ð©ðÁ: ð¢ðÁð©
Ðüð┐ð¥ð╗ÐîðÀÐâðÁð╝ð░ÐÅ ð┐ðÁÐÇðÁð╝ðÁð¢ð¢ð░ÐÅ 'matRef'
Means - warning - unused varaible 'matRef'

So it's compiling. All warnings just about {} in boost libraries....and some unused variables. Guys, maybe comment em when committing changes to git?)

Forgot to tell ya - still 4.4 - i think now all trouble in mingwrt
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Spring link error

Post by smoke_th »

Recompiled. Tried. Same schit.

http://pastebin.com/8TNvkrmj
:|
But now in main window other text
Reading path costs...
UPG1:
Now i will try build it up with gcc 4.5 and old mingwrt
UPG2:

Code: Select all

[ 21%] Building CXX object rts/CMakeFiles/spring.dir/Game/Game.cpp.obj
In file included from C:\spring\mingwlibs\include/boost/thread/win32/thread_data
.hpp:11:0,
                 from C:\spring\mingwlibs\include/boost/thread/thread.hpp:15,
                 from C:\spring\rts\Game\Game.cpp:12:
C:\spring\mingwlibs\include/boost/thread/win32/thread_primitives.hpp:122:73: Warning: declaration of 'void boost::detail::win32::Sleep(long unsigned int)
' with C language linkage
C:\spring\mingwlibs\include/boost/smart_ptr/detail/yield_k.hpp:58:29: Warning: conflicts with previous declaration 'void boost::detail::Sleep(unsigned in
t)'
LeroyLinux
Posts: 8
Joined: 21 May 2010, 02:12

Re: Spring link error

Post by LeroyLinux »

Now, I'm getting

Code: Select all

mingw32-make[2]: *** No rule to make target `C:/msys/1.0/home/Jason/spring/mingwlibs/dll/soft_oal.dll', needed by `spring.exe'.  Stop.
I followed the instructions exactly, and after a month, I still can't get it to build.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring link error

Post by hoijui »

i guess you use a later version of mingwlibs, where soft_oal.dll was renamed to OpenAL.dll, cause otherwise it failed at runtime. you have to delete cmake cache (CMakeCache.txt) and configure and compile again.
Post Reply

Return to “Engine”