|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 783
|
[C++]Aiuto libererie lapack
Salve a tutti, spero che riusciate a darmi un aiutino nonostante il problema specifico. Premesso che non sono un programmatore di C++ ma ho la necessita di utilizzare un algoritmo già scritto in C volevo chiedervi un piccolo aiuto.
L'algoritmo in questione è quello di levenberg-marquardt per la minimizzazione. Il mio problema è che sotto Windows con il Visual C++ non riesco ad utilizzare un implementazione trovata su questo sito http://www.ics.forth.gr/~lourakis/levmar/ Il problema principale è con le librerie Lapack. Mi sembra che il problema sia li. Ma come faccio a capire se non sono installate correttamente? Grazie a tutti. Questo è l'output di nmake /f Makefile.vc Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. cl /nologo /DHAVE_LAPACK /I. /MD /W3 /GX /O2 /c lm.c Axb.c misc.c lmlec .c lmbc.c cl : Command line warning D9035 : option 'GX' has been deprecated and will be re moved in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' lm.c Axb.c misc.c lmlec.c lmbc.c Generating Code... lib /nologo /out:levmar.lib lm.obj Axb.obj misc.obj lmlec.obj lmbc.obj cl /nologo /DHAVE_LAPACK /I. /MD /W3 /GX /O2 /c lmdemo.c cl : Command line warning D9035 : option 'GX' has been deprecated and will be re moved in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' lmdemo.c cl /nologo lmdemo.obj /link /subsystem:console /opt:ref /libpath:C:\Prog rammi\CLAPACK\lib /libpath:. /out:lmdemo.exe clapack.lib blas.lib libF77.lib lib I77.lib levmar.lib levmar.lib(misc.obj) : error LNK2019: unresolved external symbol _sgemm_ referen ced in function _strans_mat_mat_mult levmar.lib(misc.obj) : error LNK2019: unresolved external symbol _dgemm_ referen ced in function _dtrans_mat_mat_mult lmdemo.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: '"C:\Programmi\Microsoft Visual Studio 8\VC\BIN\cl.EX E"' : return code '0x2' Stop.
__________________
"May the wind always be at your back and the sun upon your face. And may the wings of destiny carry you aloft to dance with the stars...." |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Mar 2007
Messaggi: 1792
|
Non so se questo utente abbia avuto un problema simile al tuo.
|
|
|
|
|
|
#3 | |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 783
|
Quote:
Come faccio ad installare correttamente le librerie LAPACK per poterle utilizzare con Visual Studio od un qualsiasi altro compilatore anche di C assolutamente per Windows? Di nuovo grazie.
__________________
"May the wind always be at your back and the sun upon your face. And may the wings of destiny carry you aloft to dance with the stars...." |
|
|
|
|
|
|
#4 | |
|
Senior Member
Iscritto dal: Oct 2005
Messaggi: 3306
|
Quote:
Ultima modifica di tomminno : 27-09-2007 alle 11:29. |
|
|
|
|
|
|
#5 | |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 783
|
Quote:
Ho bisogno di queste librerie per far girare un programmi gia scritto ecco perche non so molto di C++.
__________________
"May the wind always be at your back and the sun upon your face. And may the wings of destiny carry you aloft to dance with the stars...." |
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 14:57.




















