My goal: use avogadro to calculate electrostatic surfaces of small molecules to import into Blender for figures (https://www.youtube.com/watch?v=s2M2mMCKpeQ)
I am using ubuntu 24.10 currently, what I have tried so far:
-
sudo apt-get installation method and worked nicely to install the program. Issue was that a) could not export molecule as PDB and b) was unable to select an energy function to calculate an electrostatic surface with
-
I realized I might be missing packages/extensions so I opted to download the nightly build but I am truly struggling to compile it. I am not familiar with this process. List of issues I have come up against:
a) after “cmake -DQT_VERSION=5 -DBUILD_MOLEQUEUE=OFF -S ./openchemistry -B ./build” command I get the error:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by “Qt5Svg” with any ofthe following names:…
b) I tried to change -DQT_VERSION=6, but a similar issue appeared:
CMake Error at CMakeLists.txt:89 (find_package):
By not providing “FindQt6.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Qt6”, but
CMake did not find one.
c) I tried to use the other recommendation for Linux compiling with clang++ and used the line “cmake -DQT_VERSION=5 -DBUILD_MOLEQUEUE=OFF -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -S ./openchemistry -B ./build”
this yielded the error:
"CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
clang++
is not a full path and was not found in the PATH."
Past attempts to climb this mountain and I would download all kinds of packages and versions of QT, having no idea what I am changing on my operating system/environment so I am wondering if anyone can save me some trial an error?
I have self taught my self coding all for 10 years and never posted on stack overflow. This is the problem that finally broke me would love to use this software but really need help figuring out what I am missing to get this all to work.
Earnestly,
Michael