[sldev] [VWR][cmake-9] Cmake-9 testing results
Robin Cornelius
robin.cornelius at gmail.com
Mon May 12 06:22:56 PDT 2008
Hi,
cmake-9 is now close to working It compiles perfectly with no errors
and with out any messing around moving headers and such, we are still
missing libraries from the libs bundle so we still have link
problems:-
Linking...
LINK : fatal error LNK1104: cannot open file 'fmodvc.lib'
Can't remember what the deal with fmod is/was and if that was needed
to be manually pulled from the fmod3 api .zip file, so this may be
expected behavior. But after obtaining the fmod static import lib and
dll we get :-
LINK : fatal error LNK1104: cannot open file 'll_intel_memops.lib'
I tried omitting this from the link stage. Can't find this file anywhere else.
LINK : fatal error LNK1104: cannot open file 'libndofdev.lib'
This is present in the 1.20.6 Tar ball so i used that one. This was
missing in cmake-8 and marked as fixed (VWR-6853)
Final linking results :-
CMTD.lib(dbgheap.obj) : error LNK2005: _malloc already defined in
LIBCMT.lib(malloc.obj)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __nh_malloc already defined
in LIBCMT.lib(malloc.obj)
..... snip ....
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of
other libs; use /NODEFAULTLIB:library
libndofdev.lib(ndofdev.obj) : error LNK2019: unresolved external
symbol __wassert referenced in function _test_device_list_add
libndofdev.lib(ndofdev_win.obj) : error LNK2001: unresolved external
symbol __wassert
What can we do about the already defined symbols? Is it possible cmake
can set the required /NODEFAULTLIB:LIBCMT where appropriate?
I think the missing __wassert, I think, is due to my platform SDK
being too old, (VC2003 .net) I have not upgraded yet.
Could not find a solution and got into dependency hell.
I've also started a VC2008 build, firsly tried the exisiting 2003.net
build and it was decency hell, so have also started cmake again to
generate 2008 project files. But looks like vstool is throwing an
error on those solutions :-
Running 'tools\\vstool\\vstool.exe --solution build-VS2008\\SecondLife.sln
fig RelWithDebInfo --startup secondlife-bin' in 'C:\\cmake-9\\indra'
Opening solution: build-VS2008\SecondLife.sln
Looking for existing VisualStudio instance...
Didn't find open solution, now opening new VisualStudio instance...
Reading .sln file version...
Opening VS version: VC90...
Value cannot be null.
Parameter name: type
Quitting do error opening: C:\cmake-9\indra\build-VS2008\SecondLife.sln
I will let the 2008 build complete to see where we are.
Robin
Thats all that is stopping a complete windows/visual studio build..
and for the project "package" :-
------ Build started: Project: package, Configuration: RelWithDebInfo
Win32 ------
Generating ../../newview/RelWithDebInfo/touched.bat
File "C:/cmake-9/indra/newview/viewer_manifest.py", line 230
def nsi_file_commands(self, install=True):
^
SyntaxError: invalid syntax
Project : error PRJ0019: A tool returned an error code from
"Generating ../../newview/RelWithDebInfo/touched.bat"
More information about the SLDev
mailing list