First of all, disclaimers: - Background: basic knowledge of computers, I am not a programmer.
Previous knowledge of programming, building solutions, etc. -- Very very basic, close to nil. This is my first time building a MVisualStudio solution.
Using: Microsoft Visual Studio 2010, working on a Windows 7 machine.
I am a structural engineer trying to recompile and rebuild a program (for seismic analysis of buildings), targeting a 64-bit machine (this will, to my understanding, increase the amount of RAM available to the program and allow me to analyze bigger structures). I seem to have a problem using intel fortran libraries originally written for 32-bit when trying to build a 64-bit application.
I have the source code for the application (originally written as a 32-bit application) and I am able to build the solution for a 32-bit machine with no problems. The executable works fine and everything is well. The problem arises when I try to build a 64-bit application.
In Visual Studio 2010, when I go to Project>Properties>configuration Properties>Configuration Manager>Active Solution Platform>, I select "x64", and also "Copy settings from Win32". Then I proceed to build the solution. The building process gives a lot of warnings (but this also happens with the 32-bit build, and I think has to do with the fact that the original application was built using VS2005). The build has a single error:
lnk1112 module machine type x86 conflicts with target machine type x64
From what I researched in the internet, this had to do with the 64-bit solution trying to use libraries compiled for a 32-bit machine. As the application was written originally for 32-bit machines, the libraries it uses are 32-bit. I verified this using dumpbin.exe -headers <*.lib file> for all the *.lib files in the source code. All of them say "x86" on the header.
While for the libraries written specially for the program I have the source code, and I am fairly confident that I can recompile them for 64-bit, there is a number of libraries (Intel Fortran Libraries) that are also provided and used in the original solution, that were written for 32-bit:
IFCONSOL.lib, LIBIFCORE.lib, LIBIFCOREMT.lib, libirc.lib, libm.lib
Evidently, I do not have the source code for these libraries, and thus I would be unable to obtain "64-bit" versions. I have searched in the internet for "ifconsol.lib 64 bit" and the like, etc., but I have not found nothing meaningful (for me, please remember that I am a very inexperienced person).
My question is: if my solution needs these libraries, how can I obtain equivalent ones for 64-bit? Is there even such a thing as "equivalent 64-bit libraries", or I am talking nonsense....?
I apologize if my question seems silly. Any help or advice would be greatly appreciated!