Hello all<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I am (still) having quite a bit of trouble compiling and building programs which uses ARToolKit2.52 Software with VRML support [7.7mb] (Windows Direct Show Version with OpenVRML rendering).
Have anyone here been able to compile and build programs with this version. I can’t even build the included programs. If I compile and build SimpleVrml.cpp I get a lot of linking errors. Here is the output from the building process:
-------
Compiling...
simpleVRML.cpp
Linking...
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strchr already defined in LIBCD.lib(strchr.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sprintf already defined in LIBCD.lib(sprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fprintf already defined in LIBCD.lib(fprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _putc already defined in LIBCD.lib(fputc.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _vsprintf already defined in LIBCD.lib(vsprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __ftime already defined in LIBCD.lib(ftime.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _isdigit already defined in LIBCD.lib(_ctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _atoi already defined in LIBCD.lib(atox.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncpy already defined in LIBCD.lib(strncpy.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _isalpha already defined in LIBCD.lib(_ctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fopen already defined in LIBCD.lib(fopen.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fclose already defined in LIBCD.lib(fclose.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in LIBCD.lib(memmove.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fwrite already defined in LIBCD.lib(fwrite.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sscanf already defined in LIBCD.lib(sscanf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fread already defined in LIBCD.lib(fread.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _exit already defined in LIBCD.lib(crt0dat.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _realloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fseek already defined in LIBCD.lib(fseek.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _rewind already defined in LIBCD.lib(rewind.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fputc already defined in LIBCD.lib(fputc.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _printf already defined in LIBCD.lib(printf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __close already defined in LIBCD.lib(close.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __write already defined in LIBCD.lib(write.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __open already defined in LIBCD.lib(open.obj)
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
simpleVRML.obj : error LNK2001: unresolved external symbol _read_VRMLdata
Debug/simpleVRML.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
simpleVRML.exe - 30 error(s), 2 warning(s)
-------
I have set the “Additional library path” in settings > link > input to point to the lib directory (../../lib). I have also tried to add the names of the library files in the Objects/ library modules field but it did not help either.
Can any of you compile and build SimpleVRML.cpp, and if you can would you kindly paste the content of “project options” in “settings” and the content of Objects / library and mail it to me – I am rather desperate (and I have a deadline in the middle of January).
Kind regards
Sune
|