Not a big issue, but I’m trying to compile and link the up-to-date version of JUCE as a static library, without support for OpenGL.
I have defined JUCE_OPENGL to 0 or directly commented out the corresponding line inside juce_Config.h.
I’m getting several link errors referring to juce_win32_NativeCode.obj.
I’m using Visual C++ 7 (net 2003) on XP.
Well it just looks to me like you’ve built the library with opengl turned off, but still have it turned on when you include juce.h in your app project…
You are right, of course. But it wasn’t so easy for me to find out what was going on. I’ve just switched to the last version of Juce, but I wanted to keep the old version, that’s in a folder called ‘Juce’. I had the bad idea to put the new version in a folder called “Juce+” and switched the Visual C++ include paths accordingly.
I have discovered that VC was silently using the old path, but only during compilation. In fact, when I tried to open ‘juce.h’ by right-clicking the #include instruction in the editor, it refused to do so. In the end, I’ve discovered that (for VC) you cannot call a folder ‘Juce+’ or ‘Juce-’, but ‘Juce_’ is alright. Oh, well.