Help first compiling modules on Mac

Hello, i 've see a post similar on Windows but don’t help for me,

so i’ve follow the environment setup and now I’ve this type of error’s:

Macmini-2:~ yanledean$ cd desktop/bidoo-1.0
Macmini-2:bidoo-1.0 yanledean$ git submodule update --init --recursive
fatal: Not a git repository (or any of the parent directories): .git
Macmini-2:bidoo-1.0 yanledean$ RACK_DIR=desktop/Rack-SDK/make
Macmini-2:bidoo-1.0 yanledean$ RACK_DIR=desktop/Rack-SDK/make dist
-bash: dist: command not found
Macmini-2:bidoo-1.0 yanledean$ RACK_DIR=desktop/Rack-SDK/make dep
-bash: dep: command not found
Macmini-2:bidoo-1.0 yanledean$ RACK_DIR=desktop/Rack-SDK/make install
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

any help appreciated :wink:

The bidoo-1.0 folder is not a git repo.

ok, thanks, i found and now i’ve this:

Macmini-2:~ yanledean$ git clone https://github.com/sebastien-bouffier/Bidoo.git
Cloning into 'Bidoo'...
remote: Enumerating objects: 539, done.
remote: Counting objects: 100% (539/539), done.
remote: Compressing objects: 100% (357/357), done.
remote: Total 4101 (delta 384), reused 308 (delta 179), pack-reused 3562
Receiving objects: 100% (4101/4101), 59.23 MiB | 8.64 MiB/s, done.
Resolving deltas: 100% (2468/2468), done.
Macmini-2:~ yanledean$ cd Bidoo
Macmini-2:Bidoo yanledean$ make
Makefile:9: ../../plugin.mk: No such file or directory
make: *** No rule to make target `../../plugin.mk'.  Stop.

also test this way:

Macmini-2:Bidoo yanledean$ RACK_DIR=desktop/Rack-SDK/make
Macmini-2:Bidoo yanledean$ RACK_DIR=desktop/Rack-SDK/make dist
-bash: dist: command not found

Bidoo’ default branch is v1 but are you checking out 0.6 I wonder?

try git checkout v1.0 in the bidoo directory and then make this will switch the branch to v1.0

submodule won’t work, everything is contained bidoo’s in the repo.

Thanks , but latest commit was 18 hours ago, so i suppose i clone the good one ? :wink:

Supposedly!

Looks ok, thanks

Macmini-2:Bidoo yanledean$ git checkout v1.0
Already on 'v1.0'
Your branch is up-to-date with 'origin/v1.0'.

What does the makefile contain in the bidoo directory

That makes no sense. You probably meant:

RACK_DIR=desktop/Rack-SDK make dist

Thanks,

@Coirt

if i open the file makefile , i see this :

RACK_DIR ?= ../..

DISTRIBUTABLES += $(wildcard LICENSE*) res

FLAGS += -Idep/include -I./src/dep/dr_wav -I./src/dep/filters -I./src/dep/freeverb -I./src/dep/gverb/include -I./src/dep/minimp3 -I./src/dep/lodepng -I./src/dep/pffft -I./src/dep/AudioFile -I./src/dep

SOURCES = $(wildcard src/*.cpp src/dep/filters/*.cpp src/dep/freeverb/*.cpp src/dep/gverb/src/*.c src/dep/lodepng/*.cpp src/dep/pffft/*.c src/dep/*.cpp)

include $(RACK_DIR)/plugin.mk

@richie if i try your syntax i have this:

Macmini-2:Bidoo yanledean$ RACK_DIR=desktop/Rack-SDK make dist
Makefile:9: desktop/Rack-SDK/plugin.mk: No such file or directory
make: *** No rule to make target `desktop/Rack-SDK/plugin.mk'.  Stop.
Macmini-2:Bidoo yanledean$ 

It’s looking for desktop/Rack-SDK inside your current directory (Bidoo). Assuming Rack-SDK is in the Desktop folder inside your home directory, instead use RACK_DIR=~/Desktop/Rack-SDK make dist

1 Like

@xandermogue Thanks a lot, works !

now i have 7 warnings and 11 errors generated…but i suppose this is more Bidoo code now.

i can’t find any zip, only a the new build folder , i suppose it’s normal with all errors ?

No errors for me on bidoo’s latest comit.

ok, thanks @Coirt , so must be my system or my homebrew installation ?

i just follow the building vcv page …

looking in the details of Homebrew, i see requirement is high sierra minimum, i’m on el capitan…maybe the reason

Did you edit any of bidoo’s files? Cut/Patse them somewhere and retry git clone? Not too sure about Mac can only manage Windows at this time.

@Coirt no , i’m not a programmer, it is the original files…

Are you sure you need to run make dist on the plugin? Most plugins don’t have a dist sub-project.

@Squinky.Labs don’t know…

My first time trying to compile, just trying to follow the buiding tutorial:wink: I have also test a single “make” with same result.

i just test with Fundamental.git …12 errors ( make or make dist)

Maybe el capitan is the issue, will maybe test later on a Mojave partition, not a big need, was mainly curious to test.