-
Notifications
You must be signed in to change notification settings - Fork 1
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
Lots of build problems #5
Comments
Reread this, and it's not totally helpful. I think the place to start is that there were errors with the build finding Hapitrip's symbols. Almost like it was included improperly or not at all. |
|
Am I supposed to |
hey @cchafe after our chat, I fixed my local issues. Running make twice didn't work :/ |
I'm pretty sure the build instructions only work on Linux/Ubuntu. I think I'm able to get a build going through Docker but I have no way of testing it, I just see that the build succeeded. I did have to build each of the individual projects ( My Dockerfile: FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install --no-install-recommends -y qt5-default qt5-qmake qttools5-dev git ca-certificates make cmake \
build-essential pkg-config libjack-jackd2-dev libasound-dev libpulse-dev
RUN echo "Building hacktrip" \
&& cd /root/ \
&& git clone --recurse-submodules https://github.com/cchafe/hacktrip.git \
&& cd hacktrip \
&& export GIT_SHA=`git rev-parse --short=12 HEAD` \
&& export ARCH=`dpkg --print-architecture` \
&& export LD_LIBRARY_PATH=/root/hacktrip/guiDemo/librtaudio:/root/hacktrip/guiDemo/libhapitrip \
&& echo $LD_LIBRARY_PATH \
&& ls -ltrah \
&& cd guiDemo \
&& echo "Building libregulator" \
&& cd libregulator \
&& qmake libregulator.pro \
&& make clean \
&& make \
&& cd .. \
&& echo "Building librtaudio" \
&& cd librtaudio \
&& qmake librtaudio.pro \
&& make clean \
&& make \
&& cd .. \
&& echo "Building libhapitrip" \
&& cd libhapitrip \
&& qmake libhapitrip.pro \
&& make clean \
&& make \
&& cd .. \
&& echo "Building guiDemo" \
&& qmake guiDemo.pro \
&& make clean \
&& make Command to execute: docker build --progress=plain -t hacktrip -f ./Dockerfile . |
Hey there, Chris.
I tried to build this, but ran into issues about it not being able to link Hapitrip.
Then I tried to shake up my qt environment and my local environment is now so hosed I can't even recreate the errors.
I know you hadn't intended to share this yet, but the instructions for building guiDemo weren't totally clear.
The text was updated successfully, but these errors were encountered: