Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi, recently tried to compile a code on optical flow. Got this error!

Build Log      Build started: Project: proesmans, Configuration: Debug|Win32
 Command Lines      Creating temporary file "c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\proesmans\proesmans\Debug\RSP00000214322728.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TC "..\..\..\..\..\Desktop\Project software\of-eval-1.0\of-eval\of_implementations\proesmans\main.c"

"..\..\..\..\..\Desktop\Project software\of-eval-1.0\of-eval\of_implementations\proesmans\proesmans.c"
]
Creating command line "cl.exe @"c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\proesmans\proesmans\Debug\RSP00000214322728.rsp" /nologo /errorReport:prompt"
 Output Window      Compiling...
proesmans.c
c:\documents and settings\administrator\desktop\project software\of-eval-1.0\of-eval\of_implementations\proesmans\proesmans.h(7) : fatal error C1083: Cannot open include file: 'values.h': No such file or directory
main.c
c:\documents and settings\administrator\desktop\project software\of-eval-1.0\of-eval\of_implementations\proesmans\proesmans.h(7) : fatal error C1083: Cannot open include file: 'values.h': No such file or directory
Generating Code...
 Results      Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\proesmans\proesmans\Debug\BuildLog.htm"
proesmans - 2 error(s), 0 warning(s)


I don't understand why a values.h isn't present. Where should i go to make it exist?


Another question, does having multiple source files cause problems..i'm using a main.cpp and a proesmans.cpp. Up till now i've only had one source file!

Regards
Opul3nce
Posted
Updated 25-Mar-10 10:27am
v3

1 solution

C++
c:\documents and settings\administrator\desktop\project software\of-eval-1.0\of-eval\of_implementations\proesmans\proesmans.h(7) : fatal error C1083: Cannot open include file: 'values.h': No such file or directory
main.c


simply means that you have added an #include "values.h" in your proesmans.h file, but the compiler cannot find the header. If you really do not understand this then I think you may need to go back to your C++ documentation.

Second question: No, there is no problem having multiple sources in a project, most applications have that.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900