- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hello,
I am trying to use a C library in a Fortran program. This used to work fine
with MSVC 6.0 and CVF 6.6, but I am trying out the Intel Fortran 9.1 compiler
and therefore also Visual C++.net.
When linking the program I get messages about _malloc() and a whole lot more:
Test_04 error LNK2005: ___sbh_alloc_block already defined in LIBC.lib(sbheap.obj)
How should I proceed? I have not specified any libraries in particular (beyond my own one) and the project was converted automatically from the previous version.
Regards,
Arjen
I am trying to use a C library in a Fortran program. This used to work fine
with MSVC 6.0 and CVF 6.6, but I am trying out the Intel Fortran 9.1 compiler
and therefore also Visual C++.net.
When linking the program I get messages about _malloc() and a whole lot more:
Test_04 error LNK2005: ___sbh_alloc_block already defined in LIBC.lib(sbheap.obj)
How should I proceed? I have not specified any libraries in particular (beyond my own one) and the project was converted automatically from the previous version.
Regards,
Arjen
Link kopiert
1 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Found the solution: /NODEFAULTLIB:libcd
At the very end of the long list of messages there was this suggestion
and that did the trick.
Regards,
Arjen
At the very end of the long list of messages there was this suggestion
and that did the trick.
Regards,
Arjen
Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite