Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polarizer and EqSync build errors on Windows #50

Closed
alfonso73 opened this issue Aug 27, 2021 · 1 comment
Closed

Polarizer and EqSync build errors on Windows #50

alfonso73 opened this issue Aug 27, 2021 · 1 comment
Assignees

Comments

@alfonso73
Copy link

alfonso73 commented Aug 27, 2021

Here is the output for Polarizer and i have similar errors for EqSync related to dfx::MidiEventType and the likes...

x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../dfx-library/dfxplugin.o ../../dfx-library/dfxplugin.cpp
In file included from ../../vstgui/vstgui/lib/cviewcontainer.h:8,
                 from ../../vstgui/vstgui/lib/cscrollview.h:8,
                 from ../../vstgui/vstgui/lib/cdatabrowser.h:8,
                 from ../../vstgui/vstgui/vstgui.h:13,
                 from ../../dfxgui/dfxgui-base.h:51,
                 from ../../dfxgui/dfxguieditor.h:37,
                 from ../../dfx-library/dfxplugin.cpp:45:
../../vstgui/vstgui/lib/cview.h:41:69: warning: multi-character character constant [-Wmultichar]
   41 | static constexpr CViewAttributeID kCViewAttributeReferencePointer = 'cvrp';
      |                                                                     ^~~~~~
../../vstgui/vstgui/lib/cview.h:42:60: warning: multi-character character constant [-Wmultichar]
   42 | static constexpr CViewAttributeID kCViewTooltipAttribute = 'cvtt';
      |                                                            ^~~~~~
../../vstgui/vstgui/lib/cview.h:43:63: warning: multi-character character constant [-Wmultichar]
   43 | static constexpr CViewAttributeID kCViewControllerAttribute = 'ictr';
      |                                                               ^~~~~~
../../dfx-library/dfxplugin.cpp:71:65: warning: ‘no_destroy’ attribute directive ignored [-Wattributes]
   71 | __attribute__((no_destroy)) static std::unique_ptr<std::thread> sIdleThread;  // TODO: C++20 use std::jthread, C++23 [[no_destroy]]
      |                                                                 ^~~~~~~~~~~
../../dfx-library/dfxplugin.cpp:72:47: warning: ‘no_destroy’ attribute directive ignored [-Wattributes]
   72 | __attribute__((no_destroy)) static std::mutex sIdleThreadLock;
      |                                               ^~~~~~~~~~~~~~~
../../dfx-library/dfxplugin.cpp:73:67: warning: ‘no_destroy’ attribute directive ignored [-Wattributes]
   73 | __attribute__((no_destroy)) static std::unordered_set<DfxPlugin*> sIdleClients;
      |                                                                   ^~~~~~~~~~~~
../../dfx-library/dfxplugin.cpp:74:47: warning: ‘no_destroy’ attribute directive ignored [-Wattributes]
   74 | __attribute__((no_destroy)) static std::mutex sIdleClientsLock;
      |                                               ^~~~~~~~~~~~~~~~
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../dfx-library/dfxplugin-vst.o ../../dfx-library/dfxplugin-vst.cpp
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../dfx-library/dfxmisc.o ../../dfx-library/dfxmisc.cpp
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../dfx-library/dfxparameter.o ../../dfx-library/dfxparameter.cpp
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../dfx-library/dfxmutex.o ../../dfx-library/dfxmutex.cpp
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../vstsdk/public.sdk/source/vst2.x/audioeffect.o ../../vstsdk/public.sdk/source/vst2.x/audioeffect.cpp
../../vstsdk/public.sdk/source/vst2.x/audioeffect.cpp: In member function ‘virtual void AudioEffect::int2string(VstInt32, char*, VstInt32)’:
../../vstsdk/public.sdk/source/vst2.x/audioeffect.cpp:512:45: warning: narrowing conversion of ‘(48 + ((int)((char)digit)))’ from ‘int’ to ‘char’ [-Wnarrowing]
  512 |                         char temp[2] = {'0' + (char)digit, '\0'};
      |                                         ~~~~^~~~~~~~~~~~~
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../vstsdk/public.sdk/source/vst2.x/audioeffectx.o ../../vstsdk/public.sdk/source/vst2.x/audioeffectx.cpp
../../vstsdk/public.sdk/source/vst2.x/audioeffectx.cpp: In member function ‘virtual void AudioEffectX::resume()’:
../../vstsdk/public.sdk/source/vst2.x/audioeffectx.cpp:307:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  307 |         if (cEffect.flags & effFlagsIsSynth || canDo ("receiveVstMidiEvent") == 1)
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
In file included from ../../vstsdk/public.sdk/source/vst2.x/audioeffect.h:16,
                 from ../../vstsdk/public.sdk/source/vst2.x/audioeffectx.h:17,
                 from ../../vstsdk/public.sdk/source/vst2.x/audioeffectx.cpp:14:
In function ‘char* vst_strncpy(char*, const char*, size_t)’,
    inlined from ‘virtual bool AudioEffectX::copySpeaker(VstSpeakerProperties*, VstSpeakerProperties*)’ at ../../vstsdk/public.sdk/source/vst2.x/audioeffectx.cpp:1459:14,
    inlined from ‘virtual bool AudioEffectX::copySpeaker(VstSpeakerProperties*, VstSpeakerProperties*)’ at ../../vstsdk/public.sdk/source/vst2.x/audioeffectx.cpp:1454:6:
../../vstsdk/pluginterfaces/vst2.x/aeffect.h:296:32: warning: ‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation]
  296 |         char* result = strncpy (dst, src, maxLen);
      |                        ~~~~~~~~^~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../vstsdk/public.sdk/source/vst2.x/vstplugmain.o ../../vstsdk/public.sdk/source/vst2.x/vstplugmain.cpp
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2 -Wno-sign-compare -Wno-multichar -Wno-unused-variable ../../vstgui/vstgui/vstgui_win32.cpp -c -o ../../vstgui/vstgui/vstgui_win32.o
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../vstgui/vstgui/plugin-bindings/aeffguieditor.o ../../vstgui/vstgui/plugin-bindings/aeffguieditor.cpp
In file included from ../../vstgui/vstgui/plugin-bindings/../lib/cviewcontainer.h:8,
                 from ../../vstgui/vstgui/plugin-bindings/../lib/cscrollview.h:8,
                 from ../../vstgui/vstgui/plugin-bindings/../lib/cdatabrowser.h:8,
                 from ../../vstgui/vstgui/plugin-bindings/../vstgui.h:13,
                 from ../../vstgui/vstgui/plugin-bindings/aeffguieditor.h:16,
                 from ../../vstgui/vstgui/plugin-bindings/aeffguieditor.cpp:6:
../../vstgui/vstgui/plugin-bindings/../lib/cview.h:41:69: warning: multi-character character constant [-Wmultichar]
   41 | static constexpr CViewAttributeID kCViewAttributeReferencePointer = 'cvrp';
      |                                                                     ^~~~~~
../../vstgui/vstgui/plugin-bindings/../lib/cview.h:42:60: warning: multi-character character constant [-Wmultichar]
   42 | static constexpr CViewAttributeID kCViewTooltipAttribute = 'cvtt';
      |                                                            ^~~~~~
../../vstgui/vstgui/plugin-bindings/../lib/cview.h:43:63: warning: multi-character character constant [-Wmultichar]
   43 | static constexpr CViewAttributeID kCViewControllerAttribute = 'ictr';
      |                                                               ^~~~~~
x86_64-w64-mingw32-g++ -DWIN32=1 -D_WIN32_WINNT=0x0601 -DTARGET_OS_WIN32=1 -DTARGET_API_VST=1 -DVSTGUI_ENABLE_DEPRECATED_METHODS=0 -DNDEBUG=1 -DGetMatchingFonts=GetMatchingFonts_ -I .. -I ../../dfx-library -I ../../vstsdk -I ../../dfxgui -I ../../vstgui/vstgui -I ../../vstgui/vstgui/plugin-bindings -include "../polarizerdef.h" -m64 -Wall -Wno-unknown-pragmas --std=c++17 -O2   -c -o ../../dfxgui/dfxguieditor.o ../../dfxgui/dfxguieditor.cpp
In file included from ../../vstgui/vstgui/lib/cviewcontainer.h:8,
                 from ../../vstgui/vstgui/lib/cscrollview.h:8,
                 from ../../vstgui/vstgui/lib/cdatabrowser.h:8,
                 from ../../vstgui/vstgui/vstgui.h:13,
                 from ../../dfxgui/dfxgui-base.h:51,
                 from ../../dfxgui/dfxguieditor.h:37,
                 from ../../dfxgui/dfxguieditor.cpp:24:
../../vstgui/vstgui/lib/cview.h:41:69: warning: multi-character character constant [-Wmultichar]
   41 | static constexpr CViewAttributeID kCViewAttributeReferencePointer = 'cvrp';
      |                                                                     ^~~~~~
../../vstgui/vstgui/lib/cview.h:42:60: warning: multi-character character constant [-Wmultichar]
   42 | static constexpr CViewAttributeID kCViewTooltipAttribute = 'cvtt';
      |                                                            ^~~~~~
../../vstgui/vstgui/lib/cview.h:43:63: warning: multi-character character constant [-Wmultichar]
   43 | static constexpr CViewAttributeID kCViewControllerAttribute = 'ictr';
      |                                                               ^~~~~~
../../dfxgui/dfxguieditor.cpp:2126:10: warning: #warning "implementation missing" [-Wcpp]
 2126 |         #warning "implementation missing"
      |          ^~~~~~~
../../dfxgui/dfxguieditor.cpp:2219:10: warning: #warning "implementation missing" [-Wcpp]
 2219 |         #warning "implementation missing"
      |          ^~~~~~~
../../dfxgui/dfxguieditor.cpp:2352:10: warning: #warning "implementation missing" [-Wcpp]
 2352 |         #warning "implementation missing"
      |          ^~~~~~~
