Making the next biggest MMORPG

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Zenchuck
Posts: 17
Joined: Sun Aug 26, 2007 2:34 pm
Location: Victoria, BC
Contact:

Making the next biggest MMORPG

Post by Zenchuck »

I thought the title might get your attention (a joke of course). I am serious about creating a small playable demo.

This is my first post on these forums and I am completely new to C++. I have some scripting experience and a book on C++ so hopefully I can pick up the basics.

Why Irrlicht? I started in BGE but I felt that there wasn't enough control. I looked at OGRE, and it does look good, but too intimidating for me ( plus I could never get the code from examples to compile). Next I looked at XNA, but it's microsoft. Now I have finally downloaded the irrlicht SDK and my gut plus the easily compilable examples tells me this is a well organized and easy to use set of tools.

I do have plenty of experience with Blender so creating assets should be no problem.

My first question:

When I run some of the examples my mouse becomes frozen in the center of the application window and I am unable to close it. How can I avoid this?
Masterhawk
Posts: 299
Joined: Mon Nov 27, 2006 6:52 pm
Location: GERMANY
Contact:

Post by Masterhawk »

U only can avoid this by editing the source. you have to create a normal camera instead of the FPS camera. But this also has the effect that you cannot control the cam anymore without writing an eventreceiver.

So I think you should simply close the windows by pressing ALT-F4 ;)
Image
Zenchuck
Posts: 17
Joined: Sun Aug 26, 2007 2:34 pm
Location: Victoria, BC
Contact:

Post by Zenchuck »

:oops: Alt - F4
Zenchuck
Posts: 17
Joined: Sun Aug 26, 2007 2:34 pm
Location: Victoria, BC
Contact:

Post by Zenchuck »

Ok, Next question. I want to use the IrrFontTool included in the Tools folder. Unfortunately I am unable to compile using C::B. I realize this is a simple C++ linking error but maybe someone could point me in the right direction.

Code: Select all

-------------- Build: default in Font Tool ---------------
Linking console executable: ..\..\..\bin\Win32-gcc\irrFontTool.exe
.objs\CFontTool.o:CFontTool.cpp:(.text+0x201): undefined reference to `CreateDCW@16'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x57b): undefined reference to `CreateDCW@16'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x836): undefined reference to `EnumFontFamiliesExW@20'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x933): undefined reference to `GetDeviceCaps@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xa1c): undefined reference to `CreateFontW@56'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xa59): undefined reference to `SelectObject@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xa75): undefined reference to `SetTextAlign@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xb85): undefined reference to `GetFontUnicodeRanges@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xbb7): undefined reference to `GetFontUnicodeRanges@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xc79): undefined reference to `GetTextExtentPoint32W@16'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xcc0): undefined reference to `GetCharABCWidthsW@16'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xf7f): undefined reference to `CreateCompatibleBitmap@12'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xf96): undefined reference to `CreateCompatibleDC@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xfbf): undefined reference to `CreateBrushIndirect@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0xfe4): undefined reference to `CreatePen@12'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1002): undefined reference to `SelectObject@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1023): undefined reference to `SelectObject@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1044): undefined reference to `SelectObject@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1062): undefined reference to `SelectObject@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1081): undefined reference to `SetTextColor@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x10b0): undefined reference to `Rectangle@20'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x10c9): undefined reference to `SetBkMode@8'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x11f2): undefined reference to `TextOutW@20'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1241): undefined reference to `GetObjectW@12'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x13ff): undefined reference to `GetDIBits@28'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x183e): undefined reference to `DeleteDC@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x184f): undefined reference to `DeleteObject@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1860): undefined reference to `DeleteObject@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x186e): undefined reference to `DeleteObject@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x197e): undefined reference to `DeleteObject@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1a36): undefined reference to `DeleteObject@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1ac2): undefined reference to `DeleteDC@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x1df6): undefined reference to `DeleteDC@4'
.objs\CFontTool.o:CFontTool.cpp:(.text+0x212a): undefined reference to `DeleteDC@4'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 2 seconds)
34 errors, 0 warnings
Zenchuck
Posts: 17
Joined: Sun Aug 26, 2007 2:34 pm
Location: Victoria, BC
Contact:

Post by Zenchuck »

Ok, I figured it out. If anyone has a similar problem using C::B.

Project>Properties>Build Targets>Type:GUI

I had mine set to Type:console.
Post Reply