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

Manjaro/Arch linux build failure #50

Closed
obelisk79 opened this issue Sep 30, 2020 · 6 comments
Closed

Manjaro/Arch linux build failure #50

obelisk79 opened this issue Sep 30, 2020 · 6 comments

Comments

@obelisk79
Copy link

Issue building on Manjaro/Arch linux:
main FreeCAD/FreeCAD branch builds ok
LinkStage3 fails.

Builds ok on Win10 not on linux
cmake error log attached
CMakeError.log

This may be a dependency related issue, although I have triple checked all dependencies appear to be installed in accordance with the guidelines set forth here: https://wiki.freecadweb.org/Compile_on_Linux

@realthunder
Copy link
Owner

Can you please post the complete console output?

@obelisk79
Copy link
Author

obelisk79 commented Sep 30, 2020

I'm building right now, and I think I corrected the issue by adding:
#include <QPainterPath>

to /src/Gui/OverlayWidgets.h
I'll report once complete, currently at 95% build status

@obelisk79
Copy link
Author

Confirmed, adding the include statement corrected the build problem. Unsure why I was able to build on Win10 but not linux without it.

@obelisk79
Copy link
Author

obelisk79 commented Sep 30, 2020

I believe unrelated, but I get the following in console when I run FreeCAD. I can open as a separate issue if you want. The coin errors occur when I enable shadows in viewport.

[obelisk79@obelisk79-manjaro bin]$ ./FreeCAD
FreeCAD 0.19, Libs: 0.19R25101 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.

Command.cpp(1839): duplicate command Std_TreePreSelection
Command.cpp(1839): duplicate command Std_TreeSelectAllInstances
connect failed: No such file or directory
Coin info in SoGLSLShaderObject::printInfoLog(): GLSLfragmentShader log: '0:67(1): error: no function with name 'DirectionalLight'
'
Coin error in SoGLSLShaderProgram::ensureLinking(): error: 'GL_INVALID_VALUE' (set envvar COIN_GLERROR_DEBUGGING=1 and re-run to get more information)

@realthunder
Copy link
Owner

Not sure why you got the duplicate command warning, but that's not fatal.

The GLSLfragmentShader error is due to an older libCoin which means that shadow rendering won't work. If you really want the shadow, you'll have to download Coin3D source code and compile it yourself. You'll also need to compile pivy as well.

@obelisk79
Copy link
Author

Understood, thank you for the response.

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

2 participants