Home » Community » Newbie corner » error LNK2019 when using CtrlLib/CtrlLib.h
error LNK2019 when using CtrlLib/CtrlLib.h [message #37603] |
Thu, 25 October 2012 03:09 |
DrinkWatah
Messages: 12 Registered: October 2012 Location: Cali
|
Promising Member |
|
|
error LNK2019: unresolved external symbol "void * __cdecl Upp::MemoryAlloc(unsigned int)" (?MemoryAlloc@Upp@@YAPAXI@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
main.obj : error LNK2019: unresolved external symbol "void __cdecl Upp::MemoryFree(void *)" (?MemoryFree@Upp@@YAXPAX@Z) referenced in function "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
MSVCRT.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function__tmainCRTStartup
I'm running the following GUI tutorial
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
GUI_APP_MAIN{
PromptOK("Hello world");
}
While troubleshooting, I also get an error stating that namespace UPP does not exist
what am I doing wrong?
thanks
|
|
|
Goto Forum:
Current Time: Fri Nov 01 00:59:57 CET 2024
Total time taken to generate the page: 0.01931 seconds
|