compilation of manual code on Code::Block

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 ===|

Yes, this indicates a failure to configure the environment properly.

This page may help:
panda3d.org/manual/index.php/H … tudio_2008
Although it is for Visual Studio 2008, the same instructions might apply for Code::Blocks. But I give you no guarantee that you can have any success with Code::Block at all.