Finding ofMain.h in TronCicles project

Hi guys and thank you for opening topics. I’m new here and had dumb problem and question.
I want to open project TronCicles. The problem is that it looking for file, which is not included in project.

I assume, that I need to include file from main library, but I don’t understand how to include it or setup path for it.

Sorry, I’m already find a solution and launch project in project generator.
But I’m faced a new problem

Hi Mark,

This is a weird one if I’m not mistaken:

  1. to use an addon, transfer the ofxAddonName folder into your OFPath/addons/ folder, and rename it by removing the -master at the end.
    Then using the project generator ( inside the script folder12
    from the root of your OF path), import your sketch and add the correct addon, which will create the right project structure for you to use with xCode, and by doing that including the right dependencies in the addons.make file and .xcodeproj .

  2. The addon structure is unusually composed so it should be used differently from a normal addon, and added straight as an app into your apps folder, and used as it is, importing it with the project generator.

Hope this helps,

P

yes, just change the content of your ofMain.cpp to this :

#include "testApp.h"
#include "ofAppGlutWindow.h"

//========================================================================
int main( ){
    
    ofSetupOpenGL(1280, 1024, OF_WINDOW);
	ofRunApp( new testApp());

}

and in arc.cpp line 32 :
vector<glm::vec3> innerCircleMeshOutline
instead of vector<ofVec3f> innerCircleMeshOutline.

(it compiled for me).

Best,

P

Thank you very much! It’s really help!)