Fatal Error C1010 !!!
-
:doh::mad: I need some new eyes on this one, it's driving me mad:rolleyes: I am trying to use Bob Mottram's classes. Everything compiles from the download http://prdownloads.sourceforge.net/rodney/facedetect.zip?download[^] But when I imported the files into my project I receive Fatal Error C1010 unexpected end of file while looking for precompiled header directive
classimage.cpp C:\Backup2\carl2\classimage.cpp(573) : fatal error C1010: unexpected end of file while looking for precompiled header directive
I have OpenCV hooked up correctly and imported all the files neccesary, I believe any ideas? Thanks Later,
JoeSox
www.joeswammi.com
www.humanaiproject.org -
:doh::mad: I need some new eyes on this one, it's driving me mad:rolleyes: I am trying to use Bob Mottram's classes. Everything compiles from the download http://prdownloads.sourceforge.net/rodney/facedetect.zip?download[^] But when I imported the files into my project I receive Fatal Error C1010 unexpected end of file while looking for precompiled header directive
classimage.cpp C:\Backup2\carl2\classimage.cpp(573) : fatal error C1010: unexpected end of file while looking for precompiled header directive
I have OpenCV hooked up correctly and imported all the files neccesary, I believe any ideas? Thanks Later,
JoeSox
www.joeswammi.com
www.humanaiproject.orgSee the FAQ 2.5 I added some source files I got from someone else into my project and the compiler gives the error "C1010: unexpected end of file while looking for precompiled header directive." Why?[^] --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
-
See the FAQ 2.5 I added some source files I got from someone else into my project and the compiler gives the error "C1010: unexpected end of file while looking for precompiled header directive." Why?[^] --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
Michael Dunn wrote: See the FAQ Thanks Michael! That worked, of course. You helped stop me from chasing my tail! I miss the easy details sometimes. But It gave me these 2 warnings
classimage.cpp Generating Code... Linking... Creating library Release/carl2.lib and object Release/carl2.exp carl2.exp : warning LNK4070: /OUT:facedetect.exe directive in .EXP differs from output filename "Release/carl2.exe"; ignoring directive Release/carl2.exe : warning LNK4086: entrypoint "_WinMainCRTStartup" is not __stdcall with 12 bytes of arguments; image may not run
What does this mean to you? I think I know what the first means but the second? Later,
JoeSox
www.joeswammi.com
www.humanaiproject.org -
See the FAQ 2.5 I added some source files I got from someone else into my project and the compiler gives the error "C1010: unexpected end of file while looking for precompiled header directive." Why?[^] --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
Well, I took out a .def file that was originally made for the exporting of the functions since it was originally a .dll,
; facedetect.def : Declares the module parameters for the DLL. LIBRARY "facedetect" DESCRIPTION 'facedetect Windows Dynamic Link Library' EXPORTS RCobj_InitFaceDetect RCobj_detectfaces RCobj_getObject RCobj_setBorder RCobj_detectfeatures RCobj_trackface
that got rid of the warnings but now the main app's dialogbox doesn't appear upon execution, hhmmm. Later,
JoeSox
www.joeswammi.com
www.humanaiproject.org -
Well, I took out a .def file that was originally made for the exporting of the functions since it was originally a .dll,
; facedetect.def : Declares the module parameters for the DLL. LIBRARY "facedetect" DESCRIPTION 'facedetect Windows Dynamic Link Library' EXPORTS RCobj_InitFaceDetect RCobj_detectfaces RCobj_getObject RCobj_setBorder RCobj_detectfeatures RCobj_trackface
that got rid of the warnings but now the main app's dialogbox doesn't appear upon execution, hhmmm. Later,
JoeSox
www.joeswammi.com
www.humanaiproject.orgYou're making an EXE now, right? Then removing the .DEF file from the build is right, AFAIK .DEF files are not relevant to EXEs. --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
-
:doh::mad: I need some new eyes on this one, it's driving me mad:rolleyes: I am trying to use Bob Mottram's classes. Everything compiles from the download http://prdownloads.sourceforge.net/rodney/facedetect.zip?download[^] But when I imported the files into my project I receive Fatal Error C1010 unexpected end of file while looking for precompiled header directive
classimage.cpp C:\Backup2\carl2\classimage.cpp(573) : fatal error C1010: unexpected end of file while looking for precompiled header directive
I have OpenCV hooked up correctly and imported all the files neccesary, I believe any ideas? Thanks Later,
JoeSox
www.joeswammi.com
www.humanaiproject.org