News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Static Library Include All Dependencies

Started by coder14, October 15, 2015, 09:53:51 AM

Previous topic - Next topic

coder14

Hello all. I use Code::Blocks to make static library that is used with exe of another language (PureBasic).

The static library compiles good in Code::Blocks (warnings but no errors) and I can link with PureBasic and it works well. But sometimes I get "unresolved external symbol" error. I think that this is caused by missing dependencies. Most recently this is the error:

Quote...unresolved external symbol '__chkstk_ms'
...unresolved external symbol '_stat'

What is this missing symbols from?

Can I include the needed dependencies when linking the static library in Code::Blocks to not get this error?

Thank you.  :)

ouch

Wrong forum and this is not a Code Blocks related problem anyway. You would be better off asking this on stack overflow.