Search found 14 matches

by ragnatic
Sun Feb 26, 2012 4:24 am
Forum: Beginners Help
Topic: Generate a make file from a Codeblocks project
Replies: 5
Views: 1614

Re: Generate a make file from a Codeblocks project

The errors are because you don't link opengl, that's -lGL. By the way Irrlicht comes also with a Makefile - and additionally you could probably get CodeBlocks running in ArchLinux I guess (although I never tried that one). I'm trying to generate a make file from a Codeblocks project that uses Irrli...
by ragnatic
Sat Feb 25, 2012 11:17 pm
Forum: Beginners Help
Topic: Generate a make file from a Codeblocks project
Replies: 5
Views: 1614

Re: Generate a make file from a Codeblocks project

I'm getting some success with cmake but I'm having some problems This is my folder   Project     -CMakeLists.txt     -main.cpp     -Irrlicht         -include         -source         -bin/Linux      -bin         -CMakeLists.txt         -actual binary file These are my CMakeLists files. First the one ...
by ragnatic
Fri Feb 24, 2012 11:07 pm
Forum: Beginners Help
Topic: Generate a make file from a Codeblocks project
Replies: 5
Views: 1614

Generate a make file from a Codeblocks project

I really don't know how to generate a makefile from a Codeblocks project so it can be executed in other SOs. Like programming in Arch Linux and running this code in Ubuntu. That's my particular case. I've been searching and I found this http://irrlicht.sourceforge.net/forum/viewtopic.php?f=1&t=4...
by ragnatic
Tue Jan 31, 2012 2:45 am
Forum: Beginners Help
Topic: Irrlicht in Arch Linux
Replies: 12
Views: 2744

Re: Irrlicht in Arch Linux

Finally I got what was wrong. CuteAlien and lyad coments made me look what I had in linker settings. And then I realized my noob mistake... In linker settings I didn't add, one by one, all those libs. I just added all in a single "add library" dialog (Please don't kill me). Thank you all f...
by ragnatic
Mon Jan 30, 2012 9:59 pm
Forum: Beginners Help
Topic: Irrlicht in Arch Linux
Replies: 12
Views: 2744

Re: Irrlicht in Arch Linux

If doing a make is in fact compiling then yes. make is always succesful and I can run the binary in the bin/Linux folder. The thing is when I click "compile" in Codeblocks with, let's say, the code of the first example in a new project. That fails and I get the errors shown above.
by ragnatic
Mon Jan 30, 2012 5:10 pm
Forum: Beginners Help
Topic: Irrlicht in Arch Linux
Replies: 12
Views: 2744

Re: Irrlicht in Arch Linux

CuteAlien wrote:Just to get that right - you _can_ compile on console? It is only failing in codeblocks?
Well, I was only referring to the make of the examples, not compiling. My bad. I can run the examples just fine.

This libx11-dev is not available in pacman.
by ragnatic
Mon Jan 30, 2012 1:40 am
Forum: Beginners Help
Topic: Irrlicht in Arch Linux
Replies: 12
Views: 2744

Re: Irrlicht in Arch Linux

Sorry about that. Here it is. -------------- Build: Release in Prueba --------------- Linking console executable: bin/Release/Prueba /home/ragnarch/Programar/irrlicht-1.7.2/lib/Linux/libIrrlicht.a(CIrrDeviceLinux.o): In function `~CIrrDeviceLinux': /irrlicht-1.7.2/source/Irrlicht/CIrrDeviceLinux.cpp...
by ragnatic
Sun Jan 29, 2012 10:20 pm
Forum: Beginners Help
Topic: Irrlicht in Arch Linux
Replies: 12
Views: 2744

Irrlicht in Arch Linux

In the past I've used Irrlicht in Ubuntu distros with not a major problem. Now I'm using Arch (x86_64), which is a great distro, and I need to use Irrlicht again. The compiling went smooth and I can even make the examples and run them but, just to try the compiler, I tried to compile the first examp...
by ragnatic
Thu Feb 11, 2010 12:44 am
Forum: Bug reports
Topic: B3D cyclic animations in 1.7 or 1.6
Replies: 8
Views: 1277

Ideally numbers 0 through 5 because my model has 6 frames. But with the modifications i posted i pass 1 through 6.

BTW, I got the cylic animation in the Meshviewer but not in my program.
by ragnatic
Wed Feb 10, 2010 8:39 pm
Forum: Bug reports
Topic: B3D cyclic animations in 1.7 or 1.6
Replies: 8
Views: 1277

It's something like this

Code: Select all

       if(newframe>frame)
                    modelo_b->setFrameLoop(frame, newframe);

                else
                    modelo_b->setFrameLoop(newframe-1, frame-1);

                frame = newframe;
I need to increase or decrease one frame at a time.
by ragnatic
Wed Feb 10, 2010 4:33 pm
Forum: Bug reports
Topic: B3D cyclic animations in 1.7 or 1.6
Replies: 8
Views: 1277

I finally got the cyclic animation by copying the first frame in the beginning of the animation and two times in the end. Something like this:

1 1 2 4 5 6 1 1
by ragnatic
Wed Feb 10, 2010 1:52 pm
Forum: Bug reports
Topic: B3D cyclic animations in 1.7 or 1.6
Replies: 8
Views: 1277

B3D cyclic animations in 1.7 or 1.6

Well, back in 1.5.1 I modeled a rotating cube in Blender. I wanted a b3d file so I used gandaldf's b3d exporter. The coder warns about cyclic animation saying "I suggest you to copy the first frame to the last in way to have the model exactly in the same position". I did that and positivel...
by ragnatic
Sun Nov 22, 2009 3:02 pm
Forum: Beginners Help
Topic: File path problem
Replies: 2
Views: 259

Fixed. Thanks for the help, Acki =)
by ragnatic
Sun Nov 22, 2009 5:30 am
Forum: Beginners Help
Topic: File path problem
Replies: 2
Views: 259

File path problem

Hi, I'm new in the forums but I've been using Irrlicht for a few months. I searched about my problem but didn't find any clue. I use Codeblocks to compile my Irrlicht programs and in that matter everything is fine until I click in the Run button. Every file, be it models or textures or whatever, don...