[fdo-internals] RE: openssl link error build_thirdparty.bat -p=x64

Trevor Wekel trevor_wekel at otxsystems.com
Tue Jan 3 23:44:38 EST 2012


Thanks Greg,

I will keep them separate.  Are the official builds for FDO 3.7 going to be on VC 2010 SP1?  Do we still need to maintain the VC 2008 builds?
 
Regards,
Trevor

-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Greg Boone
Sent: January 3, 2012 9:58 AM
To: FDO Internals Mail List
Subject: [fdo-internals] RE: openssl link error build_thirdparty.bat -p=x64 

Hi Trevor,

I recommend building 32 and 64 bit builds in separate directories. Some of the third-party projects are not set up in a manner that makes sharing directories easy. 

To setup 64 bit:

setenvironment.bat x64 VC10

To Setup 32 bit:

setenvironment.bat VC10

Regards,
Greg


-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Trevor Wekel
Sent: Friday, December 30, 2011 2:36 PM
To: FDO Internals Mail List
Subject: [fdo-internals] openssl link error build_thirdparty.bat -p=x64 

Hi list,

I grabbed fdo trunk and am getting an error running a 64 bit build_thirdparty.bat build (error below).  Can 32 bit and 64 bit builds be run from the same tree?  Here's what I ran from the command line:

[start shell]
%windir%\system32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"

[build fdo]
setenvironment.bat VC10
build_thirdparty.bat
build_thirdparty.bat -p=x64


  Building OpenSSL
        perl util/copy.pl ".\crypto\buildinf.h" "tmp32\buildinf.h"
  Copying: ./crypto/buildinf.h to tmp32/buildinf.h
        perl util/copy.pl ".\crypto\opensslconf.h" "inc32\openssl\opensslconf.h"
  Copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h
        lib /nologo /out:lib\Release64\libeay32.lib @C:\Users\twekel\AppData\Local\Temp\nmD6F.tmp
tmp32\x86_64cpuid.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' [C:\fdo \Thirdparty\openssl\openssl.vcxproj]
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\lib.EXE"' : return co de '0x458' [C:\fdo\Thirdparty\openssl\openssl.vcxproj]
  Stop.


Regards,
Trevor

_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals



More information about the fdo-internals mailing list