Open Malifick opened 7 years ago
same here, ubuntu 16.04
full make here: https://pastebin.com/1aUc5RzA
last commit is ` $ git log commit 0be727bffa23588355c73482e56d0aca899e6d33 Author: Mark Schack mschack@rogers.com Date: Wed Nov 1 19:05:12 2017 -0400
update mschack.zip
`
fyi, i pulled in Rack from git, using master branch last commit there is: `commit 8e251c0ddbfc1f4a2e03a6123d8eda42218b76fe Author: Andrew Belt andrewpbelt@gmail.com Date: Wed Nov 1 08:27:59 2017 -0400
Refactor event framework. Everything uses Event* structs instead of
messy function arguments, removed on*Opaque()
`
Just to make sure, you both are compiling with Rack 0.4.0 and not the latest correct?
i wasn't actually .. so i checked out Rack v0.4.0
make now gives me warnings $ make -j$(nproc) g++ -fPIC -I../../include -I../../dep/include -DVERSION=dev -DVERSION_dev -MMD -O3 -march=nocona -ffast-math -Wall -g -DARCH_LIN -std=c++11 -c -o build/src/mscHack.cpp.o src/mscHack.cpp g++ -fPIC -I../../include -I../../dep/include -DVERSION=dev -DVERSION_dev -MMD -O3 -march=nocona -ffast-math -Wall -g -DARCH_LIN -std=c++11 -c -o build/src/Seq_3x16x16.cpp.o src/Seq_3x16x16.cpp g++ -fPIC -I../../include -I../../dep/include -DVERSION=dev -DVERSION_dev -MMD -O3 -march=nocona -ffast-math -Wall -g -DARCH_LIN -std=c++11 -c -o build/src/CLog.cpp.o src/CLog.cpp src/CLog.cpp: In member function ‘void CLog::f(std::__cxx11::string, ...)’: src/CLog.cpp:114:36: warning: format not a string literal and no format arguments [-Wformat-security] fprintf( fp,(char)buffer.c_str() ); ^ src/CLog.cpp: In member function ‘void CLog::fnr(std::__cxx11::string, ...)’: src/CLog.cpp:142:37: warning: format not a string literal and no format arguments [-Wformat-security] fprintf( fp, (char)buffer.c_str() ); ^ g++ -o plugin.so build/src/mscHack.cpp.o build/src/Seq_3x16x16.cpp.o build/src/CLog.cpp.o -shared
when i run Rack i can only add the seq 3 x 16, bu t i cannot use it. i also see failed to load svg:
$ ./Rack.sh Loading plugins from ./plugins Loaded plugin ./plugins/VCV-Rack-Plugins/plugin.so Loading plugins from ./plugins Loaded font ./res/DejaVuSans.ttf Loading settings ./settings.json Loading patch ./autosave.vcv Loaded SVG ./plugins/VCV-Rack-Plugins/res/Seq_3x16x16.svg Loaded SVG ./res/ComponentLibrary/ScrewSilver.svg Loaded SVG ./res/ComponentLibrary/LEDButton.svg Failed to load SVG ./plugins/mschack/res/mschack_PortIn_small.svg Failed to load SVG ./plugins/mschack/res/mschack_square_button.svg Failed to load SVG ./plugins/mschack/res/mschack_sliderBG_01.svg Failed to load SVG ./plugins/mschack/res/mschack_sliderKNOB_01.svg Failed to load SVG ./plugins/mschack/res/mschack_PortOut_small.svg
At work atm, so I'll check later tonight for more details..
the resource load paths are fixed in the latest.
tereo.cpp:115:13: error: virtual function ‘virtual void Mix_4x4_Stereo::initialize()’ void initialize() override; ^
~~~~~ In file included from ../../include/rack.hpp:6:0, from src/mscHack.hpp:1, from src/Mixer_4x4_Stereo.cpp:1: ../../include/engine.hpp:62:15: error: overriding final function ‘virtual void rack::Module::initialize()’ virtual void initialize() final {} ^~~~~~ make: *** [../../compile.mk:55: build/src/Mixer_4x4_Stereo.cpp.o] Error 1