almostEric / FrozenWasteland

Plugins for VCV Rack
Other
91 stars 18 forks source link

Compile error v1 #31

Closed SteveRussell33 closed 5 years ago

SteveRussell33 commented 5 years ago

g++ -std=c++11 -Wsuggest-override -Idep/include -I./src/ui -I./eurorack -I./src/dsp-delay -I./src/dsp-filter/utils -I./src/dsp-filter/filters -I./src/dsp-filter/third-party/falco -fPIC -I../../include -I../../dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/PortlandWeather.cpp.o src/PortlandWeather.cpp src/PortlandWeather.cpp:4:10: fatal error: samplerate.h: No such file or directory 4 | #include "samplerate.h" | ^~~~~~ compilation terminated. make: *** [../../compile.mk:62: build/src/PortlandWeather.cpp.o] Error 1

Building against latest Rack v1 branch

almostEric commented 5 years ago

Did you do a make dep first? And master is more up to date than v1

SteveRussell33 commented 5 years ago

Oops yeah forgot that step. Building master worked but module images don't appear in browser

SteveRussell33 commented 5 years ago

Found the problem: res folder not included in makefile

almostEric commented 5 years ago

The res folder contains svg images which are not compiled. There is no need for it to be in makefile.

This already builds on vcv’s build server. There are no build errors

SteveRussell33 commented 5 years ago

What I meant was the res folder is not included in the DISTRIBUTABLES line in the makefile so a local build doesn't include that folder; which is why the build was successful but the dist doesn't include the svg files.

This is why the brand was appearing in the module browser but not the images and so none of the modules were selectable.

almostEric commented 5 years ago

ok, fixed in next push