Author Topic: Static Library Include All Dependencies  (Read 3451 times)

coder14

  • Guest
Static Library Include All Dependencies
« on: October 15, 2015, 09:53:51 am »
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.  :)

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Static Library Include All Dependencies
« Reply #1 on: October 15, 2015, 09:23:27 pm »
Wrong forum and this is not a Code Blocks related problem anyway. You would be better off asking this on stack overflow.