Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Ingeborg on November 27, 2011, 02:04:33 am

Title: Settings for using Lapack lib on MinGW
Post by: Ingeborg on November 27, 2011, 02:04:33 am
Hey,

Actually i have installed with cmake Lapack to the MinGW Compiler. I'm a little noob in these tasks and i try to use the functions from this lib in Fortran. For these i have made ths dlls. How can i include these libraries? Do i have to a kind of header like in c? Where should i set whch paths?

I am a little bit overstrained.

Thanks
Title: Re: Settings for using Lapack lib on MinGW
Post by: MortenMacFly on November 27, 2011, 10:13:39 am
- setup a C console project
- remove (or adopt) the main.c file
- add the path to the include files in the compiler options - include
- add the path to the import (!) libraries in the linker options - include
- add LAPACK functions as desired for your work to the project, they will be compiled in

It's best if you just start and post what issues you have with an example. LAPACK is a huge field... so with such less information its not easy to help.
Title: Re: Settings for using Lapack lib on MinGW
Post by: xunxun on November 27, 2011, 12:51:32 pm
At first, you should set Fortran Compiler for the project.