[Feature Request] Search field for AddonManager

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
leoheck
Veteran
Posts: 1225
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: [Feature Request] Search field for AddonManager

Post by leoheck »

chennes wrote: Thu Oct 28, 2021 8:56 pm
leoheck wrote: Thu Oct 28, 2021 8:50 pm Yay, then you are the man! Looking further to test it. Do you have any tutorials to speed up things here?
If you are looking for information on how to compile a PR, a good place to start is the general wiki page on compiling FreeCAD: https://wiki.freecad.org/Compiling

Then, to check out this PR, you can:

Code: Select all

git fetch origin pull/5131/head:pr/5131
git checkout pr/5131
... or you can wait for me to merge it and test the Weekly (probably not this week's, but maybe next)
Yeah, I was starting from a clean clone of the freecad to install the dependencies on my Ubuntu 21.10. But it looks like some packages are going to break the installation, and then I am trying to check if I can get them separated. But I don't know if I will be able o build it. It seems to have to many dependencies that may not fit fine on my system. Maybe in a virtual machine would be better.

Where do you compile it? What is your OS?
User avatar
chennes
Veteran
Posts: 3909
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: [Feature Request] Search field for AddonManager

Post by chennes »

I actually upgraded to Ubuntu 21.10 a few minutes ago -- I needed to add a new symlink to libdl.so, but otherwise my compile seems to be going smoothly. I switch between OSes regularly as I am developing to try to catch mistakes from one compiler or the other.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
M4x
Veteran
Posts: 1481
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: [Feature Request] Search field for AddonManager

Post by M4x »

There's a docker container available: Compile_on_Docker
leoheck
Veteran
Posts: 1225
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: [Feature Request] Search field for AddonManager

Post by leoheck »

Hm
chennes wrote: Thu Oct 28, 2021 9:41 pm my compile seems to be going smoothly.
Hm cool. How do you solve dependencies?

Using the following command does not do the job for me. It tries to install things that my system don't like. Did you install those by manually with the source package of them in a non-default folder? Or you are ignoring different versions of the things?

➜ sudo apt build-dep freecad
M4x wrote: Thu Oct 28, 2021 10:04 pm There's a docker container available: Compile_on_Docker
Ah, maybe this is the cleanest option. What is the OS of this docker image?
User avatar
chennes
Veteran
Posts: 3909
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: [Feature Request] Search field for AddonManager

Post by chennes »

leoheck wrote: Fri Oct 29, 2021 12:03 pm ➜ sudo apt build-dep freecad
Well, first off, when I say I upgraded I mean that literally: I took an existing 21.04 system and told it to upgrade to 21.10, so I already had all the dependencies installed. And second, I never use build_dep, I use the one-shot line from the wiki:

Code: Select all

sudo apt install cmake cmake-gui libboost-date-time-dev libboost-dev libboost-filesystem-dev libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-thread-dev libcoin-dev libeigen3-dev libgts-bin libgts-dev libkdtree++-dev libmedc-dev libocct-data-exchange-dev libocct-ocaf-dev libocct-visualization-dev libopencv-dev libproj-dev libpyside2-dev libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev libqt5xmlpatterns5-dev libshiboken2-dev libspnav-dev libvtk7-dev libx11-dev libxerces-c-dev libzipios++-dev occt-draw pyside2-tools python3-dev python3-matplotlib python3-pivy python3-ply python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtsvg python3-pyside2.qtwidgets python3-pyside2uic qtbase5-dev qttools5-dev swig
It sometimes needs minor tweaks, but it's easier for me to see what it's doing.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
leoheck
Veteran
Posts: 1225
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: [Feature Request] Search field for AddonManager

Post by leoheck »

Awesome, thank you.

I just converted it into something that can fail individually instead of a bunch of things that I have to look for a bug inside.
I also put a -y to always say yes, because I trust in the system haha

Also, updated the cmake-gui to cmake-qt-gui. But maybe it is wont be necessary for me.

Code: Select all

sudo apt install -y cmake
sudo apt install -y cmake-qt-gui
sudo apt install -y libboost-date-time-dev
sudo apt install -y libboost-dev
sudo apt install -y libboost-filesystem-dev
sudo apt install -y libboost-graph-dev
sudo apt install -y libboost-iostreams-dev
sudo apt install -y libboost-program-options-dev
sudo apt install -y libboost-python-dev
sudo apt install -y libboost-regex-dev
sudo apt install -y libboost-serialization-dev
sudo apt install -y libboost-thread-dev
sudo apt install -y libcoin-dev
sudo apt install -y libeigen3-dev
sudo apt install -y libgts-bin
sudo apt install -y libgts-dev
sudo apt install -y libkdtree++-dev
sudo apt install -y libmedc-dev
sudo apt install -y libocct-data-exchange-dev
sudo apt install -y libocct-ocaf-dev
sudo apt install -y libocct-visualization-dev
sudo apt install -y libopencv-dev
sudo apt install -y libproj-dev
sudo apt install -y libpyside2-dev
sudo apt install -y libqt5opengl5-dev
sudo apt install -y libqt5svg5-dev
sudo apt install -y libqt5webkit5-dev
sudo apt install -y libqt5x11extras5-dev
sudo apt install -y libqt5xmlpatterns5-dev
sudo apt install -y libshiboken2-dev
sudo apt install -y libspnav-dev
sudo apt install -y libvtk7-dev
sudo apt install -y libx11-dev
sudo apt install -y libxerces-c-dev
sudo apt install -y libzipios++-dev
sudo apt install -y occt-draw
sudo apt install -y pyside2-tools
sudo apt install -y python3-dev
sudo apt install -y python3-matplotlib
sudo apt install -y python3-pivy
sudo apt install -y python3-ply
sudo apt install -y python3-pyside2.qtcore
sudo apt install -y python3-pyside2.qtgui
sudo apt install -y python3-pyside2.qtsvg
sudo apt install -y python3-pyside2.qtwidgets
sudo apt install -y python3-pyside2uic
sudo apt install -y qtbase5-dev
sudo apt install -y qttools5-dev
sudo apt install -y swig
So, it looks like I have more or less everything that I need. However, it still needs tweaks

Code: Select all

[  8%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/duplicate.cpp.o
[  8%] Linking CXX shared library ../../../lib/libSMDS.so
[  8%] Built target SMDS
make: *** [Makefile:149: all] Error 2
Post Reply