Locally defined symbol errors

Support for running, installing or compiling OpenMW
User avatar
Site Admin
Posts: 1143
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Github profile: https://github.com/lgromanowski

Locally defined symbol errors

Post by lgromanowski » 15 Aug 2011, 13:50

Fractal wrote: Hello!

I have finally managed to wrangle cmake into submission, but now I am suffering from LNK4217 errors when I try to compile in Visual Studio.

Specifically, I'm getting errors wherever any kind of myGUI functions are being called. Everything else is compiling beautifully, including the myGUI library, but there seems to be some kind of linking problem.

I'm not an experienced user of Visual Studio, so I'm not sure how to proceed. My attempts at googling an answer have turned up a suggestion that these kind of errors are caused by using the __declspec keyword when a function is also defined locally, but that keyword is used only in the MyGUIEngine files, and there only twice.

Has anyone had similar problems? Any idea where I've gone wrong?
best regards,


Who is online

Users browsing this forum: No registered users and 1 guest