Coder Social home page Coder Social logo

Getting Errors on compile about crea HOT 7 CLOSED

LeartZ avatar LeartZ commented on June 15, 2024
Getting Errors on compile

from crea.

Comments (7)

LeartZ avatar LeartZ commented on June 15, 2024

Hmm... I think one of the problems was that I was using the latest OF release (0.9). So I got the 0.8, however now I'm getting over a 1000 errors.

I'll try with an older visual studio as well... but still... if there's anything else I should be looking up for, please let me know.

Thanks

from crea.

LeartZ avatar LeartZ commented on June 15, 2024

Still the same issue... downloaded VS 2012 and tried everything I could!

from crea.

LeartZ avatar LeartZ commented on June 15, 2024

and, on Code Blocks, I'm getting only 6 errors:

||=== Build: release in crea (compiler: GNU GCC Compiler) ===|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h||In function 'int ofxCv::getDepth(ofTexture&)':|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|45|error: 'class ofTextureData' has no member named 'glInternalFormat'|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h||In function 'int ofxCv::getChannels(ofTexture&)':|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|104|error: 'class ofTextureData' has no member named 'glInternalFormat'|
E:\Dokutech\Development\V8 CB\of_v0.8.4_win_cb_release\addons\ofxCv\libs\ofxCv\src\Calibration.cpp||In member function 'bool ofxCv::Calibration::calibrateFromDirectory(std::string)':|
E:\Dokutech\Development\V8 CB\of_v0.8.4_win_cb_release\addons\ofxCv\libs\ofxCv\src\Calibration.cpp|298|error: 'ofImage' has no member named 'load'|
E:\Dokutech\Development\V8 CB\of_v0.8.4_win_cb_release\addons\ofxCv\libs\ofxCv\src\Calibration.cpp||In member function 'void ofxCv::Calibration::draw(int) const':|
E:\Dokutech\Development\V8 CB\of_v0.8.4_win_cb_release\addons\ofxCv\libs\ofxCv\src\Calibration.cpp|385|error: 'ofDrawCircle' was not declared in this scope|
E:\Dokutech\Development\V8 CB\of_v0.8.4_win_cb_release\addons\ofxCv\libs\ofxCv\src\Calibration.cpp||In member function 'void ofxCv::Calibration::draw3d(int) const':|
E:\Dokutech\Development\V8 CB\of_v0.8.4_win_cb_release\addons\ofxCv\libs\ofxCv\src\Calibration.cpp|430|error: 'ofDrawCircle' was not declared in this scope|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h||In instantiation of 'cv::Mat ofxCv::toCv(ofBaseHasPixels_&) [with T = unsigned char]':|
E:\Dokutech\Development\V8 CB\of_v0.8.4_win_cb_release\addons\ofxCv\libs\ofxCv\src\Calibration.cpp|299|required from here|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|235|error: no matching function for call to 'toCv(unsigned char_)'|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|235|note: candidates are:|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|230|note: cv::Mat ofxCv::toCv(cv::Mat&)|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|230|note: no known conversion for argument 1 from 'unsigned char_' to 'cv::Mat&'|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|231|note: template cv::Mat ofxCv::toCv(ofPixels_&)|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|231|note: template argument deduction/substitution failed:|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|235|note: mismatched types 'ofPixels_' and 'unsigned char_'|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|234|note: template cv::Mat ofxCv::toCv(ofBaseHasPixels_&)|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|234|note: template argument deduction/substitution failed:|
......\addons\ofxCv\libs\ofxCv\include\ofxCv\Utilities.h|235|note: mismatched types 'ofBaseHasPixels_' and 'unsigned char_'|
||=== Build failed: 6 error(s), 2 warning(s) (0 minute(s), 2 second(s)) ===|

from crea.

ashwinv11 avatar ashwinv11 commented on June 15, 2024

I'm also having the same issue. I tried switching to the develop branch in ofxCv and that removed some errors, but I'm still having issues in irMarker.cpp

from crea.

mtslp avatar mtslp commented on June 15, 2024

seems that No member named 'glInternalFormat' in 'ofTextureData' error comes from ofxCv . cant figure out whats wrong

from crea.

LeartZ avatar LeartZ commented on June 15, 2024

Guys I somehow came to make it. But mainly just deleting/commenting where the issues showed up as they wheren't vital. Although that old Crea version cleared up most of the issues

from crea.

fabiaserra avatar fabiaserra commented on June 15, 2024

Hey guys, I have created a new branch and now the project should compile under OF 0.9.3: https://github.com/fabiaserra/crea/tree/OF0.9

from crea.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.