Hello,
I hope this is a proper question for the general list. It borders on being something for the ‘dev’ list, but is very basic, I’m afraid. I’m trying to compile darwin-arm64 or perhaps ‘fat’ binaries for Cyclone. When I run CMake on the ‘cyclone’ source, I get this :
The C compiler identification is AppleClang 13.1.6.13160021 Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped Detecting C compile features Detecting C compile features - done CMake Error at CMakeLists.txt:9 (message): Please provide a path to the pure-data source files.
These are the first eleven lines of cmake.txt, where the error originates:
cmake_minimum_required (VERSION 3.0) project (cyclone C)
option(BUILD_SHARED_LIBS "Build shared libraries" ON) option(BUILD_SINGLE_LIBRARY "Compile everything into one single library." OFF)
set(PD_INCLUDE_DIR "" CACHE PATH "Path to pure-data sources (this can be the pure-data/src folder in the sources of libpd)") if (NOT PD_INCLUDE_DIR) message(FATAL_ERROR "Please provide a path to the pure-data source files.") endif()
What ‘pure-data source files’ is this referring to? Please forgive my compiling-newbie question!
Best,
Phil Stone Davis, CA
You have to set PD_INCLUDEDIR to point to Pd's "src" folder because the build system needs to find the header files.
That being said, cyclone's build system could have some code to set some reasonable default values. That's what I do in my CMake based Pd externals, so I know it's possible :-)
On the other hand, cyclone also supports the pd-lib-builder build system. Just cd into the top level folder (containing "Makefile") and type "make". pd-lib-builder should be able to find the Pd header files automagically.
Christof
On 24.03.2022 06:32, Philip Stone via Pd-list wrote:
Hello,
I hope this is a proper question for the general list. It borders on being something for the ‘dev’ list, but is very basic, I’m afraid. I’m trying to compile darwin-arm64 or perhaps ‘fat’ binaries for Cyclone. When I run CMake on the ‘cyclone’ source, I get this :
The C compiler identification is AppleClang 13.1.6.13160021
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
- skipped
Detecting C compile features
Detecting C compile features - done
CMake Error at CMakeLists.txt:9 (message): Please provide a path to the pure-data source files.
These are the first eleven lines of cmake.txt, where the error originates:
cmake_minimum_required (VERSION 3.0)
project (cyclone C)
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
option(BUILD_SINGLE_LIBRARY "Compile everything into one single library." OFF)
set(PD_INCLUDE_DIR "" CACHE PATH "Path to pure-data sources (this can be the pure-data/src folder in the sources of libpd)")
if (NOT PD_INCLUDE_DIR)
message(FATAL_ERROR "Please provide a path to the pure-data source files.")
endif()
What ‘pure-data source files’ is this referring to? Please forgive my compiling-newbie question!
Best,
Phil Stone
Davis, CA
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list