View topic - Compiling spring (mingw and visual studio 7/8)



All times are UTC + 1 hour


Post new topic Reply to topic  [ 582 posts ]  Go to page Previous  1 ... 23, 24, 25, 26, 27, 28, 29, 30  Next
Author Message
PostPosted: 24 Jun 2008, 23:34 
Damned Developer
User avatar

Joined: 01 Jun 2006, 12:15
Location: Banned user for reason “Do not post pictures of people fucking cars”
Auswaschbar wrote:
I had similar errors, I solved it with updating boost to 1.35.0 in mingwlibs. You can download them here:
http://spring.jobjol.nl/show_file.php?id=1102
http://rattle.from-hell.net/spring/mingwlibs_glew-1.5.0_boost-1.35.0.zip
Updated the libs for boost and glew (gcc 4.3.0)... just in case


Top
 Offline Profile  
 
PostPosted: 28 Jun 2008, 22:12 

Joined: 12 Jan 2008, 06:17
I think we really need some official version info about everything used in the auto build so everyone to build the same. I think the cool thing would be to provide dynamically generated autobuild info regarding version info.

Also I would like to see the following info added:

The build must occur under MSYS command prompt.

SCONS installation is buggy as hell so I would like to see a little extra info here.

Warning about getting two different gcc/g++ libs in path collision and/or remove Dev-cpp from the info.

Also,

Is there a reason the auto build is not using MinGW 5.1.4 latest?

It almost builds all the way with VC9. What will get rid of the #include <complex> issue?


Top
 Offline Profile  
 
PostPosted: 29 Jun 2008, 02:11 
Damned Developer
User avatar

Joined: 01 Jun 2006, 12:15
Location: Banned user for reason “Do not post pictures of people fucking cars”
Quote:
The build must occur under MSYS command prompt.
That's not true. I can build fine from the windows shell.


Top
 Offline Profile  
 
PostPosted: 29 Jun 2008, 05:29 

Joined: 12 Jan 2008, 06:17
Mine won't because it would clash with other libraries outside of MinGW.

So, maybe correct my statement it as, "may not build out side of the MSYS command shell if you have other unix tools installed."

Also, I can't seem to find 4.2.1 MinGW exe. I use the latest instead, but I would like to use what is used by the autobuild. It does not seem to be available anywhere.


Top
 Offline Profile  
 
PostPosted: 29 Jun 2008, 13:22 
Damned Developer
User avatar

Joined: 01 Jun 2006, 12:15
Location: Banned user for reason “Do not post pictures of people fucking cars”
Alright.

There is no mingw 4.2.1 but there is gcc 4.2.1 for mingw.
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=241304&release_id=532062

I've had to remove the -sjlj bit from the binaries btw.


Top
 Offline Profile  
 
PostPosted: 29 Jun 2008, 23:12 

Joined: 12 Jan 2008, 06:17
Well if auto build isn't using MinGW 4.2.1 what is it using?

Was hoijui wrong is saying autobuild was using MinGW 4.2.1?

viewtopic.php?f=15&t=12308&st=0&sk=t&sd=a&start=140

Well I guess that reinforces what I said about the info being public about library versions used by auto build.


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 01:15 
Lobby Developer

Joined: 06 Dec 2007, 11:12
tberthel wrote:
Well I guess that reinforces what I said about the info being public about library versions used by auto build.

Samples of mingw buildbot output:
Code:
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ MINGDIR=/usr/i586-mingw32msvc/ scons configure platform=windows debug=yes debugdefines=no optimize=yes --config=force
Code:
Checking i586-mingw32msvc-gcc version... 4.2.1


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 07:58 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
tberthel
remember that buildbot runs on linux. it cross compiles. the current stable MinGW on linux is 4.2.1 (at least i think so). It is not really practical that we have 4.2.1 on linux and 4.3.0 on windows though, i agree. (Maybe we should use the 4.2.1 that rattle mentioned? SjLj)

again, can please someone post a description here, of how to setup ones system to be able to compile spring on windows with MinGW 4? (directly actualizing hte Wiki would be ok too).

Should we have a description for 4.2.1 and for 4.3.0 on windows?


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 09:20 

