Linking with the Lua Library

While the Advanced2D engine has no linked files (because it is a library itself, not an object file), we do need to add the required linked files to our game projects. At this stage in the engine’s development, our example programs and games must include the following linker options for Dev-C++:

  • -lAdvanced2D

  • -ld3d9

  • -ld3dx9

  • -ldinput8

  • -ldxguid

  • -lwinmm

  • -lfmodex

  • -llua

If you’re using Visual C++, the linker options will need to include these files:

  • ....EnginelibAdvanced2D.lib

  • d3d9.lib

  • d3dx9.lib

  • dinput8.lib

  • dxguid.lib

  • winmm.lib

  • fmodex_vc.lib

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset