Well if I remove the library file from where I added to the project from and try to compile I get this error:
LINK : fatal error LNK1181: cannot open input file '..\..\lib\Debug.NET\xerces-c_2D.lib' So unless it is present I cannot compile the program and I thought there might be a similar problem so I tried compiling with the command line looking as follows: /OUT:"../../bin/Debug.NET/AgStreamFmt.dll" /INCREMENTAL:NO /NOLOGO /LIBPATH:"../../lib/Debug.NET/" /DLL /MANIFEST /MANIFESTFILE:".\..\..\lib\Debug.NET\AgStreamFmt\AgStreamFmt.dll.interme diate.manifest" /DEBUG /PDB:"..\..\bin\Debug.NET\AgStreamFmt.pdb" /IMPLIB:".\..\..\lib\Debug.NET/AgStreamFmt.lib" /MACHINE:X86 /ERRORREPORT:PROMPT xerces-c_2D.lib but it yields the same results as before, I am stuck with the one error I cannot get rid of. -----Original Message----- From: David Bertoni [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 1:37 PM To: [email protected] Subject: Re: unresolved external symbol Straub, Corey wrote: > Hi Alberto, > > Here is what is in the command line: > > /OUT:"../../bin/Debug.NET/AgStreamFmt.dll" /INCREMENTAL:NO /NOLOGO /DLL > /MANIFEST > /MANIFESTFILE:".\..\..\lib\Debug.NET\AgStreamFmt\AgStreamFmt.dll.interme > diate.manifest" /DEBUG /PDB:"..\..\bin\Debug.NET\AgStreamFmt.pdb" > /IMPLIB:".\..\..\lib\Debug.NET/AgStreamFmt.lib" /MACHINE:X86 > /ERRORREPORT:PROMPT > > also in the additional options section it has: > > /IGNORE:4222 > > > another note is about how the xerces lib files are included, instead of > being in the project properties there is a libraries folder with a debug > and release folder where the libraries are, I double check and the debug > is being used when in debug and release is used when I am in release. > > If you need any other settings let me know. I'm surprised that xerces-c_2D.lib doesn't appear in the command line. Also, there are no LIBPATH directories, which I would expect if you're specifying certain folders for the Xerces-C implib. For reference, here is a linker command line from one of the Xerces-C samples: /OUT:".\..\..\..\..\..\Build\Win32\VC8\Debug\StdInParse.exe" /INCREMENTAL /NOLOGO /LIBPATH:".\..\..\..\..\..\Build\Win32\VC8\Debug" /MANIFEST /MANIFESTFILE:".\..\..\..\..\..\Build\Win32\VC8\Debug\obj\StdInParse\Std InParse.exe.intermediate.manifest" /DEBUG /PDB:".\..\..\..\..\..\Build\Win32\VC8\Debug\StdInParse.pdb" /SUBSYSTEM:CONSOLE /ERRORREPORT:PROMPT xerces-c_3D.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Are you using some other dependency mechanism? Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
