Using StackTrace?

Asked by Andre Novellino Gouvêa

It is unclear how to use StackTrace with Stratagus.

To run StackTrace, the game requires a StackTrace library, but the code provided here produces a .exe when compiled:

There is a "test_lib" project there, but linking it to Stratagus results in errors such as:
util.obj : error LNK2001: unresolved external symbol "public: __thiscall stacktrace::call_stack::call_stack(unsigned int)" (??0call_stack@stacktrace@@QAE@I@Z)

Question information

English Edit question
Stratagus Edit question
No assignee Edit question
Solved by:
Andre Novellino Gouvêa
Last query:
Last reply:
Revision history for this message
Andre Novellino Gouvêa (andre-ng) said :

Ok, so thanks to cybermind I was able to solve this. The project properties have to be changed in Visual Studio to compile the project as a static library, and then use that. That worked.