Help with errors when compiling CCV 1.5? 
Posted: 09 January 2014 04:49 PM   [ Ignore ]
Rank
Joined  2012-07-12
Total Posts:  17
New Member

I was hoping someone might know what’s up with why I can’t seem to get CCV 1.5 compiling successfully using VS2008 on Windows 7 (32bit). 

At one point I had things working, but this is a new computer and I wanted to work on some alterations to the source for a project, but just can’t seem to get things compiling.

Here is the output under debug (but neither debug or release with successfully compile):

1>------ Rebuild All started: Project: Community Core Vision, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project ‘Community Core Vision’, configuration ‘Debug|Win32’
1>Compiling…
1>main.cpp
1>testApp.cpp
1>ofxXmlSettings.cpp
1>tinyxml.cpp
1>tinyxmlerror.cpp
1>tinyxmlparser.cpp
1>ofxTCPClient.cpp
1>ofxTCPManager.cpp
1>ofxTCPServer.cpp
1>ofxUDPManager.cpp
1>ofxOscBundle.cpp
1>ofxOscMessage.cpp
1>c:\users\pwjones\dev\ccv15\addons\ofxosc\src\ofxoscmessage.cpp(92) : warning C4244: ‘return’ : conversion from ‘float’ to ‘int32_t’, possible loss of data
1>c:\users\pwjones\dev\ccv15\addons\ofxosc\src\ofxoscmessage.cpp(112) : warning C4244: ‘return’ : conversion from ‘int32_t’ to ‘float’, possible loss of data
1>ofxOscReceiver.cpp
1>ofxOscSender.cpp
1>ofxCvColorImage.cpp
1>ofxCvContourFinder.cpp
1>ofxCvFloatImage.cpp
1>ofxCvGrayscaleImage.cpp
1>ofxCvImage.cpp
1>ofxCvShortImage.cpp
1>Generating Code…
1>Compiling…
1>ofxMatrix3x3.cpp
1>ofxThread.cpp
1>ofxDirList.cpp
1>ofxffmv.cpp
1>Calibration.cpp
1>CalibrationUtils.cpp
1>TUIO.cpp
1>ofxGui.cpp
1>ofxGuiArrow.cpp
1>ofxGuiButton.cpp
1>ofxGuiColor.cpp
1>ofxGuiFiles.cpp
1>ofxGuiGlobals.cpp
1>ofxGuiGrid.cpp
1>ofxGuiImage.cpp
1>ofxGuiKnob.cpp
1>ofxGuiLabel.cpp
1>ofxGuiMatrix.cpp
1>ofxGuiObject.cpp
1>ofxGuiPanel.cpp
1>Generating Code…
1>Compiling…
1>ofxGuiPoints.cpp
1>ofxGuiRadar.cpp
1>ofxGuiScope.cpp
1>ofxGuiSlider.cpp
1>ofxGuiSwitch.cpp
1>ofxGuiXYPad.cpp
1>TouchMessenger.cpp
1>CPUImageFilter.cpp
1>GPUImageFilter.cpp
1>ShaderProgram.cpp
1>ofxNCoreVision.cpp
1>ContourFinder.cpp
1>Tracking.cpp
1>TemplateUtils.cpp
1>ofxPS3.cpp
1>ofxFiducialFinder.cpp
1>ofxFiducialTracker.cpp
1>fidtrackX.cpp
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp(85) : warning C4244: ‘initializing’ : conversion from ‘float’ to ‘int’, possible loss of data
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp(87) : warning C4244: ‘initializing’ : conversion from ‘float’ to ‘int’, possible loss of data
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp(277) : warning C4244: ‘=’ : conversion from ‘double’ to ‘float’, possible loss of data
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp(278) : warning C4244: ‘=’ : conversion from ‘double’ to ‘float’, possible loss of data
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp(279) : warning C4244: ‘=’ : conversion from ‘double’ to ‘float’, possible loss of data
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp(281) : warning C4244: ‘=’ : conversion from ‘int’ to ‘float’, possible loss of data
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp(304) : warning C4996: ‘strcat’: This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : see declaration of ‘strcat’
1>segment.cpp
1>treeidmap.cpp
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp(60) : warning C4244: ‘=’ : conversion from ‘float’ to ‘int’, possible loss of data
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp(143) : warning C4996: ‘strcpy’: This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of ‘strcpy’
1>c:\users\pwjones\dev\ccv15\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp(208) : warning C4996: ‘strcpy’: This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of ‘strcpy’
1>Generating Code…
1>Compiling…
1>ofxCameraBase.cpp
1>ofxGUIDHelper.cpp
1>c:\users\pwjones\dev\ccv15\addons\ofxmultiplexer\src\ofxguidhelper.cpp(125) : warning C4018: ‘<’ : signed/unsigned mismatch
1>ofxMultiplexer.cpp
1>ofxMultiplexerManager.cpp
1>ofxCMUCamera.cpp
1>ofxDShow.cpp
1>ofxKinect.cpp
1>Generating Code…
1>Compiling…
1>tiled_bernsen_threshold.c
1>Compiling resources…
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Compiling manifest to resources…
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking…
1>LINK : bin\CCV_debug.exe not found or not built by the last incremental link; performing full link
1>videoInput.lib(videoInput.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\videoInput\lib\vs2008\videoInput.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(Bugcheck.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(Debugger.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(Exception.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(Mutex.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(RWLock.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(Timestamp.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(ASCIIEncoding.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(Latin1Encoding.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(Latin9Encoding.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(TextConverter.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(TextEncoding.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(TextIterator.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(UnicodeConverter.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(UTF16Encoding.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(UTF8Encoding.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>PocoFoundationmtd.lib(Windows1252Encoding.obj) : warning LNK4099: PDB ‘vc90.pdb’ was not found with ‘..\..\..\libs\Poco\lib\vs2008\PocoFoundationmtd.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\vc90.pdb’; linking object as if no debug info
1>cv110d.lib(cvaccum.obj) : warning LNK4099: PDB ‘cv110d.pdb’ was not found with ‘..\..\..\addons\ofxOpenCv\libs\opencv\lib\vs2008\cv110d.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\cv110d.pdb’; linking object as if no debug info
1>cv110d.lib(cvadapthresh.obj) : warning LNK4099: PDB ‘cv110d.pdb’ was not found with ‘..\..\..\addons\ofxOpenCv\libs\opencv\lib\vs2008\cv110d.lib’ or at ‘c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\bin\cv110d.pdb’; linking object as if no debug info

Just goes on with these link warnings for missing debug files that I’m not sure how to generate…
Then ends with:

1>Embedding manifest…
1>Project : error PRJ0003 : Error spawning ‘cmd.exe’.
1>Build log was saved at “file://c:\Users\pwjones\dev\ccv15\apps\addonsExamples\VS2008\obj\Debug\BuildLog.htm”
1>Community Core Vision - 1 error(s), 365 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Does anyone have suggestions for me?  I’ve tried to find answers on these forums, but haven’t had any luck.  Thanks for any help you may have.

-pete

Profile