Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

guivieira

neoengine compiler error

This topic is 5278 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

please help me guys! why am I getting this error when compiling a "copy and paste" of first tutorial of neoengine?!?!? a start a new win32 console project. then insert a new main.cpp, copy and paste all lines of first neoengine''s tutorial. I already build the whole engine workspace. what I have to do to start a new app using the engine?
--------------------Configuration: rslX - Win32 Debug--------------------
Linking...
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall NeoEngine::LogFileSink::~LogFileSink(void)" (__imp_??1LogFileSink@NeoEngine@@UAE@XZ)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall NeoEngine::RenderCaps::~RenderCaps(void)" (__imp_??1RenderCaps@NeoEngine@@QAE@XZ)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall NeoEngine::RenderCaps::RenderCaps(void)" (__imp_??0RenderCaps@NeoEngine@@QAE@XZ)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall NeoEngine::LogFileSink::LogFileSink(class std::basic_string,class std::allocator > const &)" (__imp_??0LogFileSin
k@NeoEngine@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class NeoEngine::RenderCaps & __thiscall NeoEngine::RenderCaps::operator=(class NeoEngine::RenderCaps const &)" (__imp_??4RenderCaps@NeoEngine@@QAEAAV01@ABV01@@Z)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class NeoEngine::RenderCaps const & __thiscall NeoEngine::RenderDevice::GetCaps(void)const " (__imp_?GetCaps@RenderDevice@NeoEngine@@QBEABVRenderCaps@2@XZ)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall NeoEngine::RenderWindow::~RenderWindow(void)" (__imp_??1RenderWindow@NeoEngine@@QAE@XZ)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall NeoEngine::RenderWindow::RenderWindow(class std::basic_string,class std::allocator > const &,class NeoEngine::Ren
derCaps const &,class NeoEngine::RenderResolution const &)" (__imp_??0RenderWindow@NeoEngine@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABVRenderCaps@1@ABVRenderResolution@1@@Z)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall NeoEngine::RenderResolution::RenderResolution(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (__imp_??0RenderResolution@N
eoEngine@@QAE@IIIIII@Z)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class NeoEngine::RenderDevice * __thiscall NeoEngine::Core::CreateRenderDevice(class std::basic_string,class std::allocator 
> const &,class NeoEngine::FileManager *,class NeoEngine::InputManager *)" (__imp_?CreateRenderDevice@Core@NeoEngine@@QAEPAVRenderDevice@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVFileManager@2@PAVInputManager@2@@Z)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall NeoEngine::Core::Initialize(int,char * *)" (__imp_?Initialize@Core@NeoEngine@@QAEHHPAPAD@Z)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall NeoEngine::LogSource::AttachSink(class NeoEngine::LogSink *)" (__imp_?AttachSink@LogSource@NeoEngine@@QAEXPAVLogSink@2@@Z)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class NeoEngine::LogSink * __thiscall NeoEngine::Core::GetStdoutSink(void)" (__imp_?GetStdoutSink@Core@NeoEngine@@QAEPAVLogSink@2@XZ)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class NeoEngine::Core * __cdecl NeoEngine::Core::Get(void)" (__imp_?Get@Core@NeoEngine@@SAPAV12@XZ)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall NeoEngine::LogSource::SetLogThreshold(unsigned int)" (__imp_?SetLogThreshold@LogSource@NeoEngine@@QAEXI@Z)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class NeoEngine::LogSource NeoEngine::neolog" (__imp_?neolog@NeoEngine@@3VLogSource@1@A)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall NeoEngine::Core::Shutdown(void)" (__imp_?Shutdown@Core@NeoEngine@@QAEHXZ)
rslX.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall NeoEngine::Core::DeleteRenderDevice(class NeoEngine::RenderDevice *)" (__imp_?DeleteRenderDevice@Core@NeoEngine@@QAEXPAVRenderDevice@2@@Z)
Debug/rslX.exe : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.

rslX.exe - 19 error(s), 0 warning(s)

 
thank you guys!

Share this post


Link to post
Share on other sites
Advertisement
What compiler do you use? Are there no project files for it?
I guess you did add -DBUILD_DYNAMIC or -DBUILD_STATIC to the compiler options?
Did you add -lneoengine to the linker?

Did you ask at the NeoEngine.org forum?

Share this post


Link to post
Share on other sites
its working now. just add the .lib missing in the project settings..

but now, Im getting a new error! i mean.. isn''t a error, its a warning. 7 like this one


c:\guilherme\zips\3d\engines\neoengine-0.8.1\neoengine\neoengine\logstream.h(269) : warning C4275: non dll-interface class ''std::basic_streambuf >'' used as base for dll-interface class ''NeoEngine::LogSourceStreamBuf''

Share this post


Link to post
Share on other sites
Not sure ... maybe that helps?
http://neoengine.sourceforge.net/phpBB2/viewtopic.php?t=879&highlight=warning+c4275

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!