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

Compiling on Debian 9.8 #4910

Closed
tank-trax opened this issue Mar 23, 2019 · 12 comments
Closed

Compiling on Debian 9.8 #4910

tank-trax opened this issue Mar 23, 2019 · 12 comments

Comments

@tank-trax
Copy link

I tried to compile LMMS according to your instructions but was unable to using the following

git clone --recurse-submodules -b master https://github.com/lmms/lmms

these are the steps I used to successfully compile

git clone https://github.com/LMMS/lmms.git
cd lmms/
git submodule update --init --recursive
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../target/
make -j4

./lmms

@PhysSong
Copy link
Member

Could you check the version of Git you have? Also, please upload error message on the step, if any.

@tank-trax
Copy link
Author

git version 2.11.0

I follow these steps

git clone --recurse-submodules -b master https://github.com/lmms/lmms
cd lmms
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../target/
make -j4

and it fails at

[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/gui/widgets/ToolButton.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/gui/widgets/ToolTip.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/gui/widgets/TrackLabelButton.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/gui/widgets/TrackRenameLineEdit.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/gui/widgets/VisualizationWidget.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/gui/widgets/StepRecorderWidget.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/tracks/AutomationTrack.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/tracks/BBTrack.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/tracks/InstrumentTrack.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/tracks/Pattern.cpp.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/tracks/SampleTrack.cpp.o
[ 90%] Building C object src/CMakeFiles/lmmsobjs.dir/3rdparty/weakjack/weakjack/weak_libjack.c.o
[ 90%] Building CXX object src/CMakeFiles/lmmsobjs.dir/qrc_lmms.cpp.o
[ 90%] Built target lmmsobjs
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

@tank-trax
Copy link
Author

make -j8

[ 95%] Building CXX object src/CMakeFiles/lmmsobjs.dir/qrc_lmms.cpp.o
[ 95%] Built target lmmsobjs
[ 95%] Linking CXX shared module ../libxpressive.so
[ 95%] Built target xpressive
Makefile:151: recipe for target 'all' failed

@PhysSong
Copy link
Member

Could you run make without -j4? It will help finding the issue.

@tank-trax
Copy link
Author

[ 17%] Building CXX object src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/qx11embedcontainer_autogen/mocs_compilation.cpp.o
[ 17%] Building CXX object src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/src/X11EmbedContainer.cpp.o
/home/studio/src/lmms/src/3rdparty/qt5-x11embed/src/X11EmbedContainer.cpp:40:38: fatal error: QtCore/private/qobject_p.h: No such file or directory
 #include <QtCore/private/qobject_p.h>
                                      ^
compilation terminated.
src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/build.make:75: recipe for target 'src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/src/X11EmbedContainer.cpp.o' failed
make[2]: *** [src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/src/X11EmbedContainer.cpp.o] Error 1
CMakeFiles/Makefile2:522: recipe for target 'src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/all' failed
make[1]: *** [src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

@tank-trax
Copy link
Author

installed qtbase5-private-dev and it's moving along...

@lukas-w
Copy link
Member

lukas-w commented Mar 24, 2019

I'm assuming installing qtbase5-private-dev fixed it. Closing as duplicate of #4273.

@lukas-w lukas-w closed this as completed Mar 24, 2019
@tank-trax
Copy link
Author

it fixed it however not all modules are building.... papu for example

@zonkmachine
Copy link
Member

it fixed it however not all modules are building.... papu for example

You are compiling master and papu has changed name in master to freeboy. What message do you get about papu when compiling?

@tank-trax
Copy link
Author

tank-trax commented Mar 24, 2019

it's when I open some of the demos... there are many LADSPA plugins missing

for example
missing ladspa 01

@tank-trax
Copy link
Author

I managed to copy over some LADSPA from the git recursive build that fixed the missing errors
also the INITS are causing most if not all of the popping
presets are nice and clean

this build works however is missing some LADSPA plugs that some of the demos use

@tank-trax
Copy link
Author

tank-trax commented Mar 24, 2019

the master build was missing the following:

/lib/lmms/ladspa: calf.so
/lib/lmms/ladspa: ladspa-util.so
/lib/lmms: libOPL2.so
/lib/lmms: libpapu.so

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

4 participants