You may call to MSVC2005 development environment setting script w/o setting INCLUDE & LIB manually for building on windows/x86_64.
You either do this with the command (if MSVC is installed to its default location): call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" amd64 or run cmd.exe through GUI from Start menu like: Start->Programs->Miscrisoft Visula Strudion 2005->Visula Studio Tools->Visual Studio 2005 x64 Win64 Command Prompt Anyway, in this console (in shell): $ echo $INCLUDE C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include;C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\include; $ echo $LIB C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\LIB\AMD64; mstmrtd193: ~ $ More hints are given by Xiao-Feng here: http://wiki.apache.org/harmony/DevBuild_Win64 Thanks Vladimir Beliaev 2007/4/1, Qi Ji <[EMAIL PROTECTED]>:
Weldon, thanks a lot for your reply. I updated classlib and drlvm, and then rebuild, but the error still exist. Can anybody paste here the win64 environment virables, such as INCLUDE and LIB? Thanks! Qi Ji On 3/30/07, Weldon Washburn <[EMAIL PROTECTED]> wrote: > Sorry for the inconvenience. Please try "svn update" now. We have had a > very difficult time applying a performance enhancement that inlines > thread-local storage (H3065). It should be fixed now. > > On 3/29/07, kent qi <[EMAIL PROTECTED]> wrote: > > > > Hi, colleagues, > > When building harmony on 64bit Windows, I met such problem: > > > > build.native.link: > > [cc] 0 total files to be compiled. > > [cc] Starting link > > [cc] Creating library jitrino.lib and object jitrino.exp > > [cc] LINK : error LNK2001: unresolved external symbol _CorDllMain > > [cc] jitrino.dll : fatal error LNK1120: 1 unresolved externals > > > > > > Does anyone know how to fix it? Thanks a lot!! > > > > > > -- > Weldon Washburn >
-- Vladimir Beliaev Intel Middleware Products Division
