User forums > Using Code::Blocks

Settings for using Lapack lib on MinGW

(1/1)

Ingeborg:
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

MortenMacFly:
- 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.

xunxun:
At first, you should set Fortran Compiler for the project.

Navigation

[0] Message Index

Go to full version