Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure - Xcode 13.4.1 / CMake #27

Closed
ninehundreds opened this issue Jun 23, 2022 · 0 comments
Closed

Build Failure - Xcode 13.4.1 / CMake #27

ninehundreds opened this issue Jun 23, 2022 · 0 comments

Comments

@ninehundreds
Copy link

ninehundreds commented Jun 23, 2022

I've been trying out the library, which I have working on Android, but am running into issues when trying to build on iOS. I'm using Xcode 13.4.1 (13F100), with CMake version 3.23.2 installed via brew.

I've run through the following steps to get the dependencies compiled:

  1. Carthage install
    $ brew update
    $ brew install carthage

  2. Liquid DSP
    $ brew install cmake
    $ brew install automake
    $ git clone https://github.com/quiet/liquid-dsp.git -b devel --single-branch
    $ cd liquid-dsp
    $ autoupdate
    $ ./bootstrap.sh
    $ ./configure
    $ make
    $ sudo make install

  3. libfec
    $ git clone https://github.com/quiet/libfec.git
    $ cd libfec
    $ ./configure --build=x86_64-apple-darwin15.0.0
    $ make
    $ sudo make install

  4. Jansson
    $ brew install libtool
    $ git clone https://github.com/akheron/jansson.git
    $ cd jansson
    $ autoreconf -i
    $ ./configure
    $ make
    $ make install

  5. portaudio
    $ git clone https://github.com/PortAudio/portaudio
    $ cd portaudio
    $ ./configure
    $ make
    $ make install

  6. libsndfile
    $ download from http://www.mega-nerd.com/libsndfile/#Download
    $ cd libsndfile
    $ ./configure
    $ make
    $ sudo make install

  7. quiet-lwip
    $ git clone https://github.com/quiet/quiet-lwip.git
    $ cd quiet-lwip
    $ mkdir build
    $ cd build
    $ cmake ..
    $ copy headers from portaudio, quiet-portaudio, and quiet into include directory.
    $ make

  8. libcorrect
    $ git clone https://github.com/quiet/libcorrect.git
    $ cd libcorrect
    $ mkdir build
    $ cd build
    $ cmake ..
    $ make
    $ make install

  9. quiet
    $ git clone https://github.com/quiet/quiet
    $ cd quiet
    $ ./bootstrap
    $ cd build && make install

When I attempt to build the framework via:

xcodebuild -configuration Debug build

I am getting multple errors, including "libquiet requires libliquid but cannot find it". I've checked my path settings, and checked my included headers. If you could provide any insight I would greatly appreciate it. I've attached the full xcodebuild output for reference.

@brian-armstrong have you considered enabling sponsorship for this project? I would be interested in contributing financially, or in other ways to support it's development. Thank you for your hard work on this.

xcodebuild.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant