Minetest-C55 :: fatal error LNK1120: 15 unresolved externals

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.
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

owen_a wrote:So could the header files be causing this problem?
they shouldn't cause any problems if they are included but not used in the project, otherwise the headers are missing their *.cpp files as we tried to explain before.
Working on game: Marrbles (Currently stopped).
CuteAlien
Admin
Posts: 9687
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

No, the header files are not the problem. Those are there or you would already get compiler problems instead of just linker troubles. Just use a file-search on .cpp files for all functions mentioned in the unresolved externals and add just those .cpp files.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
owen_a
Posts: 11
Joined: Tue Apr 12, 2011 9:27 am
Contact:

Post by owen_a »

Ah. Forget that last post. I've managed to compile the game successfully. After just looking at the "servermain.obj" it occured to me that servermain.cpp is the problem. I removed the file from the project, and it compiles flawlessly. Now, since we now know that servermain.cpp is already defining somethings, would it be a simple case of commenting or removing them out?
A Social Network given to you:
http://thephoenix.dyndns.org
owen_a
Posts: 11
Joined: Tue Apr 12, 2011 9:27 am
Contact:

Post by owen_a »

Ok. I'm sorry for the double posting, but I just wanted to say, I've fixed the Link errors, and I've found out what the problems were. first, the errors which were conflicting about main.cpp have been modified so the names are different. Secondly, the jthread.lib line has been commented out in servermain.cpp. And it compiled beautifully :)

The only thing is, it doesn't mkae a minecraft server executable, qhich i've spoken to some people about, and they say it should do. I should have a Client and a Server

Any ideas?
A Social Network given to you:
http://thephoenix.dyndns.org
Soranne
Posts: 7
Joined: Thu Sep 30, 2010 10:17 am

Post by Soranne »

I also have 16 errors :
Image

Any idea where it could come from?
Post Reply