Cycling74 / min-devkit

Tools, documentation, and reference implementation of a Max Package built using the Min-API.
MIT License
156 stars 30 forks source link

Creating Package seems to be missing files #194

Open noahneumark opened 2 years ago

noahneumark commented 2 years ago

I ran the ruby script (missing the command "ruby" in the documentation), and created a new package. When I run the "cmake -G Xcode .." from the build folder, I get multiple errors for missing files. Looking at directories notated in the error message, I see they are empty folders.

The first error was

CMake Error at source/min-api/script/min-package.cmake:4 (include): include could not find requested file:

/Users/username/Documents/Max 8/Packages/spleeterFilterMax/source/min-api/script/../max-sdk-base/script/max-package.cmake

Call Stack (most recent call first): CMakeLists.txt:30 (include)

CMake Error at CMakeLists.txt:40 (SUBDIRLIST): Unknown CMake command "SUBDIRLIST".

I corrected it by cloning from the github repository, but then I got another similar error.

CMake Error at source/min-api/test/min-object-unittest.cmake:42 (add_subdirectory): The source directory

/Users/username/Documents/Max 8/Packages/spleeterFilterMax/source/min-api/test/mock

does not contain a CMakeLists.txt file. Call Stack (most recent call first): source/projects/spleeterFilterMax.hello-world/CMakeLists.txt:39 (include)

This folder is empty as well.

noahneumark commented 2 years ago

Also, I noticed "source/projects/min.dcblocker_tilde" is missing from the min-devkit projects folder. Of course, that's the one I need....

isabelgk commented 2 years ago

Hi @noahneumark ,

Have you run a git submodule update --init --recursive from the base of the min-devkit? Empty folders sound like a symptom of not fetching submodules.

isabelgk commented 2 years ago

Also, I noticed "source/projects/min.dcblocker_tilde" is missing from the min-devkit projects folder. Of course, that's the one I need....

Thanks for the note on this! Related to #192