User forums > Using Code::Blocks
Issues in importing a MS Visual C++ .NET 2003 solution
alixia:
I know a library is needed but what?
In my link tab I have a lot of libraries, but I don´t know what is the one I need exactly.
I´ve proved with libc.lib, libcd.lib, but the problem continues.
Somebody know what is?
rickg22:
Hmmmmmmmmm. Perhaps some of the options got lost... try converting your solution to a Visual C++ 6 workspace, and then import. Does it work?
alixia:
I comment my problem from the begining:
I have some .c, .h and .f (fortran) files. I need to create a dll with them. For it, I use the compaq visual fortran profeesional 6.5 because I have .f files (fortran). All the files compile perfectly. But the problem is linking.
I´ve downloaded the microsoft c++ toolkit for the compiler in c.
I don´t change to visual c++ 6 because it doesn´t compile fortran files, and I need them. I need to create a dll, and it is possible with compaq visual fortran.
The problem continues... :
CCFD.obj : error LNK2001: unresolved external symbol __ftol@8
MF2KGMG.obj : error LNK2001: unresolved external symbol __ftol2
SOLVERS.obj : error LNK2001: unresolved external symbol __ftol2
tiwag:
--- Quote from: alixia on October 21, 2005, 12:04:55 pm ---...The problem continues... :
CCFD.obj : error LNK2001: unresolved external symbol __ftol@8
MF2KGMG.obj : error LNK2001: unresolved external symbol __ftol2
SOLVERS.obj : error LNK2001: unresolved external symbol __ftol2
--- End quote ---
try linking with
--- Code: ---msvcrt.lib
--- End code ---
and be sure ,that you compile in "C" mode
or mind posting your complete project here,
because soothsaying is quite hard...
Michael:
Hello,
I am not sure how you try to put together .c, .h and .f files. Anyway, you can try to download (if not yet done) the Microsoft Platform SDK and to add to CB the corresponding include and lib directories.
May be you can also try to google your problem. Sometimes you get useful links or informations to what to do.
Best wishes,
Michael
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version