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

No rule to make target /opt/install/libmirisdr/lib/libmirisdr.so #6

Open
benb0jangles opened this issue Apr 4, 2021 · 0 comments
Open

Comments

@benb0jangles
Copy link

Im getting an error during make && make -j4 install:

[ 52%] Automatic MOC and UIC for target inputsdrplay
[ 52%] Built target inputsdrplay_autogen
make[2]: *** No rule to make target `/opt/install/libmirisdr/lib/libmirisdr.so', needed by `lib/plugins/libinputsdrplay.dylib'.  Stop.
make[1]: *** [plugins/samplesource/sdrplay/CMakeFiles/inputsdrplay.dir/all] Error 2
make: *** [all] Error 2

my comands:

sudo mkdir /opt/build
sudo mkdir /opt/install
sudo chown -R user /opt/install
sudo chown -R user /opt/build
git clone https://github.com/f4exb/sdrangel.git
git clone https://github.com/f4exb/libmirisdr-4.git

cd /opt/build/libmirisdr-4/
mkdir build && cd build
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/opt/install/libmirisdr ..
make -j4 install

cd /opt/build/sdrangel/
mkdir build && cd build
cmake -Wno-dev -DDEBUG_OUTPUT=ON -DBUILD_TYPE=RELEASE -DRX_SAMPLE_24BIT=ON -DLIBMIRISDR_INCLUDE_DIR=/opt/install/libmirisdr/include -DLIBMIRISDR_LIBRARIES=/opt/install/libmirisdr/lib/libmirisdr.so -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel ..
make && make -j4 install

How to fix?

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