clone45 / voxglitch

Modules for VCV Rack
GNU General Public License v3.0
98 stars 16 forks source link

autobreak will not compiled on MSYS2 Windows #181

Closed caecos closed 1 year ago

caecos commented 1 year ago

$ RACK_DIR=C:/msys64/Rack-SDK make dist g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nehalem -funsafe-math-optimizations -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -municode -c -o build/src/AutobreakStudio.cpp.o src/AutobreakStudio.cpp In file included from src/AutobreakStudio.cpp:21: src/AutobreakStudio/AutobreakStudio.hpp:48:44: error: field 'blink_memory_during_copy_mode' has incomplete type 'std::array<bool, 16>' 48 | std::array<bool, NUMBER_OF_MEMORY_SLOTS> blink_memory_during_copy_mode; | ^~~~~~~~~ In file included from C:/msys64/mingw64/include/c++/12.2.0/bits/stl_map.h:63, from C:/msys64/mingw64/include/c++/12.2.0/map:61, from C:/msys64/Rack-SDK/include/network.hpp:2, from C:/msys64/Rack-SDK/include/rack.hpp:28, from src/plugin.hpp:2, from src/AutobreakStudio.cpp:7: C:/msys64/mingw64/include/c++/12.2.0/tuple:1595:45: note: declaration of 'struct std::array<bool, 16>' 1595 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ make: *

clone45 commented 1 year ago

Thanks for logging this issue. I abandon the "blinking memory" code for now, so this shouldn't be an issue. The code on the autobreak_studio branch on github contains these fixes. :-)

caecos commented 1 year ago

Compiled fine…thank’s…

Envoyé à partir de Courrierhttps://go.microsoft.com/fwlink/?LinkId=550986 pour Windows

De : Bret @.> Envoyé le :lundi 19 septembre 2022 16:01 À : @.> Cc : @.>; @.> Objet :Re: [clone45/voxglitch] autobreak will not compiled on MSYS2 Windows (Issue #181)

Closed #181https://github.com/clone45/voxglitch/issues/181 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/clone45/voxglitch/issues/181#event-7416606557, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHSGFA6BPDXPKMWMLOG5JHLV7DBABANCNFSM6AAAAAAQQMMQYM. You are receiving this because you authored the thread.Message ID: @.***>