VC6++: Linker Error with the first Tutorial

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
JojoKoester
Posts: 4
Joined: Sat May 06, 2006 4:55 pm
Location: Oelde, Germany

VC6++: Linker Error with the first Tutorial

Post by JojoKoester »

Hi

i want to learn how to use the irrlicht engine.

This is the error from the debugger:
--------------------Konfiguration: IrrlichtTut_1 - Win32 Debug--------------------
Kompilierung läuft...
IrrlichtTut_1.cpp
Linker-Vorgang läuft...
LIBCD.lib(wincrt0.obj) : error LNK2001: Nichtaufgeloestes externes Symbol _WinMain@16
Debug/IrrlichtTut_1.exe : fatal error LNK1120: 1 unaufgeloeste externe Verweise
Fehler beim Ausführen von link.exe.

IrrlichtTut_1.exe - 2 Fehler, 0 Warnung(en)
This is the german Text. I means, that there is a extern symbol and it's called WinMain@16



I hope, you can understand my "nice" English. :)

JojoKoester

Edit:
What kind of application must i use? Win32 Consoleapplication or Win32 Application?
I dont't know. In the example i have use the win32 application, because in the console i had mistakes to.
Last edited by JojoKoester on Sat May 06, 2006 6:09 pm, edited 1 time in total.
Silberdrache
Posts: 9
Joined: Tue May 02, 2006 3:17 pm
Location: Zürich, Switzerland

Post by Silberdrache »

Naja, versuchst es halt mal in deutsch :wink:

Die Angaben für den Linker sind falsch. Vermutlich hast Du eine
Libs nicht angegeben, wie es sein müsste. Schau mal in den
Thear "2D collision detection/rotation". Da sind screens von
mir drin, wie es sein müsste.
Baal Cadar
Posts: 377
Joined: Fri Oct 28, 2005 10:28 am
Contact:

Post by Baal Cadar »

Also wenn sich der Linker über fehlendes WinMain beschwert, bedeutet das, du hast /SUBSYSTEM:WNDOWS also win32 application gewählt, stellst aber nur ne main() bereit.

main -> Console application /SUBSYSTEM:CONSOLE
WinMain -> Win32 application /SUBSYSTEM:WINDOWS

Wenn du bei Console andere Fehler bekommst, dann sind da halt noch andere Fehler drin. Poste die auch.
gfxstyler
Posts: 222
Joined: Tue Apr 18, 2006 11:47 pm

Post by gfxstyler »

wohoooo deutsch-session hier wie :) moin moin!


ps: sorry for beeing off-topic!
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Baal Cadar spricht deutsch :shock: ich bin überascht (positiv :wink: )
JojoKoester
Posts: 4
Joined: Sat May 06, 2006 4:55 pm
Location: Oelde, Germany

Post by JojoKoester »

Hi

wow, sind ja auch deutsche hier :shock:

Ich habe das Problem gelöst. War ein dummer Fehler :twisted: Ich habe die irrlicht.dll nicht in das win32 Verzeichnis kopiert. Jetzt funktioniert es.

Mal schauen, wie es mit den nächsten Tutorials so weiter geht....


Danke trozdem,
Jojokoester
Post Reply