- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In one project when lnking a static library (from Intel Fortran) into a C++ exe-file the following messages appeared :
Unsolved external symbol ___libm_sse2_pow
Unsolved external symbol ___libm_sse2_logf
The static library was created in Intel Fortran version 11.066 with these library depedencies:
ifconsol.lib libifport.lib libifcoremd.lib libirc.lib
The C++ compiler(linking my static library) is Visual Studio 2003 (Development Environment)
The linking on my computer with the C++ compiler was succesfull without any unresolved symbols (This was with VS 2005)
The linking to create the C++ program with my static library included was then tested on another computer without any installation of Intel Fortran. The error message "unresolved... "appeared on this computer. This was the computerwith VS 2003
Actually, I have no idea what to do?
I searched on internet and found absolutely nothing so maybe I have run into something very rare.
Any tip would be much appreciated!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks for your help, now I can walk home without worrying for tomorrow!
I did what you instructions said but I recieved these messages:
1>libmmd.lib(libmmd.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in libifcoremd.lib(libifcoremd.dll); second definition ignored
1>libmmd.lib(libmmd.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible
Well, I thought it was "kind" warnings so I continued with the linking and it did work exactly as expected!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help!
I have "stripped" my project to be as small as possible but still Iget the warning messages. The project is included in the attached zip-file
Version 11.0.66, Visual studio 2005
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will note, however, that the default when building a static library project is to "disable default library search rules". If you are linking this in with more Fortran code, that's fine, but if you're linking it to C++ or some other language, I recommend changing Fortran > Libraries > Disable default library search rules to "No".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will note, however, that the default when building a static library project is to "disable default library search rules". If you are linking this in with more Fortran code, that's fine, but if you're linking it to C++ or some other language, I recommend changing Fortran > Libraries > Disable default library search rules to "No".
Thanks foryour help, then I have a little hope. I will try static library again (I switched to dll-file temporarily)!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page