user1496542
user1496542

Reputation: 559

Mixing Architectures?

I have a Fortran DLL that is used in my C++ program in which I am getting LNK2001 errors.

I checked the Fortran DLL build and it is supposedly 64 bit while my C++ code is in 32 bit.

This is the problem to my linker errors correct? (This is being asked because I have already checked to ensure that the fortran lib is added to my project correctly)

Upvotes: 1

Views: 69

Answers (1)

Christian Stieber
Christian Stieber

Reputation: 12496

You can't combine 32 and 64 bit in one executable.

Upvotes: 4

Related Questions