Re: 64-bit Boost Libraries
Quote:
Originally Posted by
maverick786us
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.
Quote:
If yes where can I get the instaler?
www.boostpro.com
http://www.boostpro.com/download/
Regards,
Paul McKenzie
Re: 64-bit Boost Libraries
Quote:
Originally Posted by
Paul McKenzie
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.
www.boostpro.com
http://www.boostpro.com/download/
Regards,
Paul McKenzie
Unfortunately they have mentioned tha...
Quote:
Originally Posted by Boost Library
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.
Re: 64-bit Boost Libraries
Build Boost libraries from source:
http://www.boost.org/doc/libs/1_46_1...es-from-source
To get 64 bit libraries, you need to use 64 bit bjam switch: address-model=64
http://boost.org/boost-build2/doc/ht....compiler.msvc
See more details in bjam documentation.
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.
Re: 64-bit Boost Libraries
Thanks, I downloade the version Boost_1_42 and then compiled using this command
Code:
bjam toolset=msvc-8.0 variant=debug threading=multi link=shared define=_BIND_TO_CURRENT_VCLIBS_VERSION address-model=64
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 :(
Then I used this command
Code:
bjam --toolset=msvc-8.0 address-model=64 --build-type=complete stage
Its still compiling, will let you know how it goes
Re: 64-bit Boost Libraries
Quote:
Now I have to convert the entire source code into 64-bit.
Why ? Does your program explicitly need 64 bits commands ?
Re: 64-bit Boost Libraries
Too bad. It took one hour to compile using this command
Code:
bjam --toolset=msvc-8.0 address-model=64 --build-type=complete stage
and still the result is same. The errors mentioned in original post still persists.
Quote:
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.
Quote:
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
Re: 64-bit Boost Libraries
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.
1 Attachment(s)
Re: 64-bit Boost Libraries
Quote:
Originally Posted by
Alex F
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?
Re: 64-bit Boost Libraries
Is information in Tools - VC++ directories for x64 platform correct?
Unfortunately, I cannot find the command line that I used to build x64 Boost.
Re: 64-bit Boost Libraries
Quote:
Originally Posted by
Alex F
Is information in Tools - VC++ directories for x64 platform correct?
Unfortunately, I cannot find the command line that I used to build x64 Boost.
this is the command that I used
Code:
bjam --toolset=msvc-8.0 address-model=64 --build-type=complete stage
Re: 64-bit Boost Libraries
Re: 64-bit Boost Libraries
So your requirement is to get it to work on a 64-bit IIS machine rather than actually building it to 64-bit.
Please see here :
http://www.microsoft.com/technet/pro....mspx?mfr=true
or
http://blogs.msdn.com/b/rakkimk/arch...processes.aspx
Or google "iis running 32-bit on 64-bit"
Darwen.
Re: 64-bit Boost Libraries
Quote:
Originally Posted by
Alex F
Quote:
Originally Posted by
darwen
Well now its 64-bit. I converted the whole thing into 64-bit