Search found 19 matches
- 24 Jan 2010, 12:09
- Forum: Engine
- Topic: Build failure on linux with gcc 4.4.3
- Replies: 2
- Views: 674
Re: Build failure on linux with gcc 4.4.3
Cool, thanks.
- 24 Jan 2010, 07:14
- Forum: Engine
- Topic: Build failure on linux with gcc 4.4.3
- Replies: 2
- Views: 674
Build failure on linux with gcc 4.4.3
Hi all, With very recent versions of GCC (tested with 4.4.3), there's a build failure due to missing headers. The following patch fixes it : diff -up ./rts/System/ConfigHandler.cpp.includes ./rts/System/ConfigHandler.cpp --- ./rts/System/ConfigHandler.cpp.includes 2010-01-24 06:39:25.426129977 +0100...
- 24 Dec 2009, 08:45
- Forum: Engine
- Topic: Build failure on Fedora 12 (gcc 4.4.2)
- Replies: 13
- Views: 3155
Re: Build failure on Fedora 12 (gcc 4.4.2)
I confirm it does build with rpm's default cmake command after adding this commit:
http://github.com/spring/spring/commit/ ... a20a839246
Thanks a lot hoijui !
http://github.com/spring/spring/commit/ ... a20a839246
Thanks a lot hoijui !
- 24 Dec 2009, 08:28
- Forum: Engine
- Topic: Build failure on Fedora 12 (gcc 4.4.2)
- Replies: 13
- Views: 3155
Re: Build failure on Fedora 12 (gcc 4.4.2)
It's in the default cmake command when building Fedora RPMs.hoijui wrote: how did that flag get in there??
Thanks !hoijui wrote: guess we should make all types explicit though. i will do that.
- 23 Dec 2009, 22:48
- Forum: Engine
- Topic: Build failure on Fedora 12 (gcc 4.4.2)
- Replies: 13
- Views: 3155
Re: Build failure on Fedora 12 (gcc 4.4.2)
I think I tracked it back to this CMake option
With it, the build fails, and without it it completes.
Olivier, can you confirm this ?
Code: Select all
-DBUILD_SHARED_LIBS:BOOL=ON
Olivier, can you confirm this ?
- 23 Dec 2009, 21:47
- Forum: Engine
- Topic: Build failure on Fedora 12 (gcc 4.4.2)
- Replies: 13
- Views: 3155
Re: Build failure on Fedora 12 (gcc 4.4.2)
Actually, it's not fixed in git master. It's rather hard to say, but I think it comes from one of my compilation options. I tried running make without "-j4" but it's not that either.
I'll keep looking...
I'll keep looking...
- 23 Dec 2009, 10:57
- Forum: Engine
- Topic: Build failure on Fedora 12 (gcc 4.4.2)
- Replies: 13
- Views: 3155
Re: Build failure on Fedora 12 (gcc 4.4.2)
It does build here with the git master. I'm trying to extract which change caused the build to work, but it's pretty hard for me...
- 21 Nov 2009, 15:07
- Forum: Engine
- Topic: Build failure on Fedora 12 (gcc 4.4.2)
- Replies: 13
- Views: 3155
Re: Build failure on Fedora 12 (gcc 4.4.2)
Yes, I started from a clean tarball and ran : cmake -DDATADIR:PATH=share/spring -DLIBDIR:PATH=lib Before these lines are a "Linking CXX executable ../spring" message in red, followed by several screenful of files being linked, ending with : -o ../spring -rdynamic -lopenal -logg -lvorbisfil...
- 21 Nov 2009, 10:06
- Forum: Engine
- Topic: Build failure on Fedora 12 (gcc 4.4.2)
- Replies: 13
- Views: 3155
Build failure on Fedora 12 (gcc 4.4.2)
Hi all, I'm trying to build Spring 0.80.5.2 on Fedora 12 (gcc 4.4.2) and I get this failure at the linking stage : CMakeFiles/spring.dir/Game/SelectMenu.cpp.o: In function `SelectMenu::Update()': /home/pkg/fedora/pkgs/spring/F-12/spring_0.80.5.2/rts/Game/SelectMenu.cpp:212: undefined reference to `C...
Re: AI bugs
i do not know what you mean with "any admin here could put me in copy of this bug ?". that is something redhat related, not spring, right? Actually, the bug was first filled on the Fedora bugtracker. As I'm the packager, it was assigned to me. I redirected the reporter to Spring's bugtrac...
AI bugs
I've just packaged Spring for Fedora, and I already have a nice detailed bug report about the AIs, with patch attached. I've directed the reporter to Spring's Mantis installation, but since the bugs involve buffer overflows, he set the bug as private (security). It's bug 1361 , any admin here could ...
- 26 Feb 2009, 19:37
- Forum: Help & Bugs
- Topic: Crash bug: how can I get the debug output ?
- Replies: 0
- Views: 330
Crash bug: how can I get the debug output ?
I'm experiencing a crash when playing against a KAIK AI with Balanced Anihilation (with XTA, no crash). I tried to enable the debug in springlobby, but I don't get much info in the infolog.txt. This is on Linux (Fedora 10), with spring 0.78.2.1, and BA 6.82. Inside infolog.txt is only the game log, ...
- 02 Feb 2009, 16:10
- Forum: Engine
- Topic: Build system: compiler flags
- Replies: 5
- Views: 1415
Re: Build system: compiler flags
Here are our flags : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables The only non-complying flag seems to be march=i386. Do you think it would prevent people from playing online ? And I'l...
- 02 Feb 2009, 15:50
- Forum: Engine
- Topic: Build system: compiler flags
- Replies: 5
- Views: 1415
Build system: compiler flags
Hi guys, I'm currently packaging up Spring for the Fedora Linux distribution. One of their (I should say our) policies is that all packages must be built with the system's compiler flags (CFLAGS && CXXFLAGS). I see at line 366 of rts/build/scons/rts.py that you disabled the import of compile...
- 31 Jan 2009, 11:20
- Forum: Linux
- Topic: Spring on PowerPC in Linux -- Noob Q
- Replies: 8
- Views: 2978
Re: Spring on PowerPC in Linux -- Noob Q
Hi all,
I'm bringing back this thread, do you know if there's news on the Power PC port ?
Currently, it does not build.
Is anybody interested in porting the code and testing it ?
Thanks
I'm bringing back this thread, do you know if there's news on the Power PC port ?
Currently, it does not build.
Is anybody interested in porting the code and testing it ?
Thanks
- 19 Jan 2009, 12:52
- Forum: Engine
- Topic: CMake fixes
- Replies: 9
- Views: 1151
Re: CMake fixes
Yes, he is the author. I asked him about tarballs because I wanted to make ebuilds for it, he said he will make some gentoo also has camlzip in version 1.03, and it works here with some modifications he will include Great news ! I contacted him too, but got no reply yet. Det, sorry for the duplicat...
- 19 Jan 2009, 07:10
- Forum: Engine
- Topic: CMake fixes
- Replies: 9
- Views: 1151
Re: CMake fixes
Spring does not need allegro library. When some other thread was posted about this I noticed somewhere some distributions actually have libdevil depend on allegro, IIRC... You're right, actually it's the DevIL-ILUT package which brings Allegro, but for some reason the compilation options of Allegro...
- 19 Jan 2009, 07:04
- Forum: Engine
- Topic: CMake fixes
- Replies: 9
- Views: 1151
Re: CMake fixes
I see you have packaged spring-installer and ca-installer as well, Thanks! Was there any difficulty with these? I recently found out that they don't compile out-of-the-box on gentoo due to some lablgtk packaging incompatibilities. I have two main problems with these : Tarballs for older releases ar...
- 18 Jan 2009, 18:33
- Forum: Engine
- Topic: CMake fixes
- Replies: 9
- Views: 1151
CMake fixes
Hi all, I'm building RPMs for Spring on Fedora, and from the (distant) looks of it you're switching your build system from Scons to CMake. Is that right ? I quickly searched the forum but didn't find a definitive decision. The build with Scons works fine, but I tried the build with CMake and I thoug...