Compile error LNK2005

Post Reply
edarkhus
Posts: 2
Joined: Sat Oct 19, 2013 1:02 pm

Compile error LNK2005

Post by edarkhus »

Hi,
While compile I got error whitch I cant fix by myself, also couldn't find solution in forum or google. I follow the instructions in COMPILING.txt, use VS2010 and error is
error LNK2005: _glewIsSupported@4 already defined in glew.lib(glew.obj) F:\pioneer\win32\vc2010\glew32.lib(glew32.dll)
error LNK2005: _glewInit@0 already defined in glew.lib(glew.obj) F:\pioneer\win32\vc2010\glew32.lib(glew32.dll)
error LNK2005: _glewGetString@4 already defined in glew.lib(glew.obj) F:\pioneer\win32\vc2010\glew32.lib(glew32.dll)

please help,
thanks
D.
FluffyFreak
Posts: 1344
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Compile error LNK2005

Post by FluffyFreak »

That's odd, I've just grabbed latest and done a build using VC2010 and it's worked fine.

What OS are you using? Is the code the latest from both Pioneer and PioneerThirdparty?

I don't maintain the VC2010 projects, just the vc2012 and 2013, ones but someone did fixup a lot of VC2010 stuff within the last week or so.

Andy
Luomu
Posts: 58
Joined: Mon Jul 01, 2013 1:30 am

Re: Compile error LNK2005

Post by Luomu »

Update, should be fixed now. The prerelease config was broken and some minor issues.
edarkhus
Posts: 2
Joined: Sat Oct 19, 2013 1:02 pm

Re: Compile error LNK2005

Post by edarkhus »

Thank you, it works well now.
Post Reply