Search found 41 matches
- Wed Apr 18, 2007 3:50 pm
- Forum: Beginners Help
- Topic: Some simple organization questions.
- Replies: 22
- Views: 2066
- Tue Apr 17, 2007 5:23 pm
- Forum: Beginners Help
- Topic: Some simple organization questions.
- Replies: 22
- Views: 2066
- Mon Apr 16, 2007 4:22 pm
- Forum: Beginners Help
- Topic: Some Linux Questions :)
- Replies: 8
- Views: 739
- Mon Apr 16, 2007 4:18 pm
- Forum: Beginners Help
- Topic: Some simple organization questions.
- Replies: 22
- Views: 2066
- Mon Apr 16, 2007 4:14 pm
- Forum: Beginners Help
- Topic: This error is driving me nuts
- Replies: 13
- Views: 947
- Mon Apr 16, 2007 12:30 am
- Forum: Beginners Help
- Topic: Some simple organization questions.
- Replies: 22
- Views: 2066
- Sun Apr 15, 2007 11:58 pm
- Forum: Beginners Help
- Topic: Some simple organization questions.
- Replies: 22
- Views: 2066
Some simple organization questions.
So I'm still pretty new to C++ and have a few questions.
I don't like how all the irrlicht examples are organized. I prefer to have my projects broken up into different functions and files. When trying to do this to some irrlicht examples I have problems when trying to pass variables into functions ...
I don't like how all the irrlicht examples are organized. I prefer to have my projects broken up into different functions and files. When trying to do this to some irrlicht examples I have problems when trying to pass variables into functions ...
- Sun Apr 15, 2007 11:54 pm
- Forum: Beginners Help
- Topic: Some Linux Questions :)
- Replies: 8
- Views: 739
- Sun Apr 15, 2007 11:51 pm
- Forum: Beginners Help
- Topic: This error is driving me nuts
- Replies: 13
- Views: 947
There are only two .cpp files and only one of those files has declares for my variables. They are definitely only declared once. The file is still #included in my main.cpp but I only get errors when I add it as part of my codeblocks project. If it was an error with the code, wouldn't I still get the ...
- Sat Apr 14, 2007 6:57 pm
- Forum: Beginners Help
- Topic: This error is driving me nuts
- Replies: 13
- Views: 947
- Tue Apr 10, 2007 5:07 pm
- Forum: Beginners Help
- Topic: irrlicht 1.3 and linux, plus other questions :p
- Replies: 7
- Views: 669
- Tue Apr 10, 2007 4:53 pm
- Forum: Beginners Help
- Topic: This error is driving me nuts
- Replies: 13
- Views: 947
- Tue Apr 10, 2007 4:24 pm
- Forum: Beginners Help
- Topic: This error is driving me nuts
- Replies: 13
- Views: 947
I've tried making them extern but it's of no use. The reason device is set to 0 is because it won't compile if I don't. I get an error saying "device not declared in this scope" because the variable is declared in main.cpp but is used in event.cpp. I'll post the contents of main.cpp when I get home.
- Tue Apr 10, 2007 4:58 am
- Forum: Beginners Help
- Topic: This error is driving me nuts
- Replies: 13
- Views: 947
- Tue Apr 10, 2007 3:59 am
- Forum: Beginners Help
- Topic: This error is driving me nuts
- Replies: 13
- Views: 947
This error is driving me nuts
When compiling I get this error:
obj/Debug/main.o: In function `irrAllocator':
/home/mike/irrlicht/include/irrAllocator.h:26: multiple definition of `device'
obj/Debug/event.o:/home/mike/projects/irrtemp/event.cpp:13: first defined here
obj/Debug/main.o: In function `irrAllocator':
/home/mike ...
obj/Debug/main.o: In function `irrAllocator':
/home/mike/irrlicht/include/irrAllocator.h:26: multiple definition of `device'
obj/Debug/event.o:/home/mike/projects/irrtemp/event.cpp:13: first defined here
obj/Debug/main.o: In function `irrAllocator':
/home/mike ...