1
Off topic / Planetary Annihilation development video
« on: 30 March 2013, 09:43:20 »
Planetary Annihilation development video talks about rendering, planet generation and pathfinding for the new RTS game.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.















add_custom_command(TARGET target
PRE_BUILD | PRE_LINK | POST_BUILD
COMMAND command1 [ARGS] [args1...]
[COMMAND command2 [ARGS] [args2...] ...]
[WORKING_DIRECTORY dir]
[COMMENT comment] [VERBATIM])
Something like this for source/game/CMakeLists.txt:if(WIN32)
add_custom_command(TARGET glestadv PRE_LINK COMMAND version.bat)
else(WIN32)
add_custom_command(TARGET glestadv PRE_LINK COMMAND version.sh)
endif(WIN32)


> glestadv.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=7, bool _Trim=false) Line 2122 + 0x3 bytes C++
glestadv.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right="FPS: 58", unsigned int _Roff=0, unsigned int _Count=4294967295) Line 1055 + 0xe bytes C++
glestadv.exe!Glest::Widgets::TextWidget::setText(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & txt="FPS: 58", int ndx=0) Line 1152 C++
glestadv.exe!Glest::Menu::MenuState::setDebugString(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & s="FPS: 58") Line 283 C++
glestadv.exe!Glest::Menu::MainMenu::tick() Line 161 C++
glestadv.exe!Glest::Main::Program::loop() Line 294 + 0x1b bytes C++
glestadv.exe!Glest::Main::glestMain(int argc=3, char * * argv=0x01a02b80) Line 206 C++
glestadv.exe!main(int argc=3, char * * argv=0x01a02b80) Line 224 + 0x10 bytes C++
glestadv.exe!__tmainCRTStartup() Line 266 + 0x19 bytes C
glestadv.exe!mainCRTStartup() Line 182 C

The data dir was set incorrectly. The 0.3.2 set up has the executables in the "bin" folder and the data in the "share" folder. Moving the contents of the bin directory into share\glestae (as in the classic glest structure) solved the problem.Creating a shortcut with "-datadir path" set to where your data is should work too.