News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Settings for using Lapack lib on MinGW

Started by Ingeborg, November 27, 2011, 02:04:33 AM

Previous topic - Next topic

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

xunxun

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