Linker errors with VC++ Express


#1

I’ve been trying for some hours now to compile the jucer project with MSVC++ 2005 Express. I can compile juce and build jucer, but when I try to link jucer I get following error message:

[code]Linking…
jucelib_static_Win32_debug.lib(juce_String.obj) : error LNK2005: “public: __thiscall juce::String::String(void)” (??0String@juce@@QAE@XZ) already defined in juce_debug.lib(JUCE_debug.dll)

jucer - 570 error(s), 0 warning(s)
[/code]

All 570 errors appear to be the same “already defined in juce_debug.lib” error. I would like to use juce, but I don’t know what I’m doing wrong. Can anyone provide any suggestions?


#2

Change your active configuration to be “Debug” instead of “Debug DLL”…

I did put a note this in the help docs, but for the next release I’ve found a way of tweaking the project so that it defaults to the correct configuration, which should avoid a lot of confusion…


#3