• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How to compile as console?

Jonern

Retired
Senator
Joined
May 31, 2007
Messages
1,054
Reaction score
8
Location
Norway
Compiling as GUI is easy, but I can't manage to compile as pure console :/

How do I do that?
 
I'm getting this errors when compiling as console:

[Linker error] undefined reference to `CInputBox::CInputBox(HWND__*)'
[Linker error] undefined reference to `CInputBox::DoModal(char const*, char const*)'
[Linker error] undefined reference to `CInputBox::~CInputBox()'
[Linker error] undefined reference to `CInputBox::~CInputBox()'
[Linker error] undefined reference to `CInputBox::~CInputBox()'
[Linker error] undefined reference to `GUI::initTrayMenu()'
[Linker error] undefined reference to `GUI::initFont()'
ld returned 1 exit status
[Build Error] [TheForgottenServer.exe] Error 1

What's due to?
 
Do you really have -D__CONSOLE__ defined?
 
Yeah, I think so:

attachment.php
 

Attachments

Last edited:
Back
Top