[Expat-discuss] Problem with <expat.h>

Wang, Hai hwang@accuris.ie
Tue, 14 Nov 2000 18:00:53 -0000


Hell everybody,
      I am working with Expat for my project, but I got a problem when I
wrote a XML application and ran it, the problem is that the compiler
couldn't find the header <expat.h> included in the application although I
had compiled the expat.dll in lib directory and put the directory (./lib) in
the path. Here I am working with MSVC++ 6. If you have any suggestion or
solution to the problem please write to me, I appreciate it.
Cheers!
Hai

The log file I got is as follows: 

Command Lines
Creating temporary file "C:\TEMP\RSPC2.tmp" with contents [ /nologo /MTd /W3
/GX /ZI /Od /D "_DEBUG" /D "COMPILED_FROM_DSP" /D "WIN32" /D "_WINDOWS" /D
"_MBCS" /D "_USRDLL" /D "EXPAT_EXPORTS" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"E:\Program Files\expat-1.95.1\expatparser\expatparser.cpp" ] Creating
command line "cl.exe @C:\TEMP\RSPC2.tmp" Creating temporary file
"C:\TEMP\RSPC3.tmp" with contents [ kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes
/pdb:"Debug/expat.pdb" /debug /machine:I386 /out:"Debug/expat.dll"
/implib:"Debug/expat.lib" /pdbtype:sept ".\Debug\xmlparse.obj"
".\Debug\xmlrole.obj" ".\Debug\xmltok.obj" ".\Debug\expatparser.obj" ]
Creating command line "link.exe @C:\TEMP\RSPC3.tmp" 
Output Window
Compiling... expatparser.cpp e:\program
files\expat-1.95.1\expatparser\expatparser.cpp(5) : fatal error C1083:
Cannot open include file: 'expat.h': No such file or directory Error
executing cl.exe. 
Results
expat.dll - 1 error(s), 0 warning(s)