while trying the manual example codes on codeblock, i’ve had many compilation error, i guess codeblock need some specific config? here the code folowed by the errors
#include "pandaFramework.h"
#include "pandaSystem.h"
PandaFramework framework;
int main(int argc, char *argv[]) {
//open a new window framework
framework.open_framework(argc, argv);
//set the window title to My Panda3D Window
framework.set_window_title("My Panda3D Window");
//open the window
WindowFramework *window = framework.open_window();
//here is room for your own code
//do the main loop, equal to run() in python
framework.main_loop();
//close the window framework
framework.close_framework();
return (0);
}
C:\Users\Pierrick Charlebois\Documents\Programmation\Pandatest\test1.cpp|1|pandaFramework.h: No such file or directory|
C:\Users\Pierrick Charlebois\Documents\Programmation\Pandatest\test1.cpp|2|pandaSystem.h: No such file or directory|
C:\Users\Pierrick Charlebois\Documents\Programmation\Pandatest\test1.cpp|4|error: `PandaFramework' does not name a type|
C:\Users\Pierrick Charlebois\Documents\Programmation\Pandatest\test1.cpp||In function `int main(int, char**)':|
C:\Users\Pierrick Charlebois\Documents\Programmation\Pandatest\test1.cpp|8|error: `framework' undeclared (first use this function)|
C:\Users\Pierrick Charlebois\Documents\Programmation\Pandatest\test1.cpp|8|error: (Each undeclared identifier is reported only once for each function it appears in.)|
C:\Users\Pierrick Charlebois\Documents\Programmation\Pandatest\test1.cpp|12|error: `WindowFramework' undeclared (first use this function)|
C:\Users\Pierrick Charlebois\Documents\Programmation\Pandatest\test1.cpp|12|error: `window' undeclared (first use this function)|
||=== Build finished: 7 errors, 0 warnings ===|