This is a multi-part message in MIME format.
--------------010301070805060004090103
Content-Type:
Content-Transfer-Encoding: 8bit
Hi,
I'm trying to use AR toolkit in an MFC-based application.
At that point I have just tried to initialise part of the AR toolkit: the only thing I have done is:
- reading the names of the files containing the camera parameters, and patterns description (object_data)
- calling the ARloadPatt function from the AR32.lib
Then, when compiling my code with VisualStudio.net under OfficeXP, I get no compiling error, but just a warning message:
"LINK : warning LNK4098: conflit entre la bibliothèque par défaut 'LIBCD' et les autres bibliothèques ; utilisez /NODEFAULTLIB:library"
which approx. means : conflict between the library LIBCD and the others. Please use /NODEFAULTLID:library"
If I use the NODEFAULTLIB option, i get 20 linking warning messages.
I tried to re-compile the AR32.lib with VisualStudio.net (just in case the compiling options of the initial AR32.lib were not compatible with VS.net. No effect.
Did anyone already experience this problem ? Or does anyone have any idea to avoid this warining ? (project option ?)
Thanks a lot in advance.
Attached is a copy (in french sorry) of the BuildLog.html file generated when compiling the project (just in case it's more helpful for you to understand my problem.
--------------010301070805060004090103
Content-Type: text/html; charset=WINDOWS-1252;
name="BuildLog.htm"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
filename="BuildLog.htm"
<html>
<head>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<pre>
<table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3>
Journal de génération
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5> </td><td width=0 bgcolor=#FFFFFF> </td><td width=*><pre>
<h3>------- Génération démarrée : Projet : TrombinoPAC, Configuration : Debug|Win32 -------
</h3>
</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
Espace d'environnement
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5> </td><td width=0 bgcolor=#FFFFFF> </td><td width=*><pre> ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Emmanuel Dubois\Application Data
CLASSPATH=.;C:\Programs\Dev\JARtoolikt\JARToolkit.jar
CommonProgramFiles=C:\Program Files\Fichiers communs
COMPUTERNAME=TERRE
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Emmanuel Dubois
INCLUDE=C:\Programs\Dev\Ressources\Include;C:\Programs\Dev\DirectX9SDK\Include;C:\Programs\Dev\ARtoolkit\include;C:\Programs\Dev\VisualStudio.net\Vc7\include;C:\Programs\Dev\VisualStudio.net\Vc7\atlmfc\include;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\include\prerelease;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\include;C:\Programs\Dev\VisualStudio.net\FrameworkSDK\include;
LIB=C:\Programs\Dev\Ressources\Lib;C:\Programs\Dev\ARtoolkit\lib;C:\Programs\Dev\VisualStudio.net\Vc7\lib;C:\Programs\Dev\VisualStudio.net\Vc7\atlmfc\lib;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\lib\prerelease;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\lib;C:\Programs\Dev\VisualStudio.net\FrameworkSDK\lib;
LIBPATH=
LOGONSERVER=\\TERRE
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Programs\Dev\VisualStudio.net\Vc7\bin;C:\Programs\Dev\VisualStudio.net\Common7\Tools\bin\prerelease;C:\Programs\Dev\VisualStudio.net\Common7\Tools\bin;C:\Programs\Dev\VisualStudio.net\Common7\tools;C:\Programs\Dev\VisualStudio.net\Common7\ide;C:\Program Files\HTML Help Workshop\;C:\Programs\Dev\VisualStudio.net\FrameworkSDK\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Fichiers communs\Adaptec Shared\System;C:\Programs\Dev\j2sdk1.4.1_01\bin;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0207
ProgramFiles=C:\Program Files
QTJAVA="C:\Program Files\JavaSoft\JRE\1.3.1_02\lib\ext\QTJava.zip"
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\EMMANU~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\EMMANU~1\LOCALS~1\Temp
USERDOMAIN=TERRE
USERNAME=Emmanuel Dubois
USERPROFILE=C:\Documents and Settings\Emmanuel Dubois
VSCOMNTOOLS="C:\Programs\Dev\VisualStudio.net\Common7\Tools\"
windir=C:\WINDOWS
_ACP_ATLPROV=C:\Programs\Dev\VisualStudio.net\Vc7\bin\ATLPROV.DLL
_ACP_INCLUDE=C:\Programs\Dev\Ressources\Include;C:\Programs\Dev\DirectX9SDK\Include;C:\Programs\Dev\ARtoolkit\include;C:\Programs\Dev\VisualStudio.net\Vc7\include;C:\Programs\Dev\VisualStudio.net\Vc7\atlmfc\include;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\include\prerelease;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\include;C:\Programs\Dev\VisualStudio.net\FrameworkSDK\include;
_ACP_LIB=C:\Programs\Dev\Ressources\Lib;C:\Programs\Dev\ARtoolkit\lib;C:\Programs\Dev\VisualStudio.net\Vc7\lib;C:\Programs\Dev\VisualStudio.net\Vc7\atlmfc\lib;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\lib\prerelease;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\lib;C:\Programs\Dev\VisualStudio.net\FrameworkSDK\lib;;C:\Programs\Dev\Ressources\Include;C:\Programs\Dev\DirectX9SDK\Include;C:\Programs\Dev\ARtoolkit\include;C:\Programs\Dev\VisualStudio.net\Vc7\include;C:\Programs\Dev\VisualStudio.net\Vc7\atlmfc\include;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\include\prerelease;C:\Programs\Dev\VisualStudio.net\Vc7\PlatformSDK\include;C:\Programs\Dev\VisualStudio.net\FrameworkSDK\include;
_ACP_PATH=C:\Programs\Dev\VisualStudio.net\Vc7\bin;C:\Programs\Dev\VisualStudio.net\Common7\Tools\bin\prerelease;C:\Programs\Dev\VisualStudio.net\Common7\Tools\bin;C:\Programs\Dev\VisualStudio.net\Common7\tools;C:\Programs\Dev\VisualStudio.net\Common7\ide;C:\Program Files\HTML Help Workshop\;C:\Programs\Dev\VisualStudio.net\FrameworkSDK\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Fichiers communs\Adaptec Shared\System;C:\Programs\Dev\j2sdk1.4.1_01\bin;
</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
Lignes de commande
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5> </td><td width=0 bgcolor=#FFFFFF> </td><td width=*><pre>Création du fichier temporaire "d:\Users\edubois\Programmation\ARtoolkit\TrombinoPAC\Debug\RSP000007.rsp" avec pour contenu
[
/Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_MBCS" /D "_AFXDLL" /Gm /EHsc /RTC1 /MDd /Zc:wchar_t /Yu"stdafx.h" /Fp"Debug/TrombinoPAC.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
TrombinoPACDlg.cpp
TrombinoPAC.cpp
P_ConfigFile.cpp
PTC_Patterns.cpp
PTC_PatternDescr.cpp
AC_Info.cpp
AC_ConfigFile.cpp
]
Création de la ligne de commande "cl.exe @d :\Users\edubois\Programmation\ARtoolkit\TrombinoPAC\Debug\RSP000007.rsp /nologo"
Création du fichier temporaire "d:\Users\edubois\Programmation\ARtoolkit\TrombinoPAC\Debug\RSP000008.rsp" avec pour contenu
[
/Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_MBCS" /D "_AFXDLL" /Gm /EHsc /RTC1 /MDd /Zc:wchar_t /Yc"stdafx.h" /Fp"Debug/TrombinoPAC.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
stdafx.cpp
]
Création de la ligne de commande "cl.exe @d :\Users\edubois\Programmation\ARtoolkit\TrombinoPAC\Debug\RSP000008.rsp /nologo"
Création de la ligne de commande "rc.exe /d "_DEBUG" /d "_AFXDLL" /l 0x409 /I "Debug" /fo"Debug/TrombinoPAC.res" TrombinoPAC.rc"
Création du fichier temporaire "d:\Users\edubois\Programmation\ARtoolkit\TrombinoPAC\Debug\RSP000009.rsp" avec pour contenu
[
/OUT:"Debug/TrombinoPAC.exe" /INCREMENTAL /NOLOGO /DEBUG /PDB:"Debug/TrombinoPAC.pdb" /SUBSYSTEM:WINDOWS /MACHINE:IX86 AR32.lib
Debug\AC_ConfigFile.obj
Debug\AC_Info.obj
Debug\PTC_PatternDescr.obj
Debug\PTC_Patterns.obj
Debug\P_ConfigFile.obj
Debug\TrombinoPAC.obj
Debug\TrombinoPACDlg.obj
Debug\stdafx.obj
Debug\TrombinoPAC.res
]
Création de la ligne de commande "link.exe @d :\Users\edubois\Programmation\ARtoolkit\TrombinoPAC\Debug\RSP000009.rsp"
</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
Fenêtre Sortie
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5> </td><td width=0 bgcolor=#FFFFFF> </td><td width=*><pre>Compilation...
stdafx.cpp
Compilation...
TrombinoPACDlg.cpp
TrombinoPAC.cpp
P_ConfigFile.cpp
PTC_Patterns.cpp
PTC_PatternDescr.cpp
AC_Info.cpp
AC_ConfigFile.cpp
Génération de code en cours...
Compilation des ressources en cours...
Édition des liens en cours...
LINK : warning LNK4098: conflit entre la bibliothèque par défaut 'LIBCD' et les autres bibliothèques ; utilisez /NODEFAULTLIB:library
</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
Résultats
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5> </td><td width=0 bgcolor=#FFFFFF> </td><td width=*><pre>
Le journal de génération a été enregistré à l'emplacement "file://d:\Users\edubois\Programmation\ARtoolkit\TrombinoPAC\Debug\BuildLog.htm"
TrombinoPAC - 0 erreur(s), 1 avertissement(s)</pre></table><table width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2>
</font></table></body></html>
--------------010301070805060004090103--
|