Page 2 of 2

Posted: Thu Apr 14, 2011 4:59 am
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.

Posted: Thu Apr 14, 2011 8:00 am
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.

Posted: Thu Apr 14, 2011 6:15 pm
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?

Posted: Thu Apr 14, 2011 7:36 pm
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?

Posted: Wed May 04, 2011 3:49 pm
by Soranne
I also have 16 errors :
Image

Any idea where it could come from?