Building LINKDAILY
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Building LINKDAILY
I build the master every day. And today is no issue.
I have also, built the interim build that includes precursor to linkdaily code that wmayer began.
No issues.
But, I am attempting to build the latest LinkDaily code and it complains that it need Qt4. Yet the previously mentioned build seems happy with Qt5 on this machine.
Is this true?
Or am I missing something? (Likely since, I am not a build maven and if the out-of-box scripts fail, well, I left those skills in 2016...)
I have also, built the interim build that includes precursor to linkdaily code that wmayer began.
No issues.
But, I am attempting to build the latest LinkDaily code and it complains that it need Qt4. Yet the previously mentioned build seems happy with Qt5 on this machine.
Is this true?
Or am I missing something? (Likely since, I am not a build maven and if the out-of-box scripts fail, well, I left those skills in 2016...)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Building LINKDAILY
I think you need to ping RT, I've tried all sorts to get it working (and failed miserably), I don't think many people compile this branch themselves, hence the lack of feedback!!
Re: Building LINKDAILY
which is a problem under LGPL:
complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Building LINKDAILY
probably missing -DBUILD_QT5=ON ? IIRC qt5 was made default in master but it would seem this change hasn't been done in realthunder's branch. Here an example on how people are compiling in archlinux: https://aur.archlinux.org/cgit/aur.git/ ... stage3-git (look at the build() function)
Re: Building LINKDAILY
There are 40 or more places in the source directory where build() appears.
There are mentions of the -DBUILD_QT5=ON (most are commented out...)
At least one place it is -DBUILD_QT5=true rather than =ON
So, I have no idea where (or if) it needs to be added.
There are mentions of the -DBUILD_QT5=ON (most are commented out...)
At least one place it is -DBUILD_QT5=true rather than =ON
So, I have no idea where (or if) it needs to be added.
realthunder wrote: pinged by pinger macro
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Building LINKDAILY
Attempted to override the DBUILD_QT5 as shown in the wiki...no joy
The end of the CMakeError.log:
Code: Select all
cmake ../<local l3 source> -DBUILD_QT5=ON
Code: Select all
Run Build Command:"/usr/bin/make" "cmTC_3dacb/fast"
/usr/bin/make -f CMakeFiles/cmTC_3dacb.dir/build.make CMakeFiles/cmTC_3dacb.dir/build
make[1]: Entering directory '/home/mac/freecadL3-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3dacb.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_3dacb.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_3dacb
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3dacb.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_3dacb.dir/CheckFunctionExists.c.o -o cmTC_3dacb -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_3dacb.dir/build.make:87: cmTC_3dacb] Error 1
make[1]: Leaving directory '/home/mac/freecadL3-build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_3dacb/fast] Error 2
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Building LINKDAILY
I am able to compile LinkDaily, but I had to disable modules dependent on SMESH (Mesh, Fem). Internal SMESH does not like C++17 probably...
Other settings:
QT5 enabled
Python set to python3.9
CPP compiler set to C++17
Other settings:
QT5 enabled
Python set to python3.9
CPP compiler set to C++17
Re: Building LINKDAILY
Thanks...no idea how to disable modules or set those (other than the QT5 argument to cmake)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Building LINKDAILY
Makes life easier...once you learn it.
I don't know how to use it. When I start it I have no idea where to start, it's a bunch of empty fields. Will it tell me how to do the things you describe?
(Wanna give me a tutorial. )
I use the build process defined in the FC wiki, as is also pointed to by the linkdaily github.
It works fine for master, it doesn't for linkdaily.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."