i built juce and am trying to build my vst on linux, but there is something bad with X11 headers and int64 conversions
g++ -c -g -D__cdecl= -I/home/atom/devel/juce -I../../../src -I../../../../vstsdk2.4 -fPIC -MMD -MP -MF build/Debug/GNU-Linux-x86/_ext/home/atom/devel/ctrlr/build/linux/ctrlr/../../../wrapper/VST/juce_VST_Wrapper.o.d -o build/Debug/GNU-Linux-x86/_ext/home/atom/devel/ctrlr/build/linux/ctrlr/../../../wrapper/VST/juce_VST_Wrapper.o ../../../wrapper/VST/juce_VST_Wrapper.cpp
../../../wrapper/VST/juce_VST_Wrapper.cpp:361:29: warning: multi-character character constant
In file included from ../../../wrapper/VST/juce_VST_Wrapper.cpp:69:
../../../../vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.cpp: In member function ‘virtual void AudioEffectX::resume()’:
../../../../vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.cpp:307: warning: deprecated conversion from string constant to ‘char*’
../../../wrapper/VST/juce_VST_Wrapper.cpp: At global scope:
../../../wrapper/VST/juce_VST_Wrapper.cpp:137: error: expected constructor, destructor, or type conversion before ‘*’ token
../../../wrapper/VST/juce_VST_Wrapper.cpp: In member function ‘virtual void SharedMessageThread::run()’:
../../../wrapper/VST/juce_VST_Wrapper.cpp:212: error: invalid conversion from ‘void*’ to ‘juce::int64’
../../../wrapper/VST/juce_VST_Wrapper.cpp:219: error: invalid conversion from ‘const juce::int64’ to ‘void*’
../../../wrapper/VST/juce_VST_Wrapper.cpp:219: error: initializing argument 1 of ‘void juce::MessageManager::setCurrentMessageThread(void*)’
../../../wrapper/VST/juce_VST_Wrapper.cpp: At global scope:
../../../wrapper/VST/juce_VST_Wrapper.cpp:1365: error: ‘Window’ does not name a type
../../../wrapper/VST/juce_VST_Wrapper.cpp: In constructor ‘JuceVSTWrapper::JuceVSTWrapper(VstIntPtr (*)(AEffect*, VstInt32, VstInt32, VstIntPtr, void*, float), juce::AudioProcessor*)’:
../../../wrapper/VST/juce_VST_Wrapper.cpp:350: error: ‘hostWindow’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp: In member function ‘void JuceVSTWrapper::deleteEditor(bool)’:
../../../wrapper/VST/juce_VST_Wrapper.cpp:1155: error: ‘hostWindow’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp: In member function ‘virtual VstIntPtr JuceVSTWrapper::dispatcher(VstInt32, VstInt32, VstIntPtr, void*, float)’:
../../../wrapper/VST/juce_VST_Wrapper.cpp:1198: error: ‘hostWindow’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1198: error: ‘Window’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1198: error: expected `;' before ‘ptr’
../../../wrapper/VST/juce_VST_Wrapper.cpp:1199: error: expected `;' before ‘editorWnd’
../../../wrapper/VST/juce_VST_Wrapper.cpp:1200: error: ‘display’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1200: error: ‘editorWnd’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1200: error: ‘XReparentWindow’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp: In member function ‘void JuceVSTWrapper::resizeHostWindow(int, int)’:
../../../wrapper/VST/juce_VST_Wrapper.cpp:1250: error: ‘Window’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1250: error: expected `;' before ‘root’
../../../wrapper/VST/juce_VST_Wrapper.cpp:1254: error: ‘display’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1254: error: ‘hostWindow’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1254: error: ‘root’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1255: error: ‘XGetGeometry’ was not declared in this scope
../../../wrapper/VST/juce_VST_Wrapper.cpp:1260: error: ‘XResizeWindow’ was not declared in this scope
make[2]: *** [build/Debug/GNU-Linux-x86/_ext/home/atom/devel/ctrlr/build/linux/ctrlr/../../../wrapper/VST/juce_VST_Wrapper.o] Error 1