Share

Dev-C++

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Using GNU Libraries/Functions in Dev C++

You are viewing a single message from this topic. View all messages.

  1. 2009-07-22 08:04:36 UTC
    When I go to Tools>Package Manager, I see my Package Manager (v. 2.2.6) in which I have packages such as gcc-core, gcc-g++, GNU Debugger, GNU Make etc.

    But when I create a new project and try to run the example found in GNU,
    http://linux.duke.edu/~mstenner/free-docs/gsl-ref-1.1/gsl-ref_36.html#SEC465
    I still get compiler errors as if it doesn't recognize the math functions used in the example.

    The goal is to be allowed to use GNU library w. its many math functions in my Dev C++ environmt. But what is the difference btw downloading the GSL DevPack and

    1) downloading gsl-1.8-src.exe
    2) Open Dev C++ and create a new project
    3) Click Project->Project Options menu
    4) Goto Directories tab
    5) Goto "Include Directories" sub-tab
    6) Enter C:\Program Files\GnuWin32\include and press Add button
    7) Goto Parameters tab
    8) Click on button "Add library or object"
    9) Navigate and select C:\Program Files\GnuWin32\lib\libgsl.a
    10)Click on button "Add library or object"
    11)Navigate and select C:\Program Files\GnuWin32\lib\libgslcblas.a
    12)Click on button "Add library or object"
    13)Navigate and select C:\Program Files\GnuWin32\lib\libgslcblas.dll.a
    14)Add the path C:\Program Files\GnuWin32\bin to system runtime, or copy the dlls libgsl.dll and libgslcblas.dll to the location where you want to run your .exe


    ??

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.