
Untitled
By: a guest on
May 5th, 2012 | syntax:
C++ | size: 1.64 KB | hits: 21 | expires: Never
// the entry point for any Windows program
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
#pragma region loadsettings
Lunch::Core::LoadSettings();
boost::thread supporter(Lunch::Core::Wait,50);
bool test = supporter.joinable();
}
//i made the code some shorter
ERROR:
1:
error LNK1120: 4 nicht aufgelöste externe Verweise. C:\Users\Stephan\Documents\Visual Studio 2010\Projects\Lunchengine\Debug\Lunchengine.exe Lunchengine
2:
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""bool __cdecl boost::this_thread::interruptible_wait(void *,struct boost::detail::timeout)" (?interruptible_wait@this_thread@boost@@YA_NPAXUtimeout@detail@2@@Z)" in Funktion ""void __cdecl boost::this_thread::interruptible_wait(unsigned __int64)" (?interruptible_wait@this_thread@boost@@YAX_K@Z)". C:\Users\Stephan\Documents\Visual Studio 2010\Projects\Lunchengine\Lunchengine\main.obj Lunchengine
3:
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""private: void __thiscall boost::thread::start_thread(void)" (?start_thread@thread@boost@@AAEXXZ)" in Funktion ""public: __thiscall boost::thread::thread<void (__cdecl*)(int),int>(void (__cdecl*)(int),int)" (??$?0P6AXH@ZH@thread@boost@@QAE@P6AXH@ZH@Z)". C:\Users\Stephan\Documents\Visual Studio 2010\Projects\Lunchengine\Lunchengine\main.obj Lunchengine
4:
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: __thiscall boost::thread::~thread(void)" (??1thread@boost@@QAE@XZ)" in Funktion "_WinMain@16". C:\Users\Stephan\Documents\Visual Studio 2010\Projects\Lunchengine\Lunchengine\main.obj Lunchengine