Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compil... #80

Open
SylvainSRE opened this issue Jan 15, 2025 · 2 comments
Open

Can't compil... #80

SylvainSRE opened this issue Jan 15, 2025 · 2 comments

Comments

@SylvainSRE
Copy link

Hy!

I try to build KDStateMachineEditor since a week now and it's driving me completely silly...

OS = Debian stable up to date.
My knowledge about cmake: just after 0...

I've solved every dependencies, even the R one (the solution was to create a link named R.pc pointing to libR.pc in /usr/lib/pkgconfig/).

At "config" step, cmake tells me:

-- The following OPTIONAL packages have not been found:

 * Qt6QmlCompilerPlusPrivate
 * Qt6Core5Compat (required version >= 6.1.0), Qt6-Qt5 compatibility module
   Needed for the layoutinformation unit test

Therefore, I do have Qt6Core5Compat installed. But I can't find Qt6QmlCompilerPlusPrivate, even on Internet.
But it doesn't seems to be so important. So I go on.

At the "generate" cmake step, cmake crashes:

CMake Error: install(EXPORT "KDSME_TARGETS" ...) includes target "gvc" which requires target "util" that is not in any export set.
CMake Error: install(EXPORT "KDSME_TARGETS" ...) includes target "cgraph" which requires target "util" that is not in any export set.
CMake Error: install(EXPORT "KDSME_TARGETS" ...) includes target "common" which requires target "util" that is not in any export set.
Generating done

This time I don't know what to do.
As I don't know cmake so much, I can't find were the bug is.

@iamsergio
Copy link
Contributor

Which cmake command are you using ?

@SylvainSRE
Copy link
Author

I use cmake-gui and then select the preset "rel6".
Then I push twice the Configure button and then once the Generate one.
Here's the complete output:

setting -DWITH_EXPAT=ON
Checking for module 'xrender'
  Found xrender, version 0.9.10
setting -DWITH_SMYRNA=ON
setting -DENABLE_LTDL=ON
setting -DWITH_ZLIB=ON
setting -DENABLE_TCL=ON
setting -DENABLE_SWIG=ON
setting -DENABLE_SHARP=ON
setting -DENABLE_D=ON
setting -DENABLE_GO=ON
setting -DINTGOSIZE=64
setting -DENABLE_GUILE=ON
setting -DENABLE_JAVA=ON
setting -DENABLE_JAVASCRIPT=ON
setting -DENABLE_LUA=ON
setting -DENABLE_PERL=ON
setting -DENABLE_PHP=ON
Found Python3: /usr/include/python3.11 (found version "3.11.2") found components: Development Development.Module Development.Embed 
setting -DENABLE_PYTHON=OFF
setting -DENABLE_R=ON
Found Python3: /usr/bin/python3 (found version "3.11.2") found components: Interpreter 
Graphviz version: 12.2.1
Checking for module 'xrender'
  Found xrender, version 0.9.10
The following features have been enabled:

 * Internal build of Graphviz, disable with KDSME_INTERNAL_GRAPHVIZ=OFF
 * Statically build Graphviz for internal builds, disable with KDSME_STATIC_GRAPHVIZ=OFF

-- The following OPTIONAL packages have been found:

 * Qt6CoreTools (required version >= 6.4.2)
 * OpenGL
 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
 * Vulkan
 * Qt6GuiTools (required version >= 6.4.2)
 * Qt6DBusTools (required version >= 6.4.2)
 * Qt6QmlTools (required version >= 6.4.2)
 * WrapVulkanHeaders
 * Qt6Quick (required version >= 6.1.0)
 * Qt6QuickControls2 (required version >= 6.1.0)
 * Qt6WidgetsTools (required version >= 6.4.2)
 * Qt6QuickWidgets (required version >= 6.1.0)
 * Qt6Test (required version >= 6.1.0)
 * Qt6StateMachine (required version >= 6.1.0)
 * Qt6RemoteObjectsTools (required version >= 6.4.2)
 * Qt6RemoteObjects (required version >= 6.1.0), Qt Remote Objects module
   Needed for the QStateMachine/QtSCXML adapter and remote debugging capabilities
 * Qt6ScxmlTools (required version >= 6.4.2)
 * Qt6Scxml (required version >= 6.1.0), Qt SCXML module
   Needed for the Qt SCXML adapter (adapter itself depends on Qt RemoteObjects)
 * ANN
 * CAIRO
 * EXPAT
 * GTS
 * Fontconfig
 * GS
 * LTDL
 * DevIL
 * ZLIB
 * TCL
 * SWIG
 * GUILE
 * JNI
 * JAVASCRIPTCORE
 * Lua
 * PerlLibs
 * PHP
 * GD

-- The following REQUIRED packages have been found:

 * Qt6 (required version >= 6.1.0)
 * BISON (required version >= 3.0)
 * FLEX
 * Python3
 * GLUT
 * Freetype
 * GTK2
 * PANGOCAIRO
 * PkgConfig

-- The following OPTIONAL packages have not been found:

 * Qt6QmlCompilerPlusPrivate
 * Qt6Core5Compat (required version >= 6.1.0), Qt6-Qt5 compatibility module
   Needed for the layoutinformation unit test

Building kdstatemachineeditor 2.0.0 in Release mode. Installing to /usr/local
The following features have been enabled:

 * Internal build of Graphviz, disable with KDSME_INTERNAL_GRAPHVIZ=OFF
 * Statically build Graphviz for internal builds, disable with KDSME_STATIC_GRAPHVIZ=OFF

-- The following OPTIONAL packages have been found:

 * Qt6CoreTools (required version >= 6.4.2)
 * OpenGL
 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
 * Vulkan
 * Qt6GuiTools (required version >= 6.4.2)
 * Qt6DBusTools (required version >= 6.4.2)
 * Qt6QmlTools (required version >= 6.4.2)
 * WrapVulkanHeaders
 * Qt6Quick (required version >= 6.1.0)
 * Qt6QuickControls2 (required version >= 6.1.0)
 * Qt6WidgetsTools (required version >= 6.4.2)
 * Qt6QuickWidgets (required version >= 6.1.0)
 * Qt6Test (required version >= 6.1.0)
 * Qt6StateMachine (required version >= 6.1.0)
 * Qt6RemoteObjectsTools (required version >= 6.4.2)
 * Qt6RemoteObjects (required version >= 6.1.0), Qt Remote Objects module
   Needed for the QStateMachine/QtSCXML adapter and remote debugging capabilities
 * Qt6ScxmlTools (required version >= 6.4.2)
 * Qt6Scxml (required version >= 6.1.0), Qt SCXML module
   Needed for the Qt SCXML adapter (adapter itself depends on Qt RemoteObjects)
 * ANN
 * CAIRO
 * EXPAT
 * GTS
 * Fontconfig
 * GS
 * LTDL
 * DevIL
 * ZLIB
 * TCL
 * SWIG
 * GUILE
 * JNI
 * JAVASCRIPTCORE
 * Lua
 * PerlLibs
 * PHP
 * GD

-- The following REQUIRED packages have been found:

 * Qt6 (required version >= 6.1.0)
 * BISON (required version >= 3.0)
 * FLEX
 * Python3
 * GLUT
 * Freetype
 * GTK2
 * PANGOCAIRO
 * PkgConfig

-- The following OPTIONAL packages have not been found:

 * Qt6QmlCompilerPlusPrivate
 * Qt6Core5Compat (required version >= 6.1.0), Qt6-Qt5 compatibility module
   Needed for the layoutinformation unit test

Configuring done
CMake Error: install(EXPORT "KDSME_TARGETS" ...) includes target "gvc" which requires target "util" that is not in any export set.
CMake Error: install(EXPORT "KDSME_TARGETS" ...) includes target "cgraph" which requires target "util" that is not in any export set.
CMake Error: install(EXPORT "KDSME_TARGETS" ...) includes target "common" which requires target "util" that is not in any export set.
Generating done

After the generate action a modal message box appears: Error in generation process, project files may be invalid
I've selected the Makefiles generator but I have the same problem with the other ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants