Author Topic: Linking properly to luabind  (Read 8519 times)

liuqahs15

  • Guest
Linking properly to luabind
« on: November 02, 2012, 04:17:13 am »
Hey guys. I'm trying to link to luabind with code::blocks, but I'm not sure where to start. I've searched for at least some cursory help, but I've had little luck. My main IDE is VC++, but it's been such agony trying to link to libraries that I'd like to try Code::Blocks.

I'm on Windows 7, using the mingw compiler.

Does anyone have some article they could point me to, explaining even the basics of linking libraries? Thanks

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Linking properly to luabind
« Reply #1 on: November 02, 2012, 06:34:40 am »
- find out at the command line (by reading the SDK's developer guide of LUA)
- transfer settings to a C::B project
- done

Note that no IDE can know what to link against and where the resources are you need to use. This is the duty of the developer. Maybe you find a *.cbp file on the internet that uses LUA...its worth a try, but better s to read yourself into the topic so you understand the dependencies 100%.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