Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualNightCreature83

Posted 10 May 2012 - 02:16 AM

What build tool are you using for compiling your source? As this mostly comes down to the build tool you are using.

In GCC you specify additional include libraries on the command line like:
gcc example.o -lglut
The -l flag is used for additional libraries followed immediately by the library name, but how this is done comes down more to the tool you are using to compile and link with then anything else.

MSBuild for example has an option in it's project file that specifies which additional libraries should be used when linking, so do most other build tools. Google your build tools name and linking with additional libraries and you should find enough information on the web to get you started.

#1NightCreature83

Posted 10 May 2012 - 02:15 AM

What build tool are you using for compiling your source? As this mostly comes down to the build tool you are using.

In GCC you specify additional include libraries on the command line like:
gcc example.o -lglut
The -l flag is used for additional libraries, but how this is done comes down more to the tool you are using to compile and link with then anything else.

MSBuild for example has an option in it's project file that specifies which additional libraries should be used when linking, so do most other build tools. Google your build tools name and linking with additional libraries and you should find enough information on the web to get you started.

PARTNERS