In file included from ../../dfxgui/dfxguieditor.cpp:53:
../../dfx-library/dfxsettings.h:146:43: error: ‘dfx::MidiEventType’ has not been declared
  146 |         void assignParam(long inParamTag, dfx::MidiEventType inEventType, long inEventChannel,
      |                                           ^~~
../../dfx-library/dfxsettings.h:148:42: error: ‘dfx::MidiEventBehaviorFlags’ has not been declared
  148 |                                          dfx::MidiEventBehaviorFlags inEventBehaviorFlags = dfx::kMidiEventBehaviorFlag_None,
      |                                          ^~~
../../dfx-library/dfxsettings.h:155:42: error: ‘dfx::MidiEventBehaviorFlags’ has not been declared
  155 |         void setLearner(long inParamTag, dfx::MidiEventBehaviorFlags inEventBehaviorFlags = dfx::kMidiEventBehaviorFlag_None,
      |                                          ^~~
../../dfx-library/dfxsettings.h:177:14: error: ‘ParameterAssignment’ in namespace ‘dfx’ does not name a type
  177 |         dfx::ParameterAssignment getParameterAssignment(long inParamTag) const;
      |              ^~~~~~~~~~~~~~~~~~~
../../dfx-library/dfxsettings.h:178:14: error: ‘MidiEventType’ in namespace ‘dfx’ does not name a type
  178 |         dfx::MidiEventType getParameterAssignmentType(long inParamTag) const;
      |              ^~~~~~~~~~~~~
In file included from ../../dfxgui/dfxguieditor.cpp:53:
../../dfx-library/dfxsettings.h:404:37: error: ‘dfx::MidiEventType’ has not been declared
  404 |         void handleMidi_assignParam(dfx::MidiEventType inEventType, long inMidiChannel, long inByte1, unsigned long inOffsetFrames);
      |                                     ^~~
../../dfx-library/dfxsettings.h:405:40: error: ‘dfx::MidiEventType’ has not been declared
  405 |         void handleMidi_automateParams(dfx::MidiEventType inEventType, long inMidiChannel, long inByte1, long inByte2, unsigned long inOffsetFrames, bool inIsNoteOff = false);
      |                                        ^~~
../../dfx-library/dfxsettings.h:435:26: error: ‘ParameterAssignment’ is not a member of ‘dfx’
  435 |         std::vector<dfx::ParameterAssignment> mParameterAssignments;
      |                          ^~~~~~~~~~~~~~~~~~~
../../dfx-library/dfxsettings.h:435:45: error: template argument 1 is invalid
  435 |         std::vector<dfx::ParameterAssignment> mParameterAssignments;
      |                                             ^
../../dfx-library/dfxsettings.h:435:45: error: template argument 2 is invalid
../../dfx-library/dfxsettings.h:453:14: error: ‘MidiEventBehaviorFlags’ in namespace ‘dfx’ does not name a type
  453 |         dfx::MidiEventBehaviorFlags mLearnerEventBehaviorFlags = dfx::kMidiEventBehaviorFlag_None;
      |              ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../dfxgui/dfxguieditor.cpp:53:
../../dfx-library/dfxsettings.h:148:98: error: ‘kMidiEventBehaviorFlag_None’ is not a member of ‘dfx’
  148 |                                          dfx::MidiEventBehaviorFlags inEventBehaviorFlags = dfx::kMidiEventBehaviorFlag_None,
      |                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../dfx-library/dfxsettings.h:155:98: error: ‘kMidiEventBehaviorFlag_None’ is not a member of ‘dfx’
  155 |         void setLearner(long inParamTag, dfx::MidiEventBehaviorFlags inEventBehaviorFlags = dfx::kMidiEventBehaviorFlag_None,
      |                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../dfxgui/dfxguieditor.cpp:75:104: warning: ‘no_destroy’ attribute directive ignored [-Wattributes]
   75 |         __attribute__((no_destroy)) static VSTGUI::CFileExtension const kDfxGui_VSTProgramFileExtension("VST program", "fxp");
      |                                                                                                        ^
../../dfxgui/dfxguieditor.cpp:76:101: warning: ‘no_destroy’ attribute directive ignored [-Wattributes]
   76 |         __attribute__((no_destroy)) static VSTGUI::CFileExtension const kDfxGui_VSTBankFileExtension("VST bank", "fxb");
      |                                                                                                     ^
make: *** [<builtin>: ../../dfxgui/dfxguieditor.o] Error 1
@alfonso73 alfonso73 changed the title Polirizer build errors on Windows Polirizer and EqSync build errors on Windows Aug 27, 2021
@alfonso73 alfonso73 changed the title Polirizer and EqSync build errors on Windows Polarizer and EqSync build errors on Windows Aug 27, 2021
@sophiapoirier sophiapoirier self-assigned this Aug 28, 2021
@alfonso73
Copy link
Author

thanks @sophiapoirier!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants