@pxt wrote:
why this is givin me an error on debug mode but not on realease mode?
vector<ofPoint>p; //-------------------------------------------------------------- void ofApp::setup(){ ofBackground(255); ofPoint a; a.set(0,0,0); p.push_back(a); ofPoint b = p.at(0); }
i dont know what i touch, but this did not happen before.
What about this?
This isnt working on realease and debug:vector<ofPolyline*>polyLines; //-------------------------------------------------------------- void ofApp::setup(){ ofBackground(255); ofPolyline *t; polyLines.push_back(t); ofPolyline *a; a = polyLines.at(0); a->addVertex(0,0); }
this is the error:
was compiled with optimization - stepping may behave oddly; variables may not be available. **(lldb)**
Posts: 1
Participants: 1