Does not know how to implement physics world. (SOLVED)

This is probably a case of not studying well enough on my part, but I cannot figure out what I am doing wrong. In case it matters I am a user of Anjuta, and this is the clip of my code that seems to be at fault:
Code:
b2AABB demensions;
demensions.minVertex.Set(0.0,0.0);
demensions.maxVertex.Set(320.0,240.0);
b2Vec2 gravity(0.0,-10.0);
b2World pworld(demensions,gravity,true);          <-
//Declare object in the world
b16x16.extents.Set(8.0,8.0);
b16x16.density=0.0;
tbox.position.Set(0.0,0.0);
tbox.AddShape(&b16x16);
b2Body* ground=pworld.CreateBody(&tbox);         <-

In case your at all wondering, I declared b16x16 and tbox elsewhere, they are not an issue. According to Anjuta, the lines with the arrows next to them are at fault and this is what it tells me:
Quote:
main.o: In function 'main':
main.cc:129: undefined reference to 'b2World::b2World(b2AABB const&, b2Vec2 const&, bool)'
main.cc:135: undefined reference to 'b2World::CreateBody(b2BodyDef const*)'
main.cc:135: undefined reference to 'b2World::~b2World()'
main.cc:135: undefined reference to 'b2World::~b2World()'

Those last two are at fault at 'return 0;' at the end of main, but I suspect this is merely a result of the first two. I hope that code has helped you to helping me.
Looks like you aren't including Box2D.h
Make sure you're compiling the *.cpp files too, or including the library.
I knew I would regret not mentioning it, but yes, I am including Box2D.h... in fact, in this specific instance its "Box2D/Include/Box2D.h". As for including the library... erm... my Box2D didn't come with anything in the library folder...? Is that the problem?
Yes, you need to compile the Box2D library yourself. Try using one of the project files in the "Build" folder if you have an appropriate compiler. Otherwise, you can try my copy of the build (1.4.3).
I tried and tried and could not get it to recognize your library file... also, I could not figure out how to build one myself. I am starting to think at this point that I am going to need someone with more Anjuta specific experiance.

Update:
Ok, I think I've figured out how to build the library myself, but I'm getting a whole lot of errors... a WHOLE lot.
You're using linux? I'm pretty sure the library file is operating system dependent (and I'm using Windows) hence why it's not included with Box2D and you should compile it yourself.

I'm not familiar with Anjuta, but I would imagine it should have some sort of project options where you can include libs. I got a lot of warnings in vc++, but no errors. The TestBed is dependent on freeglut and glui, so you have to make sure you compile those in the right order (no idea how you might set that up in Anjuta). I *think* you have to include all the *.cpp files into your project, and configure it to build a library as the output instead of creating the standard console window. Maybe Anjuta has a template for library building that you can use.
I had figured you used Windows (.zip) but figured I'd try anyways. I also suspected that libraries were OS dependant. Yes, I know how to include libraries with Anjuta, but I don't know how to compile libraries with Anjuta. I learned the other day how I am supposed to be able to do it in the command line but I get far too many errors to post here in the forum.

Update:
Well, thanks to 'Box2D Linux Library?' and Macson_g, I seem to have compiled a library file... now I've just got to get it to work.
For anyone that get's here throu Googling your problems:

Have you tried building with the CodeBlocks IDE?

dir:
[Box2D_vX.X.X/Box2D/Build/CodeBlocks]

Original thread: https://box2d.org/forum/viewtopic.php?t=321