Hi,
I am trying to link 3 libraries (.lib) to a project. The libraries are BLASd, LAPACKd, MATGENd (which might be intel libraries as they are in upper case - which I think wouldn't be the source of error)
I am using wingw64 to as fortran compiler.
I didn't install nothing but the IDE and the compiler, i.e., I just have the .lib files and I am trying to link them to the projects...
I did what I think was needed to link the libraries which is:
- settings > compiler > search directories > linker > add: (added the path to the 3 .lib files)I did the same to compiler (although I think it isn't necessary for fortran) i.e.
- settings > compiler > search directories > compiler> add: (added the path to the 3 .lib files)Added the libraries to the projects build options:
- project > build options > linker settings > linker libraries > add> (added BLASd, LAPACKd and MATGENd)(I've read here and there that the order of this list is important, so I tried all the combinations: BLM, BML, LBM, LMB, MBL, MLB...)
I think everything should work fine, but I end up getting an error message:
undefined reference to `dgemm_'For simplicity, uploaded a small program example which I have this error (cant attach to the post because to lib files exceed the limit):
https://drive.google.com/open?id=1dj9s_KOmC3hVjqBkAO_GArwyqGb6eK-wThis sounds like a horrendously simple question and it might be. But to me, it might end up consuming literally the rest of my life if I can't get any help of someone more experienced to tell me what might be going on here.
If anybody could help with this, you don't know how much you would be changing a man's life
Thanks in advance