Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

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

Moderators: Moderators, Moderators

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by hoijui »

We hope this to be the last testing release before the real release.

See the Testing Release Wiki page for general info about how to obtain the release, and an archive of all testing releases since the last stable one.

Changes Bugs and issues
Report in this thread or on Mantis.
Remember to attach infolog.txt as file, if you crash!
0 x

User avatar
daftalx
Posts: 89
Joined: 30 May 2010, 11:56

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by daftalx »

is it just me or the links on the wiki point nowhere (yet) ?
0 x

User avatar
askuhn
Posts: 30
Joined: 01 Aug 2011, 19:06

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by askuhn »

I'm having problems getting this test release to compile on Ubuntu 11.04. Here are the last few lines showing in my terminal when it quits:

Code: Select all

...
[ 25%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameServer.cpp.o
[ 25%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameSetup.cpp.o
[ 25%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameVersion.cpp.o
/home/kuhn/spring_src/rts/Game/GameVersion.cpp:8:37: fatal error: System/VersionGenerated.h: No such file or directory
compilation terminated.
make[3]: *** [rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameVersion.cpp.o] Error 1
make[2]: *** [rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/all] Error 2
make[1]: *** [rts/builds/multithreaded/CMakeFiles/spring-multithreaded.dir/rule] Error 2
make: *** [spring-multithreaded] Error 2
kuhn@kuhn-ubuntu11:~/spring_src$ 
I've compiled many, many test releases/masters/develops/etc until about a month ago with no problems. I'll try provide more info if needed. Sorry if this belonged on Mantis, wasn't sure where it was appropriate.
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by hoijui »

true.. sorry, and thanks!
i fixed the windows links, i think only the app bundle is left now.
i see no app bundle for latest versions. i think it is cause the mac buildbot still uses master (only), but we moved to the develop branch now.
tell me if the bundle is ready, then i'll adjust the link if required.
0 x

User avatar
daftalx
Posts: 89
Joined: 30 May 2010, 11:56

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by daftalx »

Well the master branch bundle has been working until now, so the only way to check if develop works is to try it out...
If the final release exe and bundles are made from the master branch once merged, maybe it isn't necessary to switch the Mac slave to develop branch, still, testing latest fixes could be nice to avoid bad surprises.

FYI, the bundle will *not* contain SpringLobby, which will be bundled and made available separately, to allow using multiple versions of spring at the same time.
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by hoijui »

all buildbots should auto-compile every push to both develop and master.
master will contain only releases, so every commit has to be compiled anyway. develop should be built for the same reason why we did build master every push, so far (cause it is simply Matrix Reloaded ... i mean, master Renamed).

app bundle link fixed too now, thanks daftalx (i did not think about forcing the build :/ ).
0 x

User avatar
askuhn
Posts: 30
Joined: 01 Aug 2011, 19:06

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by askuhn »

I don't mean to clog up the forums if I'm the only one having the issue (maybe I did something dumb :roll: ), but I'm still having the same issue compiling that I mentioned in my previous post even after moving to a fresh install of Ubuntu 11.10. It occurs while trying to compile the multithreaded version of spring. I'm positive I successfully compiled the last few test releases including the recent one from September 6 with no problems by using the instructions on the wiki's. Is it something I'm not doing correctly, or is it a reproducible/known problem for everyone right now?
0 x

zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by zerver »

askuhn wrote:It occurs while trying to compile the multithreaded version of spring.
Need an error log or something, otherwise it is impossible to help.
0 x

cleanrock
Former Engine Dev
Posts: 115
Joined: 21 Feb 2009, 07:42

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by cleanrock »

Fyi, i can build (make spring) this version on archlinux which have gcc 4.6.1.
0 x

User avatar
askuhn
Posts: 30
Joined: 01 Aug 2011, 19:06

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by askuhn »

Sorry, I'll try to be more helpful. In the third post of this thread I pasted what was showing up in the terminal when the compiling failed, which I'll try to explain in more detail below...

Using

Code: Select all

git clone git://github.com/spring/spring.git spring_src
then

Code: Select all

cd spring_src && git fetch && git checkout 82.8.1-30-g5dbb98b
then

Code: Select all

cmake -G "Unix Makefiles" . && make spring && sudo make install-spring
This displays in my terminal when it fails (the last few lines):

Code: Select all

[ 25%] Building CXX object rts/builds/default/CMakeFiles/engine-default.dir/__/__/Game/GameHelper.cpp.o
[ 25%] Building CXX object rts/builds/default/CMakeFiles/engine-default.dir/__/__/Game/GameServer.cpp.o
[ 25%] Building CXX object rts/builds/default/CMakeFiles/engine-default.dir/__/__/Game/GameSetup.cpp.o
[ 25%] Building CXX object rts/builds/default/CMakeFiles/engine-default.dir/__/__/Game/GameVersion.cpp.o
/home/kuhn/Applications/Spring/spring_src/rts/Game/GameVersion.cpp:8:37: fatal error: System/VersionGenerated.h: No such file or directory
compilation terminated.
make[3]: *** [rts/builds/default/CMakeFiles/engine-default.dir/__/__/Game/GameVersion.cpp.o] Error 1
make[2]: *** [rts/builds/default/CMakeFiles/engine-default.dir/all] Error 2
make[1]: *** [rts/builds/default/CMakeFiles/spring.dir/rule] Error 2
make: *** [spring] Error 2
kuhn@kuhn-ubuntu11:~/Applications/Spring/spring_src$ 
When building multithreaded instead (after cleaning everything out from the previous attempts) using...

Code: Select all

cmake -G "Unix Makefiles" . && make spring-multithreaded && sudo make install-spring-multithreaded
These are the last few lines in my terminal:

Code: Select all

[ 25%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameHelper.cpp.o
[ 25%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameServer.cpp.o
[ 25%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameSetup.cpp.o
[ 25%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameVersion.cpp.o
/home/kuhn/Applications/Spring/spring_src/rts/Game/GameVersion.cpp:8:37: fatal error: System/VersionGenerated.h: No such file or directory
compilation terminated.
make[3]: *** [rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/GameVersion.cpp.o] Error 1
make[2]: *** [rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/all] Error 2
make[1]: *** [rts/builds/multithreaded/CMakeFiles/spring-multithreaded.dir/rule] Error 2
make: *** [spring-multithreaded] Error 2
kuhn@kuhn-ubuntu11:~/Applications/Spring/spring_src$ 
My GCC version is 4:4.6.1-2ubuntu5 which I would think is basically 4.6.1, but I am not very familiar with this. I will gladly post the outcomes of any commands or any logfiles you guys might need, I just don't know what would be helpful to you or where I might need to go to get them. Thanks in advance & sorry if this problem was my mistake.

EDIT:
It just occurred to me that it seems to get hung up on files called "GameVersion.cpp" and "VersionGenerated.h". I've noticed the chatter around the forums lately surrounding a new versioning system; perhaps there was a typo in some changes made lately for that?
Last edited by askuhn on 16 Oct 2011, 17:10, edited 1 time in total.
0 x

User avatar
Beherith
Moderator
Posts: 4934
Joined: 26 Oct 2007, 16:21

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by Beherith »

I get a crash when trying to launch the portable version with ba 7.60 and tropical:
http://pastebin.com/g058y4Q8
0 x

Manoa
Posts: 79
Joined: 19 May 2008, 18:51

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by Manoa »

Code: Select all

http://manoa.flnet.org/spring/20111016_132610_DeltaSiegeDry_82.8.1-30-g5dbb98b develop.sdf
[f=0054304]
[f=0055076]
[f=0055453]
[f=0076859]
[f=0104774]
[f=0109879]
[f=0111593]
[f=0111669]
[f=0112946]
[f=0124448]

nothing important, just a path finding thing and the amount of time tanks are spending flying appears to have been increased. overall seems to work faster than the latest release version

Code: Select all

http://manoa.flnet.org/spring/20111016_161425_Speedy_Metal2_82.8.1-30-g5dbb98b develop.sdf
units spawn from outside of the map when factory exit is jammed, sometimes they are spawned wrecked
0 x

zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by zerver »

askuhn wrote:Sorry, I'll try to be more helpful. In the third post of this thread I pasted what was showing up in the terminal when the compiling failed, which I'll try to explain in more detail below...

Code: Select all

/GameVersion.cpp:8:37: fatal error: System/VersionGenerated.h: No such file or directory
compilation terminated.
Rename the file VersionGenerated.h.template to VersionGenerated.h.
0 x

User avatar
askuhn
Posts: 30
Joined: 01 Aug 2011, 19:06

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by askuhn »

zerver wrote:Rename the file VersionGenerated.h.template to VersionGenerated.h.
When I did that, it made it all the way to 72%, but failed with...

Code: Select all

[ 72%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/ExternalAI/SkirmishAILibraryInfo.cpp.o
[ 72%] Building CXX object rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/ExternalAI/SkirmishAIWrapper.cpp.o
Linking CXX executable ../../../spring-multithreaded
[ 72%] Built target engine-multithreaded
Scanning dependencies of target generateVersionFiles
  Configuring Version files ...
Spring engine version: 82.8.1-30-g5dbb98b HEAD ()
CMake Error: File /home/kuhn/Applications/Spring/spring_src/rts/System/VersionGenerated.h.template does not exist.
CMake Error at rts/build/cmake/ConfigureVersion.cmake:44 (Configure_File):
  configure_file Problem configuring file


make[3]: *** [generateVersionFiles] Error 1
make[2]: *** [CMakeFiles/generateVersionFiles.dir/all] Error 2
make[1]: *** [rts/builds/multithreaded/CMakeFiles/spring-multithreaded.dir/rule] Error 2
make: *** [spring-multithreaded] Error 2
kuhn@kuhn-ubuntu11:~/Applications/Spring/spring_src$ 
so instead of only renaming VersionGenerated.h.template, I copied it and renamed that copy VersionGenerated.h. Having them both in there finally got it to compile. Looking forward to testing this version. You guys have a great project going here, best real time strategy I've ever played. Thanks!

EDIT:
Looks like I celebrated prematurely...Although it complied, I cannot get the game to successfully launch past the main menu using the generated executable or the latest spring lobby. Here is my infolog.txt if it is helpful: http://pastebin.com/3x1UspPr. I noticed glancing through the log that the version number still is not being generated correctly as it is displaying as "Spring @SPRING_VERSION_ENGINE@ (@SPRING_VERSION_ENGINE_ADDITIONAL@ MT-Sim)". I don't mean to use you guys as my personal troubleshooters (sorry about that), but this problem is way over my head.
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by hoijui »

cmake is supposed to read the actual version info from git, and then configure the template with the actual values, and write the outcome into the build-dir. if that does not work, it is most likely a problem with our CMake files (and yes, it is related to recent version changes, kind of).
We have to find out why the file is not configured for you, or why the respective build dir sub-dir is not in the include paths.
i am may have time later today, but maybe also not.
i'll have little time these days in general.
0 x

User avatar
askuhn
Posts: 30
Joined: 01 Aug 2011, 19:06

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by askuhn »

hoijui wrote:We have to find out why the file is not configured for you, or why the respective build dir sub-dir is not in the include paths.
i am may have time later today, but maybe also not.
i'll have little time these days in general.
I'll be glad to try and help in any way that you guys might need me to. I don't have a ton of time during the week either, but I can still check in for a few minutes now and then. Thanks for your replies, hopefully things will get sorted out soon.
0 x

Kloot
Spring Developer
Posts: 1865
Joined: 08 Oct 2006, 16:58

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by Kloot »

Code: Select all

cmake -G "Unix Makefiles" . && make spring && sudo make install-spring
Change this to:

Code: Select all

cmake -G "Unix Makefiles" . && make generateVersionFiles && make spring && sudo make install-spring
(VersionGenerated.h only actually seems to get generated for the default build target with 'make' or 'make all', not for any others)
0 x

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by knorke »

in all the test versions i tried my fps are lower than what i get in current version. fps are only 1/2 to 3/4 of normal, so it is still playable but noticeable.
Settings are the same (at least tried to put same)
Is because of debug builds or something?
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by hoijui »

thanks Kloot, i hope it is fixed by this commit (can currently not test)

https://github.com/spring/spring/commit ... 3c05a80231
0 x

User avatar
askuhn
Posts: 30
Joined: 01 Aug 2011, 19:06

Re: Engine Testing - 12. October 2011 (82.8.1-30-g5dbb98b)

Post by askuhn »

hoijui wrote:thanks Kloot, i hope it is fixed by this commit (can currently not test)
https://github.com/spring/spring/commit ... 3c05a80231
It works! Just successfully built the latest using:

Code: Select all

cmake -G "Unix Makefiles" . && make spring-multithreaded && sudo make install-spring-multithreaded
Version from infolog:

Code: Select all

Spring 82.8.1-35-g8980bac HEAD (MT-Sim)
Build date/time: Oct 19 2011 15:47:01
Build environment: boost-104200, GNU libstdc++ version 20110903
Compiler: gcc-4.6.1
Made it all the way into the game too...no crashes while launching. Thanks to hoijui, Kloot, and zerver for your time and fixes. :mrgreen:
0 x

Post Reply

Return to “Engine”