Menu

how to set the gtk+ path for the compiler ?

:o:k:
2002-08-07
2012-09-26
  • :o:k:

    :o:k: - 2002-08-07

    hi,

    i like to create an win32 project using the gtk+ libs. the libs are allready installed, and i can compile c/c++ source with gtk+ by using a batch file.

    but now i like to edit my source with the dev-c++ ide. how i have to change the compiler-properties in the dev-c++ that it uses the gtk+ libs?

    the path is:
    D:\GNU-DEV\gtk\src\gtk+
    D:\GNU-DEV\gtk\src\glib

    thank you for your help

    sincerly

    o. kroll

     
    • Nobody/Anonymous

      Move all .a or .lib files to Dev's 'lib' directory, the gtk include files to the include directory.

      Other way is to tell the compiler:

      -LD:\GNU-DEV\gtk\src\gtk+
      -LD:\GNU-DEV\gtk\src\glib

      This will make it to look for libraries on those directories.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.