Search found 14 matches

by knicholes
Mon Dec 15, 2008 1:31 am
Forum: Beginners Help
Topic: Game Won't Run On Macs or Vista
Replies: 7
Views: 454

So wait, if I just install MinGW on a Mac or a Vista machine and compile the very same source code I used on my XP machine, it will create an executable (or mac executable equivalent) that will work properly on similar machines? I don't have to do anything special with the compiler or with the progr...
by knicholes
Sun Dec 14, 2008 11:10 pm
Forum: Beginners Help
Topic: ISceneNode Inheritance
Replies: 5
Views: 336

Cool, thanks for the help guys! I realized it's because I needed to just do a static_cast<Tile*> to the smgr pointer.
by knicholes
Sun Dec 14, 2008 10:58 pm
Forum: Beginners Help
Topic: Game Won't Run On Macs or Vista
Replies: 7
Views: 454

Game Won't Run On Macs or Vista

Hey, I wrote this 8puzzle game that works just fine on my PC but and it won't run on macs. Can anyone tell me what I can do to get it to work? My friends say they run the executable and then nothing happens. I compiled with MinGW gcc. Here's just the beginning of my code. Maybe it has something to d...
by knicholes
Sun Dec 14, 2008 4:01 am
Forum: Beginners Help
Topic: ISceneNode Inheritance
Replies: 5
Views: 336

ISceneNode Inheritance

I wrote a working text-based version of an 8 puzzle, but I want to add graphics using irrlicht. I don't want to have to re-write everything, so I want to just inherit my Tile (the pieces you move around) class from the ISceneNode class. I have this as my simple and initial attempt to inherit. class ...
by knicholes
Thu Oct 30, 2008 10:36 pm
Forum: Beginners Help
Topic: Events... I Can't get them right! :{
Replies: 6
Views: 704

Nahhh

It gives a great example on how to handle a keyboard event, but there's nothing about mouse events (lclick, rclick, wheel) in the examples that I could find.
by knicholes
Thu Oct 23, 2008 4:05 pm
Forum: Beginners Help
Topic: Detect mouse click?
Replies: 7
Views: 1249

What if my handler is in a different file?

In example 4, it shows how to handle the event by modifying the OnEvent() function that is in the SAME FILE as the main() function. It just modifies "node"'s position. If the OnEvent overridden call is in a different file, it won't know what "node" is. I'm wondering how you could...
by knicholes
Thu Oct 23, 2008 3:17 am
Forum: Beginners Help
Topic: Detect mouse click?
Replies: 7
Views: 1249

What if you're using a separate file to handle your events?

I'm trying to capture a mouse click and just have it change the text in the Hello World example. I can't put the code in the event handler because it doesn't know what the guienv object is, so I tried to put the code in main, but I don't know how to check for it from main-- while(device->run()) { if...
by knicholes
Mon Oct 13, 2008 8:14 pm
Forum: Beginners Help
Topic: GAME Engine?
Replies: 4
Views: 622

GAME Engine?

Can this actually be used to make games, or does it just render graphics? If so, where can I find help on writing code for object interactions and setting conditions?
by knicholes
Mon Sep 01, 2008 6:55 am
Forum: Beginners Help
Topic: MinGW Linking/compiling problems with Example 1 Hello World
Replies: 10
Views: 391

Oh sweet!!!!! I figured it out! I just went to the "Project" tab in MinGW Developer Studio and clicked settings. Then I clicked on the "Link" tab and input the .a path and filename! It totally compiles and links now, but still has an error-- something about being unable to find t...
by knicholes
Mon Sep 01, 2008 1:36 am
Forum: Beginners Help
Topic: MinGW Linking/compiling problems with Example 1 Hello World
Replies: 10
Views: 391

Oh great! Thank you for the clarification! Unfortunately I still have no clue what I need to do to get it to link. I've tried 1.3.1 and 1.4.1 and nothing works. I've tried copying the .a file to pretty much every file there is, including the minggw project folder and other folders within. Does anyon...
by knicholes
Sun Aug 31, 2008 6:02 pm
Forum: Beginners Help
Topic: MinGW Linking/compiling problems with Example 1 Hello World
Replies: 10
Views: 391

Still trying!!

So I've added both of the folders you have recommended into my MinGW Developer Studio directory for "Library Files." I've verified that there are .a files in both folders, the \bin\Win32-GCC and \lib\Win32-GCC. The .a files are both 3kb. the \bin\Win32-GCC folder contains a Irrlicht.dll. I...
by knicholes
Sun Aug 31, 2008 2:08 am
Forum: Beginners Help
Topic: MinGW Linking/compiling problems with Example 1 Hello World
Replies: 10
Views: 391

Yeah

Yeah, they seem the same. I think the problem is the same-- It's just having problems linking? It looks like it's going to the right place to link, it's just having some issue with the function names? I don't know. I read the forum a bunch and other people have similar problems, but I can't understa...
by knicholes
Sun Aug 31, 2008 12:32 am
Forum: Beginners Help
Topic: MinGW Linking/compiling problems with Example 1 Hello World
Replies: 10
Views: 391

Oh-- -haha

That's embarrassing! Thanks for the clarification. So I switched to the lib\Win32-gcc directory for the "Library Files" directory. I get this error message: --------------------Configuration: CS3540Test - Debug-------------------- Linking... D:\MinGWStudio\CS3540Test\Debug\main.o: In funct...
by knicholes
Sat Aug 30, 2008 8:34 pm
Forum: Beginners Help
Topic: MinGW Linking/compiling problems with Example 1 Hello World
Replies: 10
Views: 391

MinGW Linking/compiling problems with Example 1 Hello World

I have inserted the code for example 1 for irrlicht into MinGW Developer Studio. I configured the setup to look for the .lib files in the \lib\Win32-visualstudio. The mingw version I'm compiling with is the most recent. It compiles just fine, but when I tell it to execute I get the following error: ...