Comments (5)
BTW, this is with cmake-3.9.6 and cmake-3.11.2.
from libsamplerate.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.23") -- Checking for module 'sndfile' -- Found sndfile, version 1.0.20 -- Checking processor clipping capabilities... -- Checking processor clipping capabilities... disabled -- Performing Test HAVE_VISIBILITY -- Performing Test HAVE_VISIBILITY - Failed -- Looking for sys/times.h -- Looking for sys/times.h - not found -- Looking for alarm -- Looking for alarm - found -- Looking for signal -- Looking for signal - found -- Looking for SIGALRM -- Looking for SIGALRM - not found -- Checking for module 'fftw3' -- No package 'fftw3' found -- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR) -- Configuring done CMake Error at tests/CMakeLists.txt:88 (add_executable): Target "src-evaluate" links to target "PkgConfig::SndFile" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at examples/CMakeLists.txt:14 (add_executable): Target "timewarp-file" links to target "PkgConfig::SndFile" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at examples/CMakeLists.txt:20 (add_executable): Target "varispeed-play" links to target "PkgConfig::SndFile" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? -- Generating done -- Build files have been written to: XXX
It does report errors, but it does generate the makefiles..
The toolchain file in question is this:SET(CMAKE_SYSTEM_NAME Windows) SET(CMAKE_C_COMPILER /opt/cross_win64/bin/x86_64-w64-mingw32-gcc) SET(CMAKE_CXX_COMPILER /opt/cross_win64/bin/x86_64-w64-mingw32-g++) SET(CMAKE_RC_COMPILER /opt/cross_win64/bin/x86_64-w64-mingw32-windres) SET(CMAKE_FIND_ROOT_PATH /opt/cross_win64 /opt/cross_win64/x86_64-w64-mingw32) SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
I did not setup a cross-pkgconfig, can it be the reason? (Don't know how but..)
I guess so.
from libsamplerate.
With autotools, I can set pkg-config path by setting PKG_CONFIG_PATH
environment variable, or I can disable pkg-config functionality altogether
by setting PKG_CONFIG
to /bin/false
. Is there a similar way to do so
with cmake?
If I am to setup a corss-pkgconfig, how should I set it up in my
toolchain file, i.e. what is the cmake variable name for it?
from libsamplerate.
With autotools, I can set pkg-config path by setting
PKG_CONFIG_PATH
environment variable, or I can disable pkg-config functionality altogether
by settingPKG_CONFIG
to/bin/false
. Is there a similar way to do so
with cmake?
FindPkgConfig
is just wrapper around of pkg-config
, i guess you can use all the same tricks. Also you can try PKG_CONFIG_EXECUTABLE
.
from libsamplerate.
OK thanks. Closing this one.
from libsamplerate.
Related Issues (20)
- src_process returns less samples than requested if the rate recently changed HOT 3
- CMake missing equivalent options from autoconf HOT 2
- What is a frame? HOT 3
- Calculate in advance the number of samples needed for generating a fixed size HOT 5
- Parallelize resampling (with high delay) HOT 8
- Deprecation warning CMP0091 HOT 4
- src_simple with sndfile HOT 2
- No anti-aliasing filter for linear resampling HOT 5
- Input samples needed to get n output samples? HOT 1
- src_process - zipper noise HOT 3
- Libsamplerate as fractional sample rate converter ? HOT 2
- Slow `lrint()` `lrintf()` functions in the release Windows build. HOT 12
- Fix Gihub Actions CI
- fail to build with Xcode in universal binary on OSX HOT 4
- need help with resampling the waveform in macOS HOT 1
- Don't work with more than 15 channels HOT 2
- Varispeed but preserve pitch HOT 1
- typo in libsamplerate/docs/api_full.md HOT 3
- Inconsistent input_frames_used/output_frames_gen among the numbers of channels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libsamplerate.