how to compile CCV 1.5
Posted: 28 August 2012 01:31 PM   [ Ignore ]
RankRankRankRank
Joined  2008-11-22
Total Posts:  529
Elite

hi e.b
i have lots of errors while compiling ccv 1.5. at first i cleaned the solution then pressed F7 and got this

------ Rebuild All startedProjectCommunity Core VisionConfigurationDebug Win32 ------
Deleting intermediate and output files for project 'Community Core Vision'configuration 'Debug|Win32'
Compiling...
main.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\tracking\tracking.h(17) : fatal error C1083Cannot open include file'ofxFiducial.h'No such file or directory
testApp
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\tracking\tracking.h(17) : fatal error C1083Cannot open include file'ofxFiducial.h'No such file or directory
ofxXmlSettings
.cpp
tinyxml
.cpp
tinyxmlerror
.cpp
tinyxmlparser
.cpp
ofxTCPClient
.cpp
ofxTCPManager
.cpp
ofxTCPServer
.cpp
ofxUDPManager
.cpp
ofxOscBundle
.cpp
ofxOscMessage
.cpp
e
:\ccv1.5 kamel copy\addons\ofxosc\src\ofxoscmessage.cpp(92) : warning C4244'return' conversion from 'float' to 'int32_t'possible loss of data
e
:\ccv1.5 kamel copy\addons\ofxosc\src\ofxoscmessage.cpp(112) : warning C4244'return' conversion from 'int32_t' to 'float'possible loss of data
ofxOscReceiver
.cpp
ofxOscSender
.cpp
ofxCvColorImage
.cpp
ofxCvContourFinder
.cpp
ofxCvFloatImage
.cpp
ofxCvGrayscaleImage
.cpp
ofxCvImage
.cpp
ofxCvShortImage
.cpp
Generating Code
...
Compiling...
ofxMatrix3x3.cpp
ofxThread
.cpp
ofxDirList
.cpp
ofxffmv
.cpp
e
:\ccv1.5 kamel copy\addons\ofxffmv\src\ofxffmv.h(11) : fatal error C1083Cannot open include file'ofxCameraBase.h'No such file or directory
Calibration
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\tracking\tracking.h(17) : fatal error C1083Cannot open include file'ofxFiducial.h'No such file or directory
CalibrationUtils
.cpp
TUIO
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\communication\tuio.h(14) : fatal error C1083Cannot open include file'ofxFiducial.h'No such file or directory
ofxGui
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguiimage.h(18) : fatal error C1083Cannot open include file'ofxCameraBase.h'No such file or directory
ofxGuiButton
.cpp
ofxGuiColor
.cpp
ofxGuiFiles
.cpp
ofxGuiGlobals
.cpp
ofxGuiKnob
.cpp
ofxGuiMatrix
.cpp
ofxGuiObject
.cpp
ofxGuiPanel
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguiimage.h(18) : fatal error C1083Cannot open include file'ofxCameraBase.h'No such file or directory
ofxGuiPoints
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguipoints.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguipoints.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
ofxGuiRadar
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguiradar.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguiradar.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
ofxGuiScope
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguiscope.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguiscope.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
ofxGuiSlider
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguislider.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguislider.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
Generating Code
...
Compiling...
ofxGuiSwitch.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguiswitch.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguiswitch.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
ofxGuiXYPad
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguixypad.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\controls\ofxguixypad.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
TouchMessenger
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\events\touchmessenger.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\events\touchmessenger.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
CPUImageFilter
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\filters\cpuimagefilter.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\filters\cpuimagefilter.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
GPUImageFilter
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\filters\gpuimagefilter.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\filters\gpuimagefilter.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
ShaderProgram
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\filters\shaderprogram.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\filters\shaderprogram.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
ofxNCoreVision
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\modules\ofxncorevision.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\modules\ofxncorevision.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
ContourFinder
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\tracking\contourfinder.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\tracking\contourfinder.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
Tracking
.cpp
e
:\ccv1.5 kamel copy\addons\ofxncore\src\tracking\tracking.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxncore\src\tracking\tracking.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
ofxDSVL
.cpp
c1xx 
fatal error C1083Cannot open source file'..\..\..\addons\ofxDSVL\src\ofxDSVL.cpp'No such file or directory
ofxPS3
.cpp
e
:\ccv1.5 kamel copy\addons\ofxps3\src\ofxps3.cpp error C2471cannot update program database 'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'
e:\ccv1.5 kamel copy\addons\ofxps3\src\ofxps3.cpp fatal error C1083Cannot open program database file'e:\ccv1.5 kamel - copy\apps\addonsexamples\vs2008\obj\debug\vc90.pdb'No such file or directory
Generating Code
...
Build log was saved at "file://e:\CCV1.5 kamel - Copy\apps\addonsExamples\VS2008\obj\Debug\BuildLog.htm"
Community Core Vision 36 error(s), 2 warning(s)
========== 
Rebuild All0 succeeded1 failed0 skipped ==========

it seems some directories had not been included in the solution so i included it myself from
Project ----> properties ------> configuration properties ---->C/C++ ------> additional include directories
after including lots of missed folders most of errors went away but a big problem started “THE OPENMP” error
i was using VS2008 express so i installed VS 2008 Professional but this time i got lots of errors related to “vc90.pdb” big surprise  gulp

now i want to ask you what should i do and is there anyone with the same experience ?

 Signature 

my 19” LCD setup ----> turned into new look
my 60” FTIR setup (old video)

Profile
 
 
Posted: 28 August 2012 01:49 PM   [ Ignore ]   [ # 1 ]
Rank
Joined  2011-04-13
Total Posts:  46
New Member

You are write that you need VS2008 professional. have you installed the SP1 package fro VS2008?

SP1 package -> http://www.microsoft.com/en-in/download/details.aspx?id=10986

Also i dont think i did anything to make it run.
VS2008 +Sp1 +check openMP
It worked out of the box for me.

Profile
 
 
Posted: 28 August 2012 01:51 PM   [ Ignore ]   [ # 2 ]
Rank
Joined  2011-04-13
Total Posts:  46
New Member

also check if OpenMP is enabled in VS2008

1)Open the project’s Property Pages dialog box.
2)Expand the Configuration Properties node.
3)Expand the C/C++ node.
4)Select the Language property page.
4)Modify the OpenMP Support property.

Profile
 
 
Posted: 29 August 2012 01:00 AM   [ Ignore ]   [ # 3 ]
RankRankRankRank
Joined  2008-11-22
Total Posts:  529
Elite

oops! what a pity! i was using an old svn update that was why i had all that errors.(every folder was updated except VS2008 folder)
thank you pratik , i compiled it successfully.

 Signature 

my 19” LCD setup ----> turned into new look
my 60” FTIR setup (old video)

Profile