Hi Kevin,
I did not have the time to look at it yet. I will check this friday and share the output.
Hi NabilG,
I also tried to compile another module called SMESH. I got the same install error as the GUI module.
-k
I also get same error.When I switch OFF
the SALOME_BUILD_DOC
the logs show link errors. If I switch ON
logs show INSTALL error. I have set latex to the path
but it always show error.
Thanks for reporting about this issue that I could reproduce on my side (didn’t have time to try it before).
With SALOME 9.12, basically graphviz is used even if documentation is switched off.
Enclosed a patch which should in principle fix the reported issue.
Can you apply the attached patch to the GUI sources as follows and report if it fixes the issue ?
cd SALOME-9.12.0\SOURCES\GUI
git apply GUI-9.12.0-graphviz.patch
then compile again with SALOME_BUILD_DOC=OFF
. The missing symbols issue about graphviz will then be resolved.
GUI-9.12.0-graphviz.patch (404 Bytes)
This is weird. I tested it. Edit SOURCES\GUI\ CMakeLists.txt and just before section labelled “GUI specifics”, add:
FIND_PACKAGE(SalomeGraphviz)
Of course the GUI tag should be V9_12_0
Please upload make file such that we can see what is going on in your case.
I’ve attached two make files. One with SALOME_BUILD_DOC = OFF and with ON.
Without the suggested patch I get your error which is about non found graphviz symbols
To resolve this issue, I did:
- step 1: I applied the patch (you can as you did simply edit the
CMakeLists.txt
and add theFIND_PACKAGE(SalomeGraphviz)
line
- step 2: Then I set as I told the
SALOME_BUILD_DOC
toOFF
inGUI.pyconf
- step 3: Then I compiled with this command:
D:\CEA>call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
D:\CEA>SALOME-9.12.0\W64\Python\python.exe SAT\sat compile SALOME-9.12.0-windows -p GUI --clean_all
So I believe that either you’re not using GUI tag V9_12_0
or there is something else.
Maybe @kiky can check on his side as well.
Hi NabilG,
Success!
I’ve managed to compile the GUI module successfully. However, I’m still encountering difficulty in applying the patch. The key change required is simply adding ‘FIND_PACKAGE(SalomeGraphviz)’ to the CMakeLists.txt file.
Thank you for your help.
Now that I’ve successfully compiled both the HELLO and GUI modules, how can I proceed to run the HELLO program in debug mode?
In principle you have to rebulld everything with debug:‘yes’ which is quite tedious. Another approach is to build in release mode with debug symbols which corresponds to CMAKE_BUILD_TYPE set to RelWithDebInfo.
SAT needs to be updated to support this mode but if you have the build directories you cn still open the solutions in VIsual and generate for your module this build type.
Others can comment further
Thank you NabilG,I followed what you do and it’s successfully compile on salome-9.11.0