Personal tools
You are here: Home Forum Extension of the platform ATOMIC module - sip: Unable to find file "QtGuimod.sip"

ATOMIC module - sip: Unable to find file "QtGuimod.sip"

Up to Extension of the platform

ATOMIC module - sip: Unable to find file "QtGuimod.sip"

Posted by yanchio at March 11. 2017

Hello,

 

My operating system is Ubuntu 14.04 LTS.I've been studying the development tutorial and I have built the ATOMIC module from light-00 to light-09.But now I got some problems when I build the light-10 with the same method before:

yanchio@ubuntu:~/salome/Salome-V7_8_0-public$ source salome_prerequisites.sh 

yanchio@ubuntu:~/salome/Salome-V7_8_0-public$ source salome_modules.sh 

...

yanchio@ubuntu:~/salome/TUTORIAL_7.8.0$ source atomic_env_build.sh

yanchio@ubuntu:~/salome/TUTORIAL_7.8.0$ cd ATOMIC_BUILD/

yanchio@ubuntu:~/salome/TUTORIAL_7.8.0/ATOMIC_BUILD$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$ATOMIC_ROOT_DIR ../ATOMIC_SRC

The following error occurred:
 
CMake Error at CMakeLists.txt:68 (FIND_PACKAGE):
By not providing "FindSalomePython.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
 "SalomePython", but CMake did not find one.
 
Could not find a package configuration file provided by "SalomePython" with
any of the following names:
 
    SalomePythonConfig.cmake
    salomepython-config.cmake
 
Add the installation prefix of "SalomePython" to CMAKE_PREFIX_PATH or set
"SalomePython_DIR" to a directory containing one of the above files.  If
"SalomePython" provides a separate development package or SDK, be sure it
has been installed.
 
I open CMakeLists.txt and find line 68:
 
##
## From KERNEL:
##
FIND_PACKAGE(SalomePython REQUIRED)

Then I found the following two packages in the path(~ Salome-V7_8_0-public / modules / KERNEL_V7_8_0 / salome_adm / cmake_file):
 
FindSalomePythonLibs.cmake
FindSalomePythonInterp.cmake
 
I tried to change the code FIND_PACKAGE (SalomePython REQUIRED) to FIND_PACKAGE (SalomePythonInterp REQUIRED) And I built again, no more error occurred.But when I run the make command, the following error occurred:
 
yanchio@ubuntu:~/salome/TUTORIAL_7.8.0/ATOMIC_BUILD$ make
[ 88%] Built target ATOMIC
[ 91%] Generating sipAtomicPycmodule.cc, sipAtomicPyAtomicMolecule.cc
sip: Unable to find file "QtGuimod.sip"
make[2]: *** [src/AtomicPy/sipAtomicPycmodule.cc] Error 1
make[1]: *** [src/AtomicPy/CMakeFiles/AtomicPy.dir/all] Error 2
make: *** [all] Error 2
 
I can find the QtGuimod.sip file under the path: ~ / salome / Salome-V7_8_0-public / prerequisites / Pyqt-496 / share / sip / QtGui.But I do not know how to link them up.
 
I'd be grateful for any help.

Re: ATOMIC module - sip: Unable to find file "QtGuimod.sip"

Posted by SMESH expert at March 13. 2017

Hello

You face those errors because the tutorial has not been updated since v7.2.0. If you wish to follow through the tutorial, download salome v7.2.0 http://www.salome-platform.org/downloads/previous-versions/salome-v7.2.0

If you wish just to build ATOMIC in v7.8.0, download ATOMIC from the git repository from V7_8_0 tag https://git.salome-platform.org/gitweb/?p=samples/atomic.git;a=tag;h=refs/tags/V7_8_0

Best regards

Edward

Re: ATOMIC module - sip: Unable to find file "QtGuimod.sip"

Posted by yanchio at March 17. 2017

Previously SMESH expert wrote:

Hello

You face those errors because the tutorial has not been updated since v7.2.0. If you wish to follow through the tutorial, download salome v7.2.0 http://www.salome-platform.org/downloads/previous-versions/salome-v7.2.0

If you wish just to build ATOMIC in v7.8.0, download ATOMIC from the git repository from V7_8_0 tag https://git.salome-platform.org/gitweb/?p=samples/atomic.git;a=tag;h=refs/tags/V7_8_0

Best regards

Edward

Thanks,it's helpful to me.

 

Powered by Ploneboard
Document Actions