- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a C wrapper that has always been 32-bit. It calls a FORTRAN subroutine. This FORTRAN subroutine is in a FORTRAN library (MyFortranLibrary_lib.lib)
The problem is with the C Wrapper. When I compile the C Wrapper (and thus try to link it to this 64-bit FORTRAN library), i get A LOT of errors of type "error LNK2001: unresolved external symbol for _something_something_somth
Here's a sample of the these LNK errors:
MyFortranLibrary_lib.lib(S
1>MyFortranLibrary_lib.lib
1>MyFortranLibrary_lib.lib
1>MyFortranLibrary_lib.lib
1>MyFortranLibrary_lib.lib
1>MyFortranLibrary_lib.lib
1>MyFortranLibrary_lib.lib
1>MyFortranLibrary_lib.lib
Any help in troubleshooting would be GREATLY APPRECIATED!!!!! I'm seriously racking my brain on this one....
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Eureka! Hey guys, we were able to get it to build; there were some manually placed (ancient by tech standards) libraries local to the .sln directory of the wrapper (duhhhh!). I am so sorry for not noticing this straight-away, and we did learn a ton from this process. For example, prior to running through the suggestions you provided, I was essentially blind to those manually placed (ancient) lib files.
Many thanks, and please no need for any further assistance on this particular issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was going to be my next guess, as I've seen that before. Glad to hear you sorted it.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »