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

Failed compilation - Debian 12 #1456

Closed
JRSV opened this issue Feb 24, 2024 · 13 comments
Closed

Failed compilation - Debian 12 #1456

JRSV opened this issue Feb 24, 2024 · 13 comments

Comments

@JRSV
Copy link

JRSV commented Feb 24, 2024

Hello

I am having an issue compiling plugdata with the following instructions

git clone --recursive https://github.com/plugdata-team/plugdata.git
cd plugdata
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .

I get the following error and I have no idea what is going on.


CMake Error at Libraries/CMakeLists.txt:397 (add_library):
Cannot find source file:
/home/jrsv/plugdata/Libraries/pd-lua/pdlua_multi_instance.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at Libraries/CMakeLists.txt:397 (add_library):
No SOURCES given to target: externals

CMake Error at Libraries/CMakeLists.txt:398 (add_library):
No SOURCES given to target: externals-multi

any ideas?

@dromer
Copy link
Contributor

dromer commented Feb 24, 2024

I'm pretty sure @timothyschoen forgot to push a file on the latest commit of the pd-lua fork.
Which is also why the latest CI builds are failing.

You'll have to move to an earlier commit if you want to build from develop branch.

@JRSV
Copy link
Author

JRSV commented Feb 24, 2024

how do I do that?? if you dont mind me asking, or when is this going to be fixed?

@dromer
Copy link
Contributor

dromer commented Feb 24, 2024

If you don't know how to do this then you shouldn't be building the development branch :)

If you just want to try the latest nightly builds you can go here: https://plugdata.org/download.html

@JRSV
Copy link
Author

JRSV commented Feb 24, 2024

I am doing this because of this issue #1391 (comment)
even though I updated my system, plugdata is behaving unstable, so I want to compile it myself.

cheers

@dromer
Copy link
Contributor

dromer commented Feb 24, 2024

The current builds are for Debian 12, so if you find some specific instabilities it's better to report those so they can be fixed.

@timothyschoen
Copy link
Collaborator

timothyschoen commented Feb 24, 2024

Hi, I accidentally broke the builds. I think they should be fine again now?

@dromer
Copy link
Contributor

dromer commented Feb 24, 2024

@timothyschoen Libraries/CmakeLists.txt is still looking for pdlua_multi_instance.cpp

@JRSV
Copy link
Author

JRSV commented Feb 24, 2024

The current builds are for Debian 12, so if you find some specific instabilities it's better to report those so they can be fixed.

Sure... but that does not mean I cannot try to first look for a stable option for my system and for my work. I see no harm in trying to compile myself even if I do not know how to git download another version of the repo. If you are not willing to provide the information I need that is fine, but I will still press on with this issue and hope for an answer from another contributor.

thanks @timothyschoen, I will try it out again today and hope its fixed.

cheers

@dromer
Copy link
Contributor

dromer commented Feb 24, 2024

Latest develop should build again.

@JRSV
Copy link
Author

JRSV commented Feb 25, 2024

Builds with no issue, but I am getting segmentation faults still... could it be pipewire? anyway, I will close this ticket as its related to building.

@JRSV JRSV closed this as completed Feb 25, 2024
@dromer
Copy link
Contributor

dromer commented Feb 25, 2024

I am getting segmentation faults

Create a debug build, run with gdb. Then post stacktrace in a ticket.

@JRSV
Copy link
Author

JRSV commented Feb 25, 2024

I am getting segmentation faults

Create a debug build, run with gdb. Then post stacktrace in a ticket.

with what command? I tried
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Debug

@dromer
Copy link
Contributor

dromer commented Feb 25, 2024

@JRSV you can only create one build type. set the one you want.

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

3 participants