CCV 1.3 and 1.4 not compile errors in VS2008
Posted: 29 April 2011 08:42 PM   [ Ignore ]
Avatar
Rank
Joined  2011-04-28
Total Posts:  17
New Member

I tried to compile CCV 1.3 and 1.4 souce in VS 2008.
In both the exact same errors and warnings appear! (see further for the errors and warnings).
After some Google on the web, on Microsoft website, and on the forum,
I only came to one conclusion its probably something in the gl bindings but not sure what or how to fix it.

I found two similar post about VS 2010
http://nuigroup.com/forums/viewthread/11992/
http://nuigroup.com/forums/viewthread/11564/
but didn’t found a solution in them

Any suggestions?????

The errors:

Error    1    error C3861'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    2    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    3    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    4    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    5    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    6    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    7    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    187    Community Core Vision
Error    8    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    190    Community Core Vision
Error    9    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    10    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    11    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    12    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    13    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    14    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    15    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    187    Community Core Vision
Error    16    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    190    Community Core Vision
Warning    17    warning C4244
'return' conversion from 'float' to 'int32_t'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxosc\src\ofxoscmessage.cpp    92    Community Core Vision
Warning    18    warning C4244
'return' conversion from 'int32_t' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxosc\src\ofxoscmessage.cpp    112    Community Core Vision
Error    19    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    20    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    21    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    22    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    23    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    24    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    25    error C3861
'glGenFramebuffersEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    36    Community Core Vision
Error    26    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    37    Community Core Vision
Error    27    error C3861
'glFramebufferTexture2DEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    40    Community Core Vision
Error    28    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    42    Community Core Vision
Error    29    error C3861
'glCheckFramebufferStatusEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    44    Community Core Vision
Error    30    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    132    Community Core Vision
Error    31    error C3861
'glActiveTexture'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    180    Community Core Vision
Error    32    error C3861
'glActiveTexture'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    183    Community Core Vision
Error    33    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    207    Community Core Vision
Error    34    error C3861
'glActiveTexture'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    209    Community Core Vision
Error    35    error C3861
'glActiveTexture'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    211    Community Core Vision
Error    36    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    37    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    38    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    39    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    40    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    41    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    42    error C3861
'glGetShaderiv'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    51    Community Core Vision
Error    43    error C3861
'glGetShaderInfoLog'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    55    Community Core Vision
Error    44    error C3861
'glGetProgramiv'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    68    Community Core Vision
Error    45    error C3861
'glGetProgramInfoLog'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    72    Community Core Vision
Error    46    error C3861
'glCreateShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    83    Community Core Vision
Error    47    error C3861
'glShaderSource'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    87    Community Core Vision
Error    48    error C3861
'glCompileShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    88    Community Core Vision
Error    49    error C3861
'glCreateProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    99    Community Core Vision
Error    50    error C3861
'glAttachShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    106    Community Core Vision
Error    51    error C3861
'glAttachShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    112    Community Core Vision
Error    52    error C3861
'glProgramParameteriEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    116    Community Core Vision
Error    53    error C3861
'glProgramParameteriEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    117    Community Core Vision
Error    54    error C3861
'glProgramParameteriEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    118    Community Core Vision
Error    55    error C3861
'glAttachShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    125    Community Core Vision
Error    56    error C3861
'glLinkProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    128    Community Core Vision
Error    57    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    58    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    59    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    60    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    61    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    62    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    63    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    187    Community Core Vision
Error    64    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    190    Community Core Vision
Warning    65    warning C4244
'initializing' conversion from 'float' to 'int'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    85    Community Core Vision
Warning    66    warning C4244
'initializing' conversion from 'float' to 'int'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    87    Community Core Vision
Warning    67    warning C4244
'=' conversion from 'double' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    277    Community Core Vision
Warning    68    warning C4244
'=' conversion from 'double' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    278    Community Core Vision
Warning    69    warning C4244
'=' conversion from 'double' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    279    Community Core Vision
Warning    70    warning C4244
'=' conversion from 'int' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    281    Community Core Vision
Warning    71    warning C4996
'strcat'This function or variable may be unsafeConsider using strcat_s insteadTo disable deprecation, use _CRT_SECURE_NO_WARNINGSSee online help for details.    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    304    Community Core Vision
Warning    72    warning C4244
'=' conversion from 'float' to 'int'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp    60    Community Core Vision
Warning    73    warning C4996
'strcpy'This function or variable may be unsafeConsider using strcpy_s insteadTo disable deprecation, use _CRT_SECURE_NO_WARNINGSSee online help for details.    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp    143    Community Core Vision
Warning    74    warning C4996
'strcpy'This function or variable may be unsafeConsider using strcpy_s insteadTo disable deprecation, use _CRT_SECURE_NO_WARNINGSSee online help for details.    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp    208    Community Core Vision

 Signature 

moshimo negai hitotsu dake kanau nara ... three steps below shukuchi

Profile
 
 
Posted: 30 April 2011 09:54 AM   [ Ignore ]   [ # 1 ]
RankRankRankRank
Joined  2009-08-21
Total Posts:  561
Elite

well , did you fix the linking and include changes for 64 bit ? If not , re-checkout the sources, Compile openFrameworks for 64 bit (changing the linking files) and then compile ccv again with changing linking directories wherever necessary!

 Signature 

~~Amit~~

Website - Twitter - Facebook

Profile
 
 
Posted: 30 April 2011 10:07 AM   [ Ignore ]   [ # 2 ]
Avatar
Rank
Joined  2011-04-28
Total Posts:  17
New Member

64 bits files included in the source ?
or should I download them separately ?
Why can’t I just compile the 32 bits version after all win 64bits have both 32 and 64 files?

 Signature 

moshimo negai hitotsu dake kanau nara ... three steps below shukuchi

Profile
 
 
Posted: 01 May 2011 12:12 PM   [ Ignore ]   [ # 3 ]
Avatar
Rank
Joined  2011-04-28
Total Posts:  17
New Member

AH AH
I found the problem I had OpenGL 1.1 version and the functions which cause the errors will only run on OpenGL 2.0 version
so I’m trying to find out how to install OpenGL 2.0

 Signature 

moshimo negai hitotsu dake kanau nara ... three steps below shukuchi

Profile
 
 
Posted: 01 May 2011 05:57 PM   [ Ignore ]   [ # 4 ]
Avatar
Rank
Joined  2011-04-28
Total Posts:  17
New Member

I’m seriously thinking on changing to linux :s
I got the part that the functions are not defined thus the origin on the error
However I couldn’t manage a way to install a further version of OpenGL for windows :s
Any help on this?

 Signature 

moshimo negai hitotsu dake kanau nara ... three steps below shukuchi

Profile
 
 
Posted: 04 May 2011 04:18 AM   [ Ignore ]   [ # 5 ]
Avatar
Rank
Joined  2011-04-28
Total Posts:  17
New Member

Thanks to a few e-mails from a few members
and a careful reading of the post
http://nuigroup.com/forums/viewthread/11350/
I finally was capable of compiling CCV 1.4 source
for Win 7 64 in VS 2008.

For further people with the same issue as I
Here is a description of the issues I had,
the respective solutions
and a .zip with the running code all configured (if the forum administrators find it something proper to be u0ploaded in the repository be all means do so).

A few margin notes:
1 - I’m using Win 7 64 bits with VS 2008 with SP1
2 - I successfully compiled CCV 1.4 32 bits version that runs on a 64 bits machine (This is not a working 64 bits project!!!!!!!!!!!!!)

The step by step how to compile ccv 1.4:
1 - I downloaded the code from the http:nuicode.com/projects/ccv/repository
2 - I opened the solution file “G:\touch\Source Code\CCV-1.4-win-src\apps\addonsExamples\VS2008\Community Core Vision.sln”
3 - I tried to compile the solution and got these errors in either debug and release mode:

Error    1    error C3861'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    2    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    3    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    4    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    5    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    6    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    7    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    187    Community Core Vision
Error    8    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    190    Community Core Vision
Error    9    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    10    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    11    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    12    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    13    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    14    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    15    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    187    Community Core Vision
Error    16    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    190    Community Core Vision
Warning    17    warning C4244
'return' conversion from 'float' to 'int32_t'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxosc\src\ofxoscmessage.cpp    92    Community Core Vision
Warning    18    warning C4244
'return' conversion from 'int32_t' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxosc\src\ofxoscmessage.cpp    112    Community Core Vision
Error    19    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    20    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    21    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    22    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    23    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    24    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    25    error C3861
'glGenFramebuffersEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    36    Community Core Vision
Error    26    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    37    Community Core Vision
Error    27    error C3861
'glFramebufferTexture2DEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    40    Community Core Vision
Error    28    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    42    Community Core Vision
Error    29    error C3861
'glCheckFramebufferStatusEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    44    Community Core Vision
Error    30    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    132    Community Core Vision
Error    31    error C3861
'glActiveTexture'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    180    Community Core Vision
Error    32    error C3861
'glActiveTexture'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    183    Community Core Vision
Error    33    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    207    Community Core Vision
Error    34    error C3861
'glActiveTexture'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    209    Community Core Vision
Error    35    error C3861
'glActiveTexture'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\gpuimagefilter.cpp    211    Community Core Vision
Error    36    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    37    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    38    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    39    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    40    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    41    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    42    error C3861
'glGetShaderiv'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    51    Community Core Vision
Error    43    error C3861
'glGetShaderInfoLog'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    55    Community Core Vision
Error    44    error C3861
'glGetProgramiv'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    68    Community Core Vision
Error    45    error C3861
'glGetProgramInfoLog'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    72    Community Core Vision
Error    46    error C3861
'glCreateShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    83    Community Core Vision
Error    47    error C3861
'glShaderSource'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    87    Community Core Vision
Error    48    error C3861
'glCompileShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    88    Community Core Vision
Error    49    error C3861
'glCreateProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    99    Community Core Vision
Error    50    error C3861
'glAttachShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    106    Community Core Vision
Error    51    error C3861
'glAttachShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    112    Community Core Vision
Error    52    error C3861
'glProgramParameteriEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    116    Community Core Vision
Error    53    error C3861
'glProgramParameteriEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    117    Community Core Vision
Error    54    error C3861
'glProgramParameteriEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    118    Community Core Vision
Error    55    error C3861
'glAttachShader'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    125    Community Core Vision
Error    56    error C3861
'glLinkProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.cpp    128    Community Core Vision
Error    57    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    34    Community Core Vision
Error    58    error C3861
'glUseProgram'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    35    Community Core Vision
Error    59    error C3861
'glUniform1f'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    60    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    36    Community Core Vision
Error    61    error C3861
'glUniform1i'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    62    error C3861
'glGetUniformLocation'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\shaderprogram.h    37    Community Core Vision
Error    63    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    187    Community Core Vision
Error    64    error C3861
'glBindFramebufferEXT'identifier not found    g:\touch\source code\ccv-1.4-win-src\addons\ofxncore\src\filters\processfilters.h    190    Community Core Vision
Warning    65    warning C4244
'initializing' conversion from 'float' to 'int'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    85    Community Core Vision
Warning    66    warning C4244
'initializing' conversion from 'float' to 'int'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    87    Community Core Vision
Warning    67    warning C4244
'=' conversion from 'double' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    277    Community Core Vision
Warning    68    warning C4244
'=' conversion from 'double' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    278    Community Core Vision
Warning    69    warning C4244
'=' conversion from 'double' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    279    Community Core Vision
Warning    70    warning C4244
'=' conversion from 'int' to 'float'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    281    Community Core Vision
Warning    71    warning C4996
'strcat'This function or variable may be unsafeConsider using strcat_s insteadTo disable deprecation, use _CRT_SECURE_NO_WARNINGSSee online help for details.    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\fidtrackx.cpp    304    Community Core Vision
Warning    72    warning C4244
'=' conversion from 'float' to 'int'possible loss of data    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp    60    Community Core Vision
Warning    73    warning C4996
'strcpy'This function or variable may be unsafeConsider using strcpy_s insteadTo disable deprecation, use _CRT_SECURE_NO_WARNINGSSee online help for details.    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp    143    Community Core Vision
Warning    74    warning C4996
'strcpy'This function or variable may be unsafeConsider using strcpy_s insteadTo disable deprecation, use _CRT_SECURE_NO_WARNINGSSee online help for details.    g:\touch\source code\ccv-1.4-win-src\addons\ofxfiducialfinder\src\libfidtrack\treeidmap.cpp    208    Community Core Vision

these errors (the warnings I ignore since their solution means creating only VC++ source and not general C++ source) are related to the fact of the mentioned functions that are from OpenGL version >= 2.0
Microsoft SDKs only bring GL 1.1 (not sure but I had other GL libraries - GLU, GLUT, GLEW, etc - from installing CUDA SKD not sure )
to use the functions above GL 1.1 in windows Glew must be used instead
however I wasn’t unable to make GLee and GLew coexist :s
therefore my solution to these problems was change some files (ofxNCoreVision.cpp, Filters.h, GPUImageFilter.cpp, GPUImageFilter.h,ProcessFilters.h, ShaderProgram.cpp, ShaderProgram.h),
using PRE PROCESSING MACROS (

#ifndef _WIN32 // source code here #endif //_WIN32

) to only compile the shaders code on non Windows systems

4 - Then clean and build OpenFrameworks debug and realease versions
5 - Then clean and build ccv in debug and release versions
At this time both version of CCV have 1 new problem replacing the former 62, plus warnigs smile

4 - The new problem (this was a part where I cursed Microsoft and VS studio a lot really a lot) was:

1>Linking...
1>fatal error C1047The object or library file '..\..\..\addons\ofxOsc\libs\oscpack\lib\vs2008\oscpack.lib' was created with an older compiler than other objectsrebuild old objects and libraries
1
>LINK fatal error LNK1257code generation failed
1
>Build log was saved at "file://g:\touch\Source Code\CCV-1.4-win-src\apps\addonsExamples\VS2008\obj\Release\BuildLog.htm"
1>Community Core Vision 1 error(s), 12 warning(s)
========== 
Build0 succeeded1 failed0 up-to-date0 skipped ==========

to address this issue (thanks to a lot of help from Amit) after lots of e-mails (i.e., any number bigger that 1 )
I (as suggested) went to http://ccv-tt.googlecode.com/svn/branches/oscpacklib downloaded this project compiled both the debug and realease version
fwi in the project properties for the release version I add to replace the content of ‘C++ -> Additional Library Dependencies’ to ‘.\ip;.\osc’

then I copied the generated ospack(d).lib files to
‘G:\touch\Source Code\CCV-1.4-win-src\addons\ofxOsc\libs\oscpack\lib\vs2008’

thus solving the former error by replacing it by a new one (almost there promise)

5 - The new and ultimate error both in release and debug modes after compiling CCV yet another time:

1>Embedding manifest...
1>adding DLLs and creating data folder
1
>File not found - *.dll
1
>0 File(s) copied
1
>Project error PRJ0019A tool returned an error code from "adding DLLs and creating data folder"
1>Build log was saved at "file://g:\touch\Source Code\CCV-1.4-win-src\apps\addonsExamples\VS2008\obj\Release\BuildLog.htm"
1>Community Core Vision 1 error(s), 14 warning(s)
========== 
Build0 succeeded1 failed0 up-to-date0 skipped ==========

to solve this error simply copy your *.dll files in the solution bin folder to the ‘g:\touch\Source Code\CCV-1.4-win-src\other\dlls’
and make sure that your project post build option is the following command line:

xcopy ///"$(ProjectDir)..\..\..\other\dlls\*.dll" bin if not exist "bin\data" mkdir  "bin\data"

Test by rebuilding both CCV release and debug versions
And it worked, the .exe also run !!!!!!

They I praised the Gods, random Cursed a lot ....

The oscpack project and only the altered files are in the attached zip files (just copy paste the files over CCv 1.4 repo download

File Attachments
oscpacklib.zip  (File Size: 4655KB - Downloads: 412)
 Signature 

moshimo negai hitotsu dake kanau nara ... three steps below shukuchi

Profile
 
 
Posted: 04 May 2011 04:22 AM   [ Ignore ]   [ # 6 ]
Avatar
Rank
Joined  2011-04-28
Total Posts:  17
New Member

The rest of the files

File Attachments
Community_Core_Vision.zip  (File Size: 4561KB - Downloads: 426)
 Signature 

moshimo negai hitotsu dake kanau nara ... three steps below shukuchi

Profile
 
 
Posted: 04 May 2011 04:28 AM   [ Ignore ]   [ # 7 ]
Avatar
Rank
Joined  2011-04-28
Total Posts:  17
New Member

Missed one sorry

File Attachments
Community_Core_Vision - Part (2).zip  (File Size: 14052KB - Downloads: 463)
 Signature 

moshimo negai hitotsu dake kanau nara ... three steps below shukuchi

Profile
 
 
Posted: 20 May 2013 09:27 AM   [ Ignore ]   [ # 8 ]
Avatar
Rank
Joined  2013-02-08
Total Posts:  25
New Member

Hi everybody… I’m newbie here…
I tried compiling CCV 1.4 many times on VS 2008 Express edition, professional edition and VS 2010 but I don’t know why all of them didn’t work.
It has some problem like this thread
http://nuigroup.com/forums/viewthread/5856/
I tried what Mr. Mono said, but I still have the same problem.
When I built the project solution, it seems success because nothing error was reported. But when I pressed ‘start debugging’ button, it gives me 2 warning and there’s error report on the console. I attach those 3 pictures, picture 1 and 2 are warning window and picture 3 is error report on console.

Can anybody tell me why it happen? And what I supposed to do to solve this problem? :’(
Thank you....

Image Attachments
1.PNG2.PNG3.png
Profile
 
 
Posted: 29 May 2013 04:56 AM   [ Ignore ]   [ # 9 ]
Avatar
Rank
Joined  2011-04-28
Total Posts:  17
New Member

Use the source I provide it was working.
In VS2008 professional in Win 7 x64.
Also, try compiling the debug version.
Probably you need to compile one of the libraries and not CCV which may be causing the SNAFU.

 Signature 

moshimo negai hitotsu dake kanau nara ... three steps below shukuchi

Profile
 
 
Posted: 21 June 2013 10:57 AM   [ Ignore ]   [ # 10 ]
Avatar
Rank
Joined  2013-02-08
Total Posts:  25
New Member

I try to use your attachment program, but I don’t know why it still not working on my project.

can anybody make a video tutorial about how to compile CCV on Visual Studio? Begin from download the CCV source from repository until you got the exe file.
I tried to search it on youtube, but I didn’t find it. I think it would be very useful. :D

Profile