Build Error


#1

Hello,

I’m using Cygwin to simulate linux env.
I’ve followed the instructions to build Juce on linux (went to the specific “…build/linux” dir and invoked “make CONFIG=Release”).
Following build errors occured:

juce_CharacterFunctions.cpp ../../src/juce_core/text/juce_CharacterFunctions.cpp: In static member function `static int juce::CharacterFunctions::ftime(juce::juce_wchar*, int, const juce:: juce_wchar*, const tm*)': ../../src/juce_core/text/juce_CharacterFunctions.cpp:401: error: `wcsftime' unde clared (first use this function) ../../src/juce_core/text/juce_CharacterFunctions.cpp:401: error: (Each undeclare d identifier is reported only once for each function it appears in.) ../../src/juce_core/text/juce_CharacterFunctions.cpp: In static member function `static double juce::CharacterFunctions::getDoubleValue(const juce::juce_wchar*) ': ../../src/juce_core/text/juce_CharacterFunctions.cpp:508: error: `wcstod' undecl ared (first use this function) ../../src/juce_core/text/juce_CharacterFunctions.cpp: In static member function `static int juce::CharacterFunctions::vprintf(juce::juce_wchar*, int, const juce ::juce_wchar*, char*&)': ../../src/juce_core/text/juce_CharacterFunctions.cpp:726: error: `vswprintf' und eclared (first use this function) make[1]: *** [../../bin/intermediate_linux/Release/juce_CharacterFunctions.o] Er ror 1 make: *** [JUCE] Error 2

Please help,

Sharon


#2

cygwin builds aren’t supported, so I’m not surprised there are errors.

If you’re doing a linux build, just get a real copy of linux… I use a pre-made ubuntu in a VMWare window, so you don’t even need to reboot to test things.


#3