Page 3 of 14

Posted: Mon Dec 06, 2010 6:03 pm
by macron12388
Hi,

Has anyone compiled a library for the MinGW compiler yet? As in a library (of irrBP) that can be used in the IDE Code::Blocks?

If it hasn't been done yet I will gladly take on that task. I have already started getting it ready for that.

:D

EDIT: Once I'm done and the author of irrBP verifies that it works properly, then maybe it could be added to:
http://code.google.com/p/irrbp/downloads/list

Posted: Wed Dec 08, 2010 11:27 am
by Monio666
Sorry for posting again, but did anyone see my question at page 2??

Thanks.

Posted: Wed Dec 08, 2010 5:36 pm
by Zurzaza
@macron: thank you very much. I was looking for someone that works on C::B. Contributions are always welcome. Send me a pm or an email with your project data\contributions and I'll add it!

@Monio: Sorry, i didn't see your question, but I didn't understand it very much. What do you want exactly do? Can you explain it a more bit?

Posted: Wed Dec 08, 2010 6:06 pm
by macron12388
Zurzaza wrote:@macron: thank you very much. I was looking for someone that works on C::B. Contributions are always welcome. Send me a pm or an email with your project data\contributions and I'll add it!
I'll be sure to do that! :D

I just wish I had more time to work on it though, school and household chores get in the way :x

Posted: Wed Dec 08, 2010 6:52 pm
by serengeor
just compiled SVN version of irrBP under ubuntu using code::blocks 10.05, was hell of a job to correct your mistakes in paths, letter caps :D

Also it said something about that mesh has no method 'clear()'

Posted: Wed Dec 08, 2010 6:57 pm
by Zurzaza
serengeor wrote:just compiled SVN version of irrBP under ubuntu using code::blocks 10.05, was hell of a job to correct your mistakes in paths, letter caps :D

Also it said something about that mesh has no method 'clear()'
Pleased to hear that! But what did you need to correct? Under VS all goes clear with compilation..

Posted: Wed Dec 08, 2010 6:59 pm
by macron12388
serengeor wrote:just compiled SVN version of irrBP under ubuntu using code::blocks 10.05, was hell of a job to correct your mistakes in paths, letter caps :D

Also it said something about that mesh has no method 'clear()'
Wow, you work fast! :shock: I was running into a whole bunch of path problems with the CMakeLists.txt s

I'm just compiling the intermediate Bullet static libs.a :lol:

EDIT: Okay it's done, I just need to compile the final IrrBP.a thing lib

Looks like you beat me to it oh well

Did you use the CMake serengeor?

Posted: Wed Dec 08, 2010 7:04 pm
by serengeor
well you included like this:

Code: Select all

SoftBody/blabla.h
while the directory is:

Code: Select all

softbody

also some files had lower case letters where they should have been uppercase:

Code: Select all

#include <body/CIrrBpRigidBody.h>
should be:

Code: Select all

#include <body/CIrrBPRigidBody.h>

also you mixed up:

Code: Select all

\
with:

Code: Select all

/

Posted: Wed Dec 08, 2010 7:07 pm
by macron12388
serengeor wrote:well you included like this:

Code: Select all

SoftBody/blabla.h
while the directory is:

Code: Select all

softbody

also some files had lower case letters where they should have been uppercase:

Code: Select all

#include <body/CIrrBpRigidBody.h>
should be:

Code: Select all

#include <body/CIrrBPRigidBody.h>

also you mixed up:

Code: Select all

\
with:

Code: Select all

/
Instead of changing the paths, I just changed the build options->compiler settings to src folder in the bullet base folder. That way I didn't have to change AAAALLLL the paths, and the #include path/blabla found the files their hungry little preprocessor mouths wanted.

Posted: Wed Dec 08, 2010 7:07 pm
by Zurzaza
Ooops...i forgot that under unix system, the path are case sensitives. I'll update the source, when You're ready to release C::B projects. ;)

Posted: Wed Dec 08, 2010 7:15 pm
by serengeor
mirror1:http://www.failai.in/show/F/761156852/i ... nly.tar.gz
mirror2:http://www.2shared.com/file/0et9JOUi/ir ... lytar.html
Theres the project, tough I commented out the part where it said that mesh doesn't have method 'clear()' you should check that out.

Posted: Wed Dec 08, 2010 8:22 pm
by Zurzaza
ok, i fixed the whole file affected by "path error", inserted your c::b project, and credited you.
Thank you again.
Waiting for google code to update the SVN & files.

Posted: Wed Dec 08, 2010 8:33 pm
by serengeor
Glad to help :wink:

I seriously need to get back into programming, this was so fun :lol:

PS.

Whats wrong with:
CIrrBPPatchSoftBody.cpp

Code: Select all

mesh->clear();
As far as I saw, theres no method clear in SMesh or IMesh.

P.S. i renamed it to remove() and didn't rename it back.

Posted: Wed Dec 08, 2010 8:48 pm
by Zurzaza
serengeor wrote: Whats wrong with:
CIrrBPPatchSoftBody.cpp

Code: Select all

mesh->clear();
As far as I saw, theres no method clear in SMesh or IMesh.
When compiling irrBP, i was using an irrlicht svn version, that included mesh->clear() function; I simply copied it, overwriting "mesh->clear();".
serengeor wrote:P.S. i renamed it to remove() and didn't rename it back.
No problem...saw it and removed ;)

Posted: Wed Dec 08, 2010 9:00 pm
by macron12388
*dreamy eyes at above posters*

I hope I can be cool programmers like them one day...

:D Well, that was really good practice compiling libraries, even if it took me a two days to do it...

Haha, just changing the "/"s to "\" was okay, but a bit boring..... :P

P.S. I don't know if something happened during zip extraction on my PC, but the file

Code: Select all

CIrrBPSpringConstraint.cpp
has no header...