Skip to content
Back to formatted view

Raw Message

Message-ID: <b1b0bf35-1eae-4263-93de-0610b62b7b38@orange.fr>
Date: 2025-01-13T18:27:53Z
From: Sylvain Sécherre
Subject: Problem with R package while building KDEStateMachineEditor

Hello everyone!

I have a big problem that takes me mad since 3 days...

I try to build KDEStateMachineEditor with cmake. This soft includes 
GraphViz, which includes himself SWIG which needs R.

With cmake, when I configure KDEStateMachineEditor before a generation, 
I am told that the R package is missing:

"---------------------------------------------------------------------------------"
/Checking for module 'R'
 ??? Package 'R', required by 'virtual:world', not found
setting -DENABLE_R=OFF/

"---------------------------------------------------------------------------------"

... but every necessary R packages seem to be installed on my computer.

I have found the line of the GraphViz's *CMakeList.txt* involved:

"---------------------------------------------------------------------------------"

/find_package(SWIG COMPONENTS csharp d go guile java javascript lua 
perl5 php7 python *r* )/

"---------------------------------------------------------------------------------"

After a look at the cmake doc, it seems that I should have a file like 
FindR.cmake, but there not such a file on my disk. Instead I do have 
this file : */usr/lib/R/site-library/qtl/contrib/bin/FindRLibs.cmake*

So, what must I do to solve this problem?

Thanks!

Sylvain

(France)

	[[alternative HTML version deleted]]