Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Error Installing ngsxFEM

More
2 years 6 months ago #4054 by Yarleque Medina
Hi community, I have this error in the instalation:

[ 59%] Building CXX object comp/CMakeFiles/ngcomp.dir/pde.cpp.o
/home/hpc/Downloads/src/ngsxfem/external_dependencies/ngsolve/comp/pde.cpp:8:10: fatal error: tcl.h: Arquivo ou diretório inexistente
8 | #include <tcl.h>
| ^~~~~~~
compilation terminated.
make[5]: *** [comp/CMakeFiles/ngcomp.dir/build.make:518: comp/CMakeFiles/ngcomp.dir/pde.cpp.o] Erro 1
make[4]: *** [CMakeFiles/Makefile2:732: comp/CMakeFiles/ngcomp.dir/all] Erro 2
make[3]: *** [Makefile:141: all] Erro 2
make[2]: *** [CMakeFiles/ngsolve.dir/build.make:117: dependencies/Stamp/ngsolve/ngsolve-build] Erro 2
make[1]: *** [CMakeFiles/Makefile2:223: CMakeFiles/ngsolve.dir/all] Erro 2
make: *** [Makefile:152: all] Erro 2
CMake Error at CMakeLists.txt:107 (find_package):
Could not find a package configuration file provided by "NGSolve" with any
of the following names:

NGSolveConfig.cmake
ngsolve-config.cmake

Add the installation prefix of "NGSolve" to CMAKE_PREFIX_PATH or set
"NGSolve_DIR" to a directory containing one of the above files. If
"NGSolve" provides a separate development package or SDK, be sure it has
been installed.


-- Configuring incomplete, errors occurred!
See also "/home/hpc/Downloads/build-xfem/CMakeFiles/CMakeOutput.log".
hpc@hpc:~/Downloads/build-xfem$


This file #include <tcl.h>, appear in the /home/hpc/Downloads/src/ngsxfem/external_dependencies/ngsolve/solve/ngsolve.cpp

How can i solve this problem,

Best regards,
More
2 years 6 months ago #4055 by schruste
Replied by schruste on topic Error Installing ngsxFEM
Hi,

ngsxfem tries to build ngsolve as part of the building process and hence requires the same dependencies, see docu.ngsolve.org/latest/install/installlinux.html#prerequisites . Make sure that the prerequisites are met before you try building again. Also, if there are problems, it may be a good idea to first install NGSolve independent of ngsxfem and lateron install ngsxfem separately.

Best,
Christoph
Time to create page: 0.153 seconds