I have an existing VC++ DLL that uses Boost library version boost_1.35. Now I have to convert the entire source code into 64-bit. So I changed the compiler to 64-bit by simply going into Configuration Manager>Platform and selected X64. Now compiler throws these errors which I presume are related to Boost libraries
Can someone help me in resolving this? Do I need a whole new 64-bit version of boost libraries? If yes where can I get the instaler? As compiling boost libraries itself is a big big mess
Do I need a whole new 64-bit version of boost libraries?
A library is nothing more than source code compiled into object code, and placed in a single file, so of course you need the 64-bit version of the library. It's no different if you compiled half your program using 32-bit compiler, the other half with the 64-bit compiler, and expecting to create a valid program when it gets to the link stage.
A library is nothing more than source code compiled into object code, and placed in a single file, so of course you need the 64-bit version of the library. It's no different if you compiled half your program using 32-bit compiler, the other half with the 64-bit compiler, and expecting to create a valid program when it gets to the link stage.
For 64-bit binaries, support for other platforms and compilers, a binary installer that works without an internet connection, or builds optimized for the highest performance, please contact us about our enterprise support program.
On the same computer, you can keep both 32 and 64 bit Boost libraries. By default, Boost libraries are built in stage subdirectory. You can, for example, build 32 bit to stage, and 64 bit to stage64. Setting Boost libraries in a client project, use stage directory for 32 bit, and stage64 for 64 bit.
It compiled successfully, although it generated a warning stating "No Python Installation". So in the orignial application, I changed the settings and included the path of these new boost libararies in include and lib option. But still the same error was generated
and still the result is same. The errors mentioned in original post still persists.
Originally Posted by Skizmo
Why ? Does your program explicitly need 64 bits commands ?
this is an ISAPI Fiter that runs on IIS. Its the requirement of end user to convert this whole thing into 64-bit. When I tried running 32-bit version, this is the error message it displays in even viewer and does'nt run on IIS Server.
ISAPI Filter 'C:\Program Files (x86)\LexisNexis UK\WskAuthFilter\AuthFilterIsapi.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a AMD64 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
It is the client's requirement to make it run on 64-bit platform
Last edited by maverick786us; June 21st, 2011 at 07:13 AM.
Did you make Rebuild All in the project? What are compiler/linker settings for x64 platform?
VC++ contains different sets of compiler/linker directories for Win32/x64.
I have Boost built both for Win32 and x64, but I cannot find the command I used to do this
I will try to find it - usually I keep such things in my archive.
Did you make Rebuild All in the project? What are compiler/linker settings for x64 platform?
VC++ contains different sets of compiler/linker directories for Win32/x64.
I have Boost built both for Win32 and x64, but I cannot find the command I used to do this
I will try to find it - usually I keep such things in my archive.
Offcourse I always clean and then rebuild the solution. As you can see the screenshot. In configuration manager I selected 64-bit compiler.
I think this "libboost_regex-vc80-mt-1_46_1.lib" is the one responsible for these errors. Any suggestion?
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.