I first sent this to the Clang dev list, but they told me to come here: ---------- Forwarded message ---------- From: Ruben Van Boxem <vanboxem.ruben at gmail.com> Date: 2010/12/31 Subject: LLVM on Windows MSVC 10 To: cfe-dev at cs.uiuc.edu Hi, I'm trying to build svn LLVM with Visual Studio 2010: cd build cmake .. -G"NMake Makefiles" nmake and several link steps fail due to a missing symbol:> LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved external symbol X86CompilationCallback referenced in function "public: virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void * (__cdecl*)(void *)))(void)" (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z)What can/should I do? Thanks! Ruben
I don't normally build using nmake.. but I just tried and it worked 100% here. Are you sure you are using the trunk? On Fri, Dec 31, 2010 at 7:32 AM, Ruben Van Boxem <vanboxem.ruben at gmail.com>wrote:> I first sent this to the Clang dev list, but they told me to come here: > > > ---------- Forwarded message ---------- > From: Ruben Van Boxem <vanboxem.ruben at gmail.com> > Date: 2010/12/31 > Subject: LLVM on Windows MSVC 10 > To: cfe-dev at cs.uiuc.edu > > > Hi, > > I'm trying to build svn LLVM with Visual Studio 2010: > > cd build > cmake .. -G"NMake Makefiles" > nmake > > and several link steps fail due to a missing symbol: > > > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved > external symbol X86CompilationCallback referenced in function "public: > virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void > * (__cdecl*)(void *)))(void)" (?getLazyResolverFunction at X86JITInfo@llvm@ > @UEAAP6AXXZP6APEAXPEAX at Z@Z) > > What can/should I do? > > Thanks! > > Ruben > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101231/1ddacb8e/attachment.html>
2010/12/31 Francois Pichet <pichet2000 at gmail.com>:> I don't normally build using nmake.. but I just tried and it worked 100% > here. > Are you sure you are using the trunk? > > On Fri, Dec 31, 2010 at 7:32 AM, Ruben Van Boxem <vanboxem.ruben at gmail.com> > wrote: >> >> I first sent this to the Clang dev list, but they told me to come here: >> >> >> ---------- Forwarded message ---------- >> From: Ruben Van Boxem <vanboxem.ruben at gmail.com> >> Date: 2010/12/31 >> Subject: LLVM on Windows MSVC 10 >> To: cfe-dev at cs.uiuc.edu >> >> >> Hi, >> >> I'm trying to build svn LLVM with Visual Studio 2010: >> >> cd build >> cmake .. -G"NMake Makefiles" >> nmake >> >> and several link steps fail due to a missing symbol: >> >> > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved >> > external symbol X86CompilationCallback referenced in function "public: >> > virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void >> > * (__cdecl*)(void *)))(void)" >> > (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z) >> >> What can/should I do? >> >> Thanks! >> >> Ruben >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >I'm using SVN Rev. 122644 (trunk), and building for Windows x64 (from the MSVC Command prompt). Ruben