Joined: 12 Jan 2008, 06:17
Rattle was specifying a gcc version instead of MinGW version since he didn't find a matching version for MinGW, but you were using MinGW versioning.

MinGW version is not always = gcc version

The URL u gave does not work.

I wouldn't recommend different versions on different systems.


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 09:21 

Joined: 12 Jan 2008, 06:17
bibim's URL that is does not work.


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 09:24 

Joined: 12 Jan 2008, 06:17
bibim,

Thanks for getting the correct version info so I know what software they are relating to 4.2.1 in discussions now. I suspected it was gcc for mingw and not mingw itself. Maybe the sync error will go away now.


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 10:45 
Lobby Developer

Joined: 06 Dec 2007, 11:12
tberthel wrote:
bibim's URL that is does not work.
Indeed, buildbot html pages just went down. But they worked at the time I posted, and I guess they will be back up soon...
tberthel wrote:
Thanks for getting the correct version info so I know what software they are relating to 4.2.1 in discussions now. I suspected it was gcc for mingw and not mingw itself. Maybe the sync error will go away now.
Between which binaries do you have sync errors ?


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 11:30 

Joined: 12 Jan 2008, 06:17
JAI and Spring.

I was using autobuild 5956 with JAI. JAI was built against my build of Spring of the same autobuild version. I copied the libs and exe from the build, but I may have missed one. It could just be the way the JAI currently works. I will wait for further developments before I try making changes to fix the sync error..


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 11:58 
Lobby Developer

Joined: 06 Dec 2007, 11:12
There doesn't seem to be any r5956 available in buildbot binary output page, so I guess you used BuildServ binaries. Here are the mingw packages used to build these binaries:
Code:
bibim@BuildServ:~$ dpkg -l | grep mingw
ii  mingw32               4.2.1.dfsg-1           Minimalist GNU win32 (cross) compiler
ii  mingw32-binutils      2.18.50-20080109-1     Minimalist GNU win32 (cross) binutils
ii  mingw32-runtime       3.13-1                 Minimalist GNU win32 (cross) runtime
bibim@BuildServ:~$ i586-mingw32msvc-gcc --version
i586-mingw32msvc-gcc (GCC) 4.2.1-sjlj (mingw32-2)


Last edited by bibim on 30 Jun 2008, 22:21, edited 1 time in total.

Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 21:40 

Joined: 12 Jan 2008, 06:17
great :-)

Why is it the the other autobuild doesn't have that version?

Thanks


Top
 Offline Profile  
 
PostPosted: 30 Jun 2008, 22:20 
Lobby Developer

Joined: 06 Dec 2007, 11:12
tberthel wrote:
Why is it the the other autobuild doesn't have that version?
disk full


Top
 Offline Profile  
 
PostPosted: 02 Jul 2008, 16:11 

Joined: 19 May 2008, 17:51
is it possible to compile spring with visual studio 6 ?


Top
 Offline Profile  
 
PostPosted: 02 Jul 2008, 17:06 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
VC++ 6 lacks the necessary meta template support for luabind. VC++ 6 is not supported by the developers and if you want to compile it youll have to work it out on your own. There are no VC6 project files either.


Top
 Offline Profile  
 
PostPosted: 09 Sep 2008, 14:49 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
The VC8 libraries have gone again. That or the wiki is out of date yet again =/


Top
 Offline Profile  
 
PostPosted: 18 Sep 2008, 08:18 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
there is a problem with building streflop:
am compiling spring on linux, sometimes with scons sometimes with CMake. CMake overwrites the 'native' Makefile for streflop (rts/lib/streflop/Makefile). so when switching from cmake to scons, one has to revert the Makefile from SVN every time. inconvienient! after a while using only CMake, i will forget it, and i will have to find out again why i get undefined symbols when linking. it is also bad cause i or someone else may accidentially ubload the CMake generated Makefile to SVN, and then everyone would have the problem.

maybe we should alternate one of the two build systems to use an other filename (not Makefile). we could have Makefile.scons eg, which is copied to Makefile on scons configure.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 582 posts ]  Go to page Previous  1 ... 23, 24, 25, 26, 27, 28, 29, 30  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.