Search found 10 matches
- Wed Apr 23, 2008 6:25 pm
- Forum: Beginners Help
- Topic: Incorrect Camera/Mesh movement
- Replies: 7
- Views: 508
- Fri Apr 11, 2008 10:45 am
- Forum: Beginners Help
- Topic: Making house for FPS game.
- Replies: 6
- Views: 250
- Thu Apr 10, 2008 11:07 am
- Forum: Beginners Help
- Topic: Segmentation fault using event receiver
- Replies: 8
- Views: 349
Go and learn a bit about pointers and you'll understand better ;) The pointer code for your playfieldmgr you posted there will just crash because your pointer hasn't been initialised. So you'd have to do: PlayfieldMgr* playfieldMgr = new PlayFieldMgr(); Yes sir :) I perfectly know what pointers are...
- Thu Apr 10, 2008 10:30 am
- Forum: Beginners Help
- Topic: Segmentation fault using event receiver
- Replies: 8
- Views: 349
There are several ways to avoid this. I recommend making receiver a membervariable of your PlayfieldMgr class. Then it will be valid as long as your PlayfieldMgr object lives. Which is probably what you want. You could also make it global, but that's not the OO-way. Aha! i think i see it now. "...
- Wed Apr 09, 2008 6:11 pm
- Forum: Beginners Help
- Topic: Segmentation fault using event receiver
- Replies: 8
- Views: 349
Segmentation fault using event receiver
Hi everyone. First i'm truly sorry for the overhead here, but it looks like my only way out. I'm trying to code tetris as a first project to learn better C++ and of course irrlicht :) Now i've come to the point where i want to write code to move my blocks left and right. When i use the eventreceiver...
- Sat Feb 16, 2008 7:37 pm
- Forum: Beginners Help
- Topic: Linux + irrLicht + irrKlang: Demo doesn't compile
- Replies: 5
- Views: 535
It worked! Thank you! :lol: I still had to add -pthread to get it working though. The full line of my makefile looks like this now (just posting for if anyone else runs into the same issue): CPPFLAGS = -I../../include -I/usr/X11R6/include /home/lenx/irrKlang-1.0.4/bin/linux-gcc/libIrrKlang.so -pthread
- Sat Feb 16, 2008 6:14 pm
- Forum: Beginners Help
- Topic: Linux + irrLicht + irrKlang: Demo doesn't compile
- Replies: 5
- Views: 535
- Sat Feb 16, 2008 5:35 pm
- Forum: Beginners Help
- Topic: Linux + irrLicht + irrKlang: Demo doesn't compile
- Replies: 5
- Views: 535
Linux + irrLicht + irrKlang: Demo doesn't compile
Hi there, I'm trying to get irrLicht working in ubuntu. So far i can compile and run examples, but when i try to compile the demo, i get an error related to irrKlang: CDemo.cpp:(.text+0x26b): undefined reference to `irrklang::createIrrKlangDevice(irrklang::E_SOUND_OUTPUT_DRIVER, int, char const*, ch...
- Sun Aug 27, 2006 6:39 pm
- Forum: Beginners Help
- Topic: error when executing hello world (DEV-C++ compiled)
- Replies: 2
- Views: 146
that could have been a reason since i still had 1.0 installed somewhere, however it didnt work after deleting. Anyway, you guided me to the solution with this post! Appearantly i was stupid enough to use the win32 dll file instead of the gcc file. I just replaced the Irllicht.dll file with the corre...
- Sun Aug 27, 2006 6:11 pm
- Forum: Beginners Help
- Topic: error when executing hello world (DEV-C++ compiled)
- Replies: 2
- Views: 146
error when executing hello world (DEV-C++ compiled)
Hi there, I followed the dev-c++ tutorial here http://irrlicht.sourceforge.net/tut001b.html and i could compile the whole hello universe thing without any error. Althoug when executing the .exe i get the following error box popping up: "The procedure entry point _ZN3irr12createDeviceENS_5video1...