I've been trying for quite a while to get irrBullet working, but it won't compile. Like a few other people on this topic, when running the make command, I'm getting the error:
Code: Select all
make: Circular ../source/boxshape.cpp <- ../source/boxshape.cpp dependency dropped.
make: *** No rule to make target `Bullet/btBulletDynamicsCommon.h', needed by `../source/boxshape.cpp'. Stop.
I'm using Ubuntu 12.10, by the way. I just set up my computer to dual-boot Ubuntu and Windows 8 this week, so I'm not yet familiar with all this technical stuff like makefiles. I was previously using Dark GDK with MSVC++, and that just required me to link to a few libraries and use some header files. I'd kinda like to know why it's different here, as irrlicht, irrBullet, and Bullet (I don't know if I actually had to download Bullet as well, but a forum said so, so I tried it to see if it made a difference in getting irrBullet to work. It doesn't) have all required me to actually build from the source code. I know that might not be entirely on topic here, but I think if I knew WHY I had to do this stuff, it would help a lot in getting it to actually work. I noticed that there are already libraries for Windows (both with MSVC++ and with gcc), but just an empty folder for Linux, requiring me to create the files myself. I assume this is due to differences in Linux distributions that would somehow prevent a single library from working for all distros. If that's
not the case, however--if a library for linux would work with any (or at least most) linux distros-- then I think it would be really nice if that library file could be included in the download.
I've also tried moving the Windows gcc library into the linux folder, in case that worked. It doesn't. At least, I don't
think it helped. It solved one error, but made eight more.
I have also tried to open the Code::Blocks file for irrBullet, but it asks me to define the global variable "irrlicht", and I have no idea what it's supposed to be.
If anyone could offer me some advice, it would be VERY much appreciated. I enjoy solving computer issues, for an hour or two. But when I have no idea what I'm doing, and I've been doing it for several hours with no improvement, it becomes annoying.
P.S. For anyone who's going to suggest I just do it in Windows 8, yeah, I know. My plan is to have all this stuff set up such that I can do my programming in either OS. I'm planning on making a game that works with both Windows and Linux (hopefully all/most Linux, and not just Ubuntu), so I want to be able to test it in both. I'm gonna try setting it up in Windows now, but even if that works, it's not really a solution, so I'd really like to get irrBullet working in Ubuntu. Plus, I just feel like it makes more sense to do my programming in an OS for geeks.
P.P.S I'm not entirely clear on what irrBullet does, actually. So, it basically makes irrlicht stuff and Bullet stuff compatible with each other, right? So it wouldn't be possible (or easy) to use irrlicht and Bullet without a wrapper, I assume.
P.P.P.S Sorry for any and all stupid questions I've asked.