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

[openSUSE] How to compile LibreCAD3 with system installed tinyspline? #365

Open
kevinsmia1939 opened this issue Nov 23, 2020 · 3 comments
Open

Comments

@kevinsmia1939
Copy link

kevinsmia1939 commented Nov 23, 2020

Hello, I have manage to package tinyspline 0.3.0 into openSUSE Tumbleweed KDE.
I would like to build LIbreCAD3 for openSUSE, however, I believe LibreCAD3 bundled with older tinyspline, which I prefer to use the system install tinyspline instead of bundled dependency.
I recalled that if system installed tinyspline exist, LibreCAD3 cmake file will use that, but from my observation it does not, because the build fail exactly how old version of tinyspline failed.
How do I tell LibreCAD3 to use system installed tinyspline when building?

Also, would you prefer LibreCAD 3 to be name LibreCAD3 or LibreCAD_3 or lowercase?

Thank you.

https://build.opensuse.org/package/show/home:andythe_great/LibreCAD_3

@msteinbeck
Copy link

This issue may be the result of #363 (comment).

@kevinsmia1939
Copy link
Author

This issue may be the result of #363 (comment).

From what I understand, there are some issue that cause tinyspline to fail to build. But I manage to build tinyspline 0.3.0 separately somehow. I just want librecad to use tinyspline that was build separately not the bundled tinyspline.

@Hetman506
Copy link

Hetman506 commented May 5, 2021

I had same problem with Linux Mint.
I passed this compilation step by editing LibreCAD_3/lckernel/tinyspline/src CMakelists.txt

I have changed line no. 872: add_library(tinysplinecxx ${TINYSPLINE_CXX_SOURCE_FILES})
to add_library(tinysplinecxx SHARED ${TINYSPLINE_CXX_SOURCE_FILES})

But now i've stuck at building lcluascript.
It gives me this error: Makefile:135: recipe for target 'all' failed.

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