Debian Buster Compilation Fails
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Debian Buster Compilation Fails
I make make and copy the terminal output. I am not a bash expert. But yes, this works also.
Re: Debian Buster Compilation Fails
Can't get past 62% no matter what.
Here is my output. I hope you can help me get past this issue.
Thanks for the patience.
It always ends with
/usr/bin/ld: cannot find -lpthreads
Here is my output. I hope you can help me get past this issue.
Thanks for the patience.
It always ends with
/usr/bin/ld: cannot find -lpthreads
- Attachments
-
- Output.txt
- (23.25 KiB) Downloaded 80 times
Re: Debian Buster Compilation Fails
My guess is:
- you use the antice OCE in combination with
- C++17
Download the latest OCCT from synaptic and get rid of the old OCE. Also then i could happen, that if fails on smesh. Then set
Please for an answer if it works.
Greetings
user1234
- you use the antice OCE in combination with
- C++17
Download the latest OCCT from synaptic and get rid of the old OCE. Also then i could happen, that if fails on smesh. Then set
Code: Select all
-DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/mpic++
-DFREECAD_BUILD_DEBIAN:BOOL=ON
-DFREECAD_USE_OCC_VARIANT:STRING=Official Version
Greetings
user1234
Re: Debian Buster Compilation Fails
No luck I did everything you said @user1234, and I still get the same crash.
As it turns out, the system had OCCT installed instead of OCE, but the cmake-gui was set to community, so I fixed that. didn;t work. I tried also with the C++20 Didn't work either. Tried with the mpic++ and did not work either.
My error.log still ends with
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
I am so frustrated.
I don't know what to do next.
As it turns out, the system had OCCT installed instead of OCE, but the cmake-gui was set to community, so I fixed that. didn;t work. I tried also with the C++20 Didn't work either. Tried with the mpic++ and did not work either.
My error.log still ends with
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
I am so frustrated.
I don't know what to do next.
Re: Debian Buster Compilation Fails
Have you a log from compiling? This
If recompiling do not to work, make always a clean build, because sometimes ccache take then the faulty builds farther.
Greetings
user1234
is not from the log. Have you installed libboost1.74-dev?
And took cmake the right OCCT? Have ypu deinstalled OCE? (If no, do it! Normally both on the system is not possbile because they are conflicting dependencies).
If recompiling do not to work, make always a clean build, because sometimes ccache take then the faulty builds farther.
Greetings
user1234
Re: Debian Buster Compilation Fails
Or any liboost1.XX-dev.
Re: Debian Buster Compilation Fails
Debian repositories have libboost1.67 not 1.74, but libboost1.67-dev was already installed. I even installed libboost1.67-all-dev just in case.
OCE was never installed, all there is is OCCT
Still crashing between 62% and 65%
Any other ideas?
OCE was never installed, all there is is OCCT
Still crashing between 62% and 65%
Any other ideas?
Re: Debian Buster Compilation Fails
OCE was installed, that was seen on the build log before.
The % are uninteresting, the built log is interesting.
We can do a jitsi meeting. I write a list for preparation (dependencies, sources, .....) and you give me time periods when you have time. Is that OK for you? The list is here later, i have no time at the moment.
Greetings
user1234
Re: Debian Buster Compilation Fails
Thank you so much. Any time on Monday if you can, would be great!
Thanks.
Thanks.
Re: Debian Buster Compilation Fails
Monday is OK. Normally the point of time does not matter since i can schedule my time for me myself. But the time duration is limited.
PM me for an appointment proposal (in UTC Coordinated Universal Time) with a roomname for Jitsi.
To do before:
- wipe OCE completely form your system, nothing should be left
- install the package git
- a new clean sourcecode; clone the source with
Code: Select all
git clone https://github.com/FreeCAD/FreeCAD.git path_of_the_sourcecodefolder_you_want
- install the packages
Code: Select all
cmake
cmake-qt-gui
ccache (recommended)
pybind11-dev
python3-pybind11
python3-pybindgen
libmed-dev
libmedc-dev
libmedc11
libopenmpi-dev
libhdf5-openmpi-dev
libhdf5-mpi-dev
h5utils
libocct-data-exchange-7.*
libocct-data-exchange-dev
libocct-draw-7.*
libocct-draw-dev
libocct-foundation-7.*
libocct-foundation-dev
libocct-modeling-algorithms-7.*
libocct-modeling-algorithms-dev
libocct-modeling-data-7.*
libocct-modeling-data-dev
libocct-ocaf-7.*
libocct-ocaf-dev
libocct-visualization-7.*
libocct-visualization-dev
occt-draw
occt-misc
for FEM:
libvtk7-dev
netgen (recommended, optional)
libnglib-dev (recommended, optional)
netgen-headers (recommended, optional)
python3-netgen (recommended, optional)
gmsh (optional)
libgmsh4 (optional)
python3-gmsh (optional)
calculix-ccx (optional)
Check if Jitsi is working. For me Jitsi itself worked out of the box, but since i have very restricted settings, it took me a while that the peripheral devices are worked (microphone).
Greetings
user1234