View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002815 | Spring engine | AI | public | 2011-12-06 18:42 | 2011-12-17 17:01 | ||||
Reporter | AF | ||||||||
Assigned To | hoijui | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | 85.0 | |||||||
Summary | 0002815: Missing generated sources when building Cpp-AIWrapper | ||||||||
Description | I tried to generate wrappers using the minimum of commands: git clone git://github.com/spring/spring.git git pull --rebase cmake . make Cpp-AIWrapper The above ran for a little while, then stopped, citing: /root/spring/spring/rts/Game/GameVersion.cpp: In function 'bool SpringVersion::I sRelease()': /root/spring/spring/rts/Game/GameVersion.cpp:179: error: 'SPRING_VERSION_ENGINE_ RELEASE' was not declared in this scope make[3]: *** [AI/Wrappers/Cpp/CMakeFiles/Cpp-AIWrapper.dir/__/__/__/rts/Game/Gam eVersion.cpp.o] Error 1 make[2]: *** [AI/Wrappers/Cpp/CMakeFiles/Cpp-AIWrapper.dir/all] Error 2 make[1]: *** [AI/Wrappers/Cpp/CMakeFiles/Cpp-AIWrapper.dir/rule] Error 2 make: *** [Cpp-AIWrapper] Error 2 root@vps:~/spring/spring# | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
hoijui (reporter) 2011-12-07 22:58 |
AF, i am pretty sure you do not want to build latest develop version, which is what you are doing there. to get latest release (84.0 at the moment of writing this), use these: git clone git://github.com/spring/spring.git cd spring git checkout -b master origin/master cmake . make Cpp-AIWrapper this might even have a better chance to work. if it does not (same error), you could try building unitsync before the wrapper, as it would generate the required source file. btw, i still need feedback for the other report from you: http://springrts.com/mantis/view.php?id=2747 note to future self: need to put into cmake each one of these that is not yet there: * generate VersionGenerated.h for target generate-sources * use the above target, or a sub-target as dependency for Cpp-AIWrapper (and possibly more stuff that depends on VersionGenerated.h) * maybe just a file level dependency is missing? |
AF (reporter) 2011-12-07 23:05 |
I think it's just the generate versiongenerated.h bit that needs doing. I came across this trying to get new wrappers so I could continue with the other ticket you mentioned, once those issues are fixed I'd wait for the next release and build Shard as usual |
hoijui (reporter) 2011-12-17 17:01 |
fixed by: https://github.com/spring/spring/commit/a1fc628476e8ebc4ec328cbbadb9fc0e891d1854 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-06 18:42 | AF | New Issue | |
2011-12-07 22:51 | hoijui | Status | new => assigned |
2011-12-07 22:51 | hoijui | Assigned To | => hoijui |
2011-12-07 22:51 | hoijui | Project | AI => Spring engine |
2011-12-07 22:58 | hoijui | Note Added: 0007842 | |
2011-12-07 23:05 | AF | Note Added: 0007843 | |
2011-12-17 17:00 | hoijui | Summary | Cpp Wrapper generation => Missing generated sources when building Cpp-AIWrapper |
2011-12-17 17:01 | hoijui | Note Added: 0007935 | |
2011-12-17 17:01 | hoijui | Status | assigned => resolved |
2011-12-17 17:01 | hoijui | Fixed in Version | => 85.0 |
2011-12-17 17:01 | hoijui | Resolution | open => fixed |