GithubHelp home page GithubHelp logo

kdab / kdstatemachineeditor Goto Github PK

View Code? Open in Web Editor NEW
164.0 60.0 32.0 2.62 MB

A framework for creating Qt State Machine metacode using a graphical user interface

Home Page: https://kdab.github.io/KDStateMachineEditor/

CMake 16.19% C++ 72.07% C 0.56% QML 9.24% JavaScript 0.25% Makefile 0.01% Python 1.65% Ruby 0.02%
kdab state-machine qt

kdstatemachineeditor's Introduction

KDStateMachineEditor - Library for visualizing and editing state charts

Introduction

The KDAB State Machine Editor Library is a framework that can be used to help develop full-featured State Machine Editing graphical user interfaces and tools. Output from such applications is in metacode or QML that can then be used in larger Qt or QtQuick projects.

For a full description of the KDAB State Machine Editor Library, read our wiki on GitHub, https://github.com/KDAB/KDStateMachineEditor/wiki.

Screenshots

The main feature of KDStateMachineEditor is visualizing and editing state charts.

Note: A proof-of-concept application called kdstatemachineditor executable is part of this repository and will be built automatically. It can be run from the bin/ directory once the project built.

KDSME visualizing microwave_parallel.scxml

KDSME visualizing microwave_parallel.scxml

KDSME visualizing stickman.scxml

KDSME visualizing stickman.scxml

KDSME visualizing trafficreport.scxml (using a different theme)

KDSME visualizing trafficreport.scxml (using a different theme)

KDSME visualizing a live-running QScxmlStateMachine

KDSME visualizing a live-running QScxmlStateMachine

KDSME embedded in another application (here: GammaRay)

KDSME embedded in another application (here: GammaRay)

Features

  • Internal API to create state charts

    • Consisting of states and transitions
    • Also supports history/initial states (in short: everything the SCXML spec provides)
  • QML scene which shows the state charts

    • Custom items for drawing transitions using bezier curves
    • Editing: Drag & drop support, move support, etc.
    • Editing: Undo stack implementation, redo/undo actions for all operations
  • Abstract interface to layout state charts

    • GraphViz's cgraph is one of the implemented layouting backends (part of this repository)
  • Import/Export capabilities

    • Allows to import/export .scxml files
    • Allows to export .svg files
    • Allows to export .qml files (in QtQml.StateMachine syntax)
  • Allows to inspect running state machine instances

    • Both supports visualizing QStateMachine or QScxmlStateMachine
    • Can inspect remote applications (i.e. processes living on another machine)
    • Using QtRemoteObjects for communication
      • Requires the target application to be "instrumented", cf. the [qsmdebugger](examples/qsmdebugger/] example
  • Theming support (cf. screenshots above) -- currently available are:

    • DarkTheme
    • SystemTheme

GammaRay

KDStateMachineEditor's main user is KDAB's GammaRay, a tool for introspecting Qt application. GammaRay has the capability to display the state chart of a QStateMachine embedded in the application, making it possible to inspect the live configuration changes of the state machine, as well as zooming into child state (machines).

Building and running

We strongly recommend installing Graphviz:

    (Ubuntu) sudo apt install graphviz graphviz-dev
    (Fedora) dnf install graphviz graphviz-devel
    (Mac) brew install graphviz
    (Windows) choco install graphviz

of course you need a Qt5 or Qt6 installation and CMake too.

Build

Make sure you have cmake, ninja, compiler, Qt, etc in PATH.

    mkdir build
    cd build
    cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/path/where/to/install ..
    cmake --build
    cmake --build . --target install

Start the test app

    ./bin/kdstatemachineeditor

See INSTALL.txt for more information.

Known Issues

The editor part of the library still is somewhat "rough"; not a lot of development time has been spent on streamlining this feature.

Contributing

KDAB will happily accept external contributions, but substantial contributions require a signed Copyright Assignment Agreement.

Contact [email protected] for more information about the Copyright Assignment Agreement.

Please submit your contributions or issue reports from our GitHub space at https://github.com/KDAB/KDStateMachineEditor

Licensing

The KDAB State Machine Editor Library is (C) 2014-2023 Klarälvdalens Datakonsult AB (KDAB), and is licensed according to the terms of the LGPL 2.1.

Commercial licensing terms are available in the included file LicenseRef-KDAB-KDStateMachineEditor.txt.

For terms of redistribution, refer to the corresponding license agreement.

About KDAB

This State Machine Editor Library is supported and maintained by Klarälvdalens Datakonsult AB (KDAB).

The KDAB Group is the global No.1 software consultancy for Qt, C++ and OpenGL applications across desktop, embedded and mobile platforms.

The KDAB Group provides consulting and mentoring for developing Qt applications from scratch and in porting from all popular and legacy frameworks to Qt. We continue to help develop parts of Qt and are one of the major contributors to the Qt Project. We can give advanced or standard trainings anywhere around the globe on Qt as well as C++, OpenGL, 3D and more.

Please visit https://www.kdab.com to meet the people who write code like this.

Stay up-to-date with KDAB product announcements:

kdstatemachineeditor's People

Contributors

aholza avatar albert-astals-cid-kdab avatar bog-dan-ro avatar bweir avatar cschleifenbaum avatar dantti avatar dfaure avatar dfaure-kdab avatar e4z9 avatar jpetersen avatar krf avatar krop avatar mkrus avatar nmariusp avatar pasnox avatar petross404 avatar pre-commit-ci[bot] avatar renatofilho avatar sebsauer avatar stottle avatar tuxmaster5000 avatar vkrause avatar winterz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kdstatemachineeditor's Issues

Compatibility with QtCreator scxml files

We have been using QtCreator for our scxml, but wanted to try this tool to see if it is easier to work with. However, our current state-charts cannot be opened by the tool, as there are a lot of qt:editorinfo/ xml elements in the scxml files.

I get the error: Failed loading "<my_statemachine.scxml>" - "Unexpected element found while parsing 'state': editorinfo"

My question is, are there plans to support files which have been edited in QtCreator (and contain the qt:editorinfo elements)?

Conan file tag version for git checkout missing 'v'

Hi, I am not sure if this is something specific to my git client that has not been caught for you, but the conan recipe tries to check the version number: e.g. "1.2.8", whereas the tag is "v1.2.8". So my conan create command was failing until I added the 'v' prefix.

Are examples installed, or just built?

I think that examples option, isn't making a difference to what is installed in the system. They are built, only to be thrown away later, or am I wrong?

SOVERSION should not be the same as VERSION

The SOVERSION and VERSION properties have different meaning, but in KDStateMachineEditor are used as if they were the same thing, see for example:

set_target_properties(kdstatemachineeditor_core PROPERTIES
SOVERSION ${KDSME_SOVERSION}
VERSION ${KDSME_SOVERSION}
EXPORT_NAME Core
INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib"
)

This is problematic for packagers, I recommend to change it to a single number, like most libraries.
If you agree on this, I can open a PR.

crash with triangulation failed / source point not in any triangle

I'm using KDStateMachineEditor within gammaray.
This is what i get, when i start my program:

GammaRay server listening on: tcp://127.0.0.1:11732
kdsme.view: KDSME::GraphvizLayouter(0x16460a0) QObject(0x0)
kdsme.view: KDSME::GraphvizLayouter(0x16460a0) State[this=0x2094fa0, label="StateMachine"]
kdsme.core: State[this=0x2094fa0, label="StateMachine"] 0x1648b10
Error: trouble in init_rank
        %0 1
        %0 4
        %0 3
        %0 5
        %0 2
        %0 4
        %0 4
        %0 5
        %0 5
        %0 4
        %0 4
        %0 5
        %0 6
        %0 1
        %0 2
        %0 6
        %0 4
        %0 9
        %0 2
        %0 6
        %0 6
        %0 9
        %0 9
        %0 10
        %0 13
        %0 2
        %0 2
        %0 2
        0x1413930 5
        %0 2
        dummynode_cluster0x1413790 1
        0x1413990 2
        0x1413d20 1
        dummynode_cluster0x14136f0 1
        0x14122f0 3
        %0 1
        %0 3
        dummynode_cluster0x1412090 1
        0x1412130 1
        0x1412320 2
        dummynode_cluster0x1411ab0 4
        0x1412d70 5
        %0 3
        dummynode_cluster0x1412ad0 1
        0x1412dd0 1
        0x1413180 2
        dummynode_cluster0x1412a30 4
        dummynode_cluster0x198b4c0 1
        0x140ff10 1
        0x1989d00 4
        %0 1
        %0 1
        %0 1
        %0 4
        0x19898c0 2
        %0 2
        dummynode_cluster0x19890d0 2
        0x19896f0 2
        0x19898f0 1
        0x198a970 3
        %0 1
        %0 3
        0x1989380 4
        %0 2
        dummynode_cluster0x1989030 1
        0x19893b0 2
        0x2093b50 5
        %0 1
        %0 5
        0x209aeb0 2
        %0 2
        dummynode_cluster0x2092d60 2
        0x209ac90 2
        0x209aee0 1
        0x1b98cd0 4
        %0 1
        %0 4
        0x2093000 4
        %0 2
        dummynode_cluster0x2093390 1
        0x2093030 3
        0x1411b50 4
        %0 3
        %0 3
        %0 1
libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed

I can't provide the source of our application, and it would be to large anyways.
But other than that, I can help with tracking the issue down, just tell me how : )

Usage in QtQuick application is impossible without using internal API

Currently, the StateMachineView can only be used with QtWidgets, even though it makes heavy use of QML internally. It would be nice if the widgets part were decoupled from the QtQuick part so that StateMachineView can be used in a QtQuick-only application.
At the moment this is only possible by employing some hacks like defining the _quickView QML context variable in the QtQuick application.

Hidden Child's state

Hi congratulation for this project! it has a pretty look and feel!

I'm focusing on state machines section.

I note a problem with some states, that has children states:
for some of these no child is shown.

For example into following picture, the Offline state contains some children states, but they are not shown here, as well as other three states !!

no child is shown for offline state

PVS-Studio issues

I have Kubuntu 22.04. I have installed Qt5 using kdesrc-build. I have built https://github.com/KDAB/KDStateMachineEditor using this Qt. Pseudocode:

git clone https://github.com/KDAB/KDStateMachineEditor
cd KDStateMachineEditor && mkdir build && cd build

export CMAKE_PREFIX_PATH=/home/n/kde/qt5:/home/n/kde/usr
export XDG_DATA_DIRS=/home/n/kde/usr/share:/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop
export PKG_CONFIG_PATH=/home/n/kde/usr/lib/pkgconfig:/home/n/kde/qt5/lib/pkgconfig
export PATH=/home/n/kde/usr/bin:/home/n/kde/qt5/bin:/home/n/kde/src/kdesrc-build:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export CMAKE_MODULE_PATH=/home/n/kde/qt5/lib/cmake:/home/n/kde/usr/lib64/cmake:/home/n/kde/usr/lib/cmake
export LD_LIBRARY_PATH=/home/n/kde/usr/lib:/home/n/kde/qt5/lib

cmake -B . -S .. -G Unix\ Makefiles -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS:STRING=-pipe -DCMAKE_INSTALL_PREFIX=/home/n/kde/usr -DCMAKE_PREFIX_PATH=/home/n/kde/qt5
pvs-studio-analyzer trace -- make # Instead of make -j `nproc`

pvs-studio-analyzer analyze -l /path/to/PVS-Studio.lic -o PVS-Studio.log

plog-converter -a GA:1,2 -d V1042,V1053,V1044 -t tasklist -o report.tasks PVS-Studio.log

The file report.tasks can be opened with Qt Creator. File > Open File or Project. It will be shown in the "Issues" Output Pane (Alt+1).

Below is the file report.tasks:

pvs-studio.com/en/docs/warnings/	1	err	Help: The documentation for all analyzer warnings is available here: https://pvs-studio.com/en/docs/warnings/.
/home/n/kde/misc/KDStateMachineEditor/build/src/core/kdstatemachineeditor_core_autogen/NLOY5YBGEN/moc_state.cpp	819	warn	V1048 The '* reinterpret_cast< Kind * > (_v)' variable was assigned the same value.
/home/n/kde/misc/KDStateMachineEditor/build/src/debuginterface/debuginterfacesource/rep_debuginterface_source.h	84	warn	V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_signalArgCount, m_methodArgCount.
/home/n/kde/misc/KDStateMachineEditor/build/src/view/kdstatemachineeditor_view_autogen/LTLVFUOEFO/moc_commandfactory_p.cpp	210	warn	V1037 Two or more case-branches perform the same actions. Check lines: 210, 224
/home/n/kde/misc/KDStateMachineEditor/build/src/view/kdstatemachineeditor_view_autogen/EWIEGA46WW/moc_editcontroller.cpp	110	warn	V1037 Two or more case-branches perform the same actions. Check lines: 110, 117
/home/n/kde/misc/KDStateMachineEditor/src/app/mainwindow.cpp	160	err	V547 Expression 'mode == PresetsInputMode' is always true.
/home/n/kde/misc/KDStateMachineEditor/src/core/layout/graphvizlayout/graphvizlayouterbackend.cpp	73	warn	V785 Constant expression in switch statement.
/home/n/kde/misc/KDStateMachineEditor/src/core/model/element.cpp	179	warn	V1037 Two or more case-branches perform the same actions. Check lines: 179, 188
/home/n/kde/misc/KDStateMachineEditor/src/core/model/elementutil.cpp	31	err	V547 Expression is always true.
/home/n/kde/misc/KDStateMachineEditor/src/core/model/elementutil.cpp	48	err	V547 Expression is always true.
/home/n/kde/misc/KDStateMachineEditor/src/core/model/state.cpp	38	warn	V785 Constant expression in switch statement.
/home/n/kde/misc/KDStateMachineEditor/build/src/debuginterface/debuginterfacesource/kdstatemachineeditor_debuginterfacesource_autogen/include/qsmdebuginterfacesource.moc	110	warn	V1037 Two or more case-branches perform the same actions. Check lines: 110, 117
/home/n/kde/misc/KDStateMachineEditor/src/view/command/modifyelementcommand.cpp	115	err	V501 There are identical sub-expressions to the left and to the right of the '&&' operator: m_item && m_item
/home/n/kde/misc/KDStateMachineEditor/src/view/quick/quicksceneitem.cpp	164	warn	V601 The bool type is implicitly cast to the double type. Inspect the first argument.
/home/n/kde/misc/KDStateMachineEditor/src/view/semanticzoommanager.cpp	99	warn	V657 It's odd that this function always returns one and the same value.
/home/n/kde/misc/KDStateMachineEditor/src/view/statemachinescene.cpp	326	warn	V657 It's odd that this function always returns one and the same value.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	159	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	172	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	192	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	205	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	218	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	234	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	253	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	278	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/tests/test_commands.cpp	292	err	V773 The function was exited without releasing the 'cmd' pointer. A memory leak is possible.
/home/n/kde/misc/KDStateMachineEditor/src/view/widgets/statemachinetoolbar.cpp	144	err	V773 Visibility scope of the 'exporter' pointer was exited without releasing the memory. A memory leak is possible.

Segfault when clicking "New" after opening an existing scxml file or deleting current one

Got it working and this is the generate result. Otherwise, it's looking awesome. :D

./bin/kdstatemachineeditor 
QML debugging is enabled. Only use this in a safe environment.
kdsme.view: void KDSME::StateMachineScene::layout() KDSME::LayerwiseLayouter(0x18e2850) State[this=0x197bc50, label="New"]
kdsme.core: virtual QRectF KDSME::LayerwiseLayouter::layout(KDSME::State*, const KDSME::LayoutProperties*) Took 0 ms
kdsme.view: void KDSME::StateMachineScene::layout() KDSME::LayerwiseLayouter(0x18e2850) State[this=0x197bc50, label="New"]
kdsme.core: virtual QRectF KDSME::LayerwiseLayouter::layout(KDSME::State*, const KDSME::LayoutProperties*) Took 0 ms
kdsme.view: void KDSME::StateMachineScene::layout() KDSME::LayerwiseLayouter(0x18e2850) State[this=0x1f55a00, label="New"]
kdsme.core: virtual QRectF KDSME::LayerwiseLayouter::layout(KDSME::State*, const KDSME::LayoutProperties*) Took 0 ms
kdsme.view: void KDSME::StateMachineScene::layout() KDSME::LayerwiseLayouter(0x18e2850) State[this=0x2016690, label="basicstate"]
kdsme.core: virtual QRectF KDSME::LayerwiseLayouter::layout(KDSME::State*, const KDSME::LayoutProperties*) Took 8 ms
Segmentation fault (core dumped)

qt 5.7 private/qscxmlstatemachineinfo_p.h not found

Please cancel: build ok when using git://code.qt.io/qt/qtscxml.git

On ubuntu 14.05 / gcc 4.9 / Qt5.7 it fails to find private/qscxmlstatemachineinfo_p.h:

naderp@herman:~/Development/KDStateMachineEditor/build$ qmake --version
QMake version 3.0
Using Qt version 5.7.0 in /home/naderp/Development/Qt5.7.0/5.7/gcc_64/lib
naderp@herman:~/Development/KDStateMachineEditor/build$ cmake -DWITH_INTERNAL_GRAPHVIZ=ON ..
-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 4.9.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file graphviz/graphviz_version.h
-- Looking for include file graphviz/graphviz_version.h - found
-- Found Graphviz version 2.36.0
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Found Graphviz: /usr/lib/libcdt.so /usr/lib/libgvc.so /usr/lib/libcgraph.so GRAPHVIZ_GRAPH_LIBRARY-NOTFOUND /usr/lib/libpathplan.so
-- Performing Test HAVE_GXX_UNUSED_BUT_SET
-- Performing Test HAVE_GXX_UNUSED_BUT_SET - Success
-- Performing Test HAVE_GXX_LOGICAL_OP
-- Performing Test HAVE_GXX_LOGICAL_OP - Success
-- Performing Test HAVE_GXX_POINTER_MEMACCESS
-- Performing Test HAVE_GXX_POINTER_MEMACCESS - Success
-- Performing Test HAVE_GXX_REORDER
-- Performing Test HAVE_GXX_REORDER - Success
-- Performing Test HAVE_GXX_FORMAT_SECURITY
-- Performing Test HAVE_GXX_FORMAT_SECURITY - Success
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") 
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- 
-- The following features have been enabled:

 * Internal build of Graphviz , enable with WITH_INTERNAL_GRAPHVIZ=ON

-- The following OPTIONAL packages have been found:

 * Qt5RemoteObjects (required version >= 5.4) , Qt Remote Objects module
   Needed for the QStateMachine/QtSCXML adapter and remote debugging capabilities
 * Qt5Scxml (required version >= 5.6) , Qt SCXML module
   Needed for the Qt SCXML adapter (adapter itself depends on Qt5RemoteObjects)
 * Qt5XmlPatterns , Qt5 XmlPatterns library
   Required for unit tests dealing with XML input/output
 * Git
 * Doxygen , Doxygen documentation generator
   Needed for generating API documentation (make docs)

-- The following RECOMMENDED packages have been found:

 * Graphviz , Graph visualization software , <http://www.graphviz.org/>
   Needed for automatic layout of state charts

-- The following REQUIRED packages have been found:

 * Qt5Core (required version >= 5.7.0)
 * Qt5Network (required version >= 5.7.0)
 * Qt5Qml (required version >= 5.7.0)
 * Qt5Gui (required version >= 5.7.0)
 * Qt5Quick
 * Qt5Test
 * Qt5Widgets
 * Qt5QuickWidgets
 * Qt5 (required version >= 5.3)

-- Configuring done
-- Generating done

naderp@herman:~/Development/KDStateMachineEditor/build$ make
Scanning dependencies of target GraphvizExternalProject
[  1%] Creating directories for 'GraphvizExternalProject'
[  1%] Performing download step (git clone) for 'GraphvizExternalProject'
Cloning into 'GraphvizExternalProject'...
Note: checking out 'e8cb0e4ce1c34ec030a99da256de2040add4836c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e8cb0e4... Use -fno-common for lib targets only
[  2%] No patch step for 'GraphvizExternalProject'
[  3%] Performing update step for 'GraphvizExternalProject'
[  4%] Performing configure step for 'GraphvizExternalProject'
-- The C compiler identification is GNU 4.9.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found BISON: /usr/bin/bison (found version "3.0.2") 
-- Found FLEX: /usr/bin/flex (found version "2.5.35") 
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.1.0") 
-- Looking for include file expat.h
-- Looking for include file expat.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file ndir.h
-- Looking for include file ndir.h - not found
-- Looking for include file search.h
-- Looking for include file search.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file stddef.h
-- Looking for include file stddef.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/fpu.h
-- Looking for include file sys/fpu.h - not found
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file values.h
-- Looking for include file values.h - found
-- Looking for include file zlib.h
-- Looking for include file zlib.h - found
-- Looking for log2
-- Looking for log2 - not found
-- Looking for pow
-- Looking for pow - not found
-- Looking for sincos
-- Looking for sincos - not found
-- Looking for sqrt
-- Looking for sqrt - not found
-- Looking for drand48
-- Looking for drand48 - found
-- Looking for srand48
-- Looking for srand48 - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strcasestr
-- Looking for strcasestr - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject-build
[  4%] No build step for 'GraphvizExternalProject'
[  5%] Performing install step for 'GraphvizExternalProject'
Scanning dependencies of target graphviz_lib_xdot
[  0%] Building C object lib/xdot/CMakeFiles/graphviz_lib_xdot.dir/xdot.c.o
Linking C static library libxdot.a
[  0%] Built target graphviz_lib_xdot
Scanning dependencies of target graphviz_lib_cdt
[  0%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dttree.c.o
[  1%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtclose.c.o
[  1%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtdisc.c.o
[  2%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtextract.c.o
[  2%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtflatten.c.o
[  2%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dthash.c.o
[  3%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtlist.c.o
[  3%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtmethod.c.o
[  4%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtopen.c.o
[  4%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtrenew.c.o
[  5%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtrestore.c.o
[  5%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtsize.c.o
[  5%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtstat.c.o
[  6%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtstrhash.c.o
[  6%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtview.c.o
[  7%] Building C object lib/cdt/CMakeFiles/graphviz_lib_cdt.dir/dtwalk.c.o
Linking C static library libcdt.a
[  7%] Built target graphviz_lib_cdt
[  8%] [FLEX][scan.pre.c] Building scanner with flex 2.5.35
[  8%] [BISON][grammar.pre.c] Building parser with bison 3.0.2
[  8%] Generating grammar.h
[  8%] Generating grammar.c
[  9%] Generating scan.c
Scanning dependencies of target graphviz_lib_cgraph
[  9%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/apply.c.o
[ 10%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/agerror.c.o
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/cgraph/agerror.c: In function ‘aglasterr’:
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/cgraph/agerror.c:54:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
     fread(buf, sizeof(char), len, agerrout);
     ^
[ 10%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/agxbuf.c.o
[ 10%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/attr.c.o
[ 11%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/edge.c.o
[ 11%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/flatten.c.o
[ 12%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/graph.c.o
[ 12%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/id.c.o
[ 13%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/imap.c.o
[ 13%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/io.c.o
[ 13%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/mem.c.o
[ 14%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/node.c.o
[ 14%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/obj.c.o
[ 15%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/pend.c.o
[ 15%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/rec.c.o
[ 15%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/refstr.c.o
[ 16%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/subg.c.o
[ 16%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/utils.c.o
[ 17%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/write.c.o
[ 17%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/grammar.c.o
[ 18%] Building C object lib/cgraph/CMakeFiles/graphviz_lib_cgraph.dir/scan.c.o
Linking C static library libcgraph.a
[ 18%] Built target graphviz_lib_cgraph
Scanning dependencies of target graphviz_lib_label
[ 18%] Building C object lib/label/CMakeFiles/graphviz_lib_label.dir/xlabels.c.o
[ 18%] Building C object lib/label/CMakeFiles/graphviz_lib_label.dir/index.c.o
[ 19%] Building C object lib/label/CMakeFiles/graphviz_lib_label.dir/node.c.o
[ 19%] Building C object lib/label/CMakeFiles/graphviz_lib_label.dir/rectangle.c.o
[ 20%] Building C object lib/label/CMakeFiles/graphviz_lib_label.dir/split.q.c.o
Linking C static library liblabel.a
[ 20%] Built target graphviz_lib_label
Scanning dependencies of target graphviz_lib_pathplan
[ 20%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/cvt.c.o
[ 21%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/inpoly.c.o
[ 21%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/route.c.o
[ 22%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/shortest.c.o
[ 22%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/shortestpth.c.o
[ 22%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/solvers.c.o
[ 23%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/triang.c.o
[ 23%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/util.c.o
[ 24%] Building C object lib/pathplan/CMakeFiles/graphviz_lib_pathplan.dir/visibility.c.o
Linking C static library libpathplan.a
[ 24%] Built target graphviz_lib_pathplan
Scanning dependencies of target graphviz_lib_sparse
[ 24%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/general.c.o
[ 25%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/BinaryHeap.c.o
[ 25%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/IntStack.c.o
[ 26%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/SparseMatrix.c.o
[ 26%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/QuadTree.c.o
[ 27%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/LinkedList.c.o
[ 27%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/vector.c.o
[ 27%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/DotIO.c.o
[ 28%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/colorutil.c.o
[ 28%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/color_palette.c.o
[ 29%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/mq.c.o
[ 29%] Building C object lib/sparse/CMakeFiles/graphviz_lib_sparse.dir/clustering.c.o
Linking C static library libsparse.a
[ 29%] Built target graphviz_lib_sparse
Scanning dependencies of target graphviz_lib_pack
[ 29%] Building C object lib/pack/CMakeFiles/graphviz_lib_pack.dir/ccomps.c.o
[ 30%] Building C object lib/pack/CMakeFiles/graphviz_lib_pack.dir/pack.c.o
Linking C static library libpack.a
[ 30%] Built target graphviz_lib_pack
Scanning dependencies of target graphviz_lib_ortho
[ 31%] Building C object lib/ortho/CMakeFiles/graphviz_lib_ortho.dir/fPQ.c.o
[ 31%] Building C object lib/ortho/CMakeFiles/graphviz_lib_ortho.dir/maze.c.o
[ 32%] Building C object lib/ortho/CMakeFiles/graphviz_lib_ortho.dir/ortho.c.o
[ 32%] Building C object lib/ortho/CMakeFiles/graphviz_lib_ortho.dir/partition.c.o
[ 33%] Building C object lib/ortho/CMakeFiles/graphviz_lib_ortho.dir/rawgraph.c.o
[ 33%] Building C object lib/ortho/CMakeFiles/graphviz_lib_ortho.dir/sgraph.c.o
[ 33%] Building C object lib/ortho/CMakeFiles/graphviz_lib_ortho.dir/trapezoid.c.o
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/ortho/trapezoid.c:22:0: warning: "__USE_ISOC99" redefined
 #define __USE_ISOC99
 ^
In file included from /usr/include/string.h:25:0,
                 from /home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/ortho/trapezoid.c:19:
/usr/include/features.h:268:0: note: this is the location of the previous definition
 # define __USE_ISOC99  1
 ^
Linking C static library libortho.a
[ 33%] Built target graphviz_lib_ortho
Scanning dependencies of target graphviz_lib_neatogen
[ 33%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/adjust.c.o
[ 33%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/bfs.c.o
[ 34%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/call_tri.c.o
[ 34%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/circuit.c.o
[ 35%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/closest.c.o
[ 35%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/compute_hierarchy.c.o
[ 36%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/conjgrad.c.o
[ 36%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/constrained_majorization.c.o
[ 36%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/constrained_majorization_ipsep.c.o
[ 37%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/constraint.c.o
[ 37%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/delaunay.c.o
[ 38%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/dijkstra.c.o
[ 38%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/edges.c.o
[ 39%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/embed_graph.c.o
[ 39%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/geometry.c.o
[ 39%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/heap.c.o
[ 40%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/hedges.c.o
[ 40%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/info.c.o
[ 41%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/kkutils.c.o
[ 41%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/legal.c.o
[ 41%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/lu.c.o
[ 42%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/matinv.c.o
[ 42%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/matrix_ops.c.o
[ 43%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/memory.c.o
[ 43%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/multispline.c.o
[ 44%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/neatoinit.c.o
[ 44%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/neatosplines.c.o
[ 44%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/opt_arrangement.c.o
[ 45%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/overlap.c.o
[ 45%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/pca.c.o
[ 46%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/poly.c.o
[ 46%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/printvis.c.o
[ 47%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/quad_prog_solve.c.o
[ 47%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/site.c.o
[ 47%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/smart_ini_x.c.o
[ 48%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/solve.c.o
[ 48%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/stress.c.o
[ 49%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/stuff.c.o
[ 49%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/voronoi.c.o
[ 49%] Building C object lib/neatogen/CMakeFiles/graphviz_lib_neatogen.dir/quad_prog_vpsc.c.o
Linking C static library libneatogen.a
[ 49%] Built target graphviz_lib_neatogen
Scanning dependencies of target graphviz_lib_gvc
[ 50%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvc.c.o
[ 50%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvconfig.c.o
[ 50%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvcontext.c.o
[ 51%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvdevice.c.o
[ 51%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvevent.c.o
[ 52%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvjobs.c.o
[ 52%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvlayout.c.o
[ 52%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvloadimage.c.o
[ 53%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvplugin.c.o
[ 53%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvrender.c.o
[ 54%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvtextlayout.c.o
[ 54%] Building C object lib/gvc/CMakeFiles/graphviz_lib_gvc.dir/gvusershape.c.o
Linking C static library libgvc.a
[ 54%] Built target graphviz_lib_gvc
Scanning dependencies of target graphviz_lib_fdpgen
[ 54%] Building C object lib/fdpgen/CMakeFiles/graphviz_lib_fdpgen.dir/clusteredges.c.o
[ 55%] Building C object lib/fdpgen/CMakeFiles/graphviz_lib_fdpgen.dir/comp.c.o
[ 55%] Building C object lib/fdpgen/CMakeFiles/graphviz_lib_fdpgen.dir/dbg.c.o
[ 55%] Building C object lib/fdpgen/CMakeFiles/graphviz_lib_fdpgen.dir/fdpinit.c.o
[ 56%] Building C object lib/fdpgen/CMakeFiles/graphviz_lib_fdpgen.dir/grid.c.o
[ 56%] Building C object lib/fdpgen/CMakeFiles/graphviz_lib_fdpgen.dir/layout.c.o
[ 57%] Building C object lib/fdpgen/CMakeFiles/graphviz_lib_fdpgen.dir/tlayout.c.o
[ 57%] Building C object lib/fdpgen/CMakeFiles/graphviz_lib_fdpgen.dir/xlayout.c.o
Linking C static library libfdpgen.a
[ 57%] Built target graphviz_lib_fdpgen
[ 57%] Generating svgcolor_lib
[ 58%] [BISON][htmlparse.pre.c] Building parser with bison 3.0.2
htmlparse.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
[ 58%] Generating htmlparse.h
[ 59%] Generating htmlparse.c
[ 60%] Generating brewer_lib
[ 60%] Generating color_lib
[ 60%] Generating colortbl.h
[ 60%] Generating ps_font_equiv.h
don't know about AvantGarde-Book
don't know about AvantGarde-BookOblique
don't know about AvantGarde-Demi
don't know about AvantGarde-DemiOblique
don't know about Bookman-Demi
don't know about Bookman-DemiItalic
don't know about Bookman-Light
don't know about Bookman-LightItalic
don't know about Courier
don't know about Courier-Bold
don't know about Courier-BoldOblique
don't know about Courier-Oblique
don't know about Helvetica
don't know about Helvetica-Bold
don't know about Helvetica-BoldOblique
don't know about Helvetica-Narrow
don't know about Helvetica-Narrow-Bold
don't know about Helvetica-Narrow-BoldOblique
don't know about Helvetica-Narrow-Oblique
don't know about Helvetica-Oblique
don't know about NewCenturySchlbk-Bold
don't know about NewCenturySchlbk-BoldItalic
don't know about NewCenturySchlbk-Italic
don't know about NewCenturySchlbk-Roman
don't know about Palatino-Bold
don't know about Palatino-BoldItalic
don't know about Palatino-Italic
don't know about Palatino-Roman
don't know about Symbol
don't know about Times-Bold
don't know about Times-BoldItalic
don't know about Times-Italic
don't know about Times-Roman
don't know about ZapfChancery-MediumItalic
don't know about ZapfDingbats
Scanning dependencies of target graphviz_lib_common
[ 61%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/args.c.o
[ 61%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/arrows.c.o
[ 61%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/colxlate.c.o
[ 62%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/ellipse.c.o
[ 62%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/emit.c.o
[ 63%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/geom.c.o
[ 63%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/globals.c.o
[ 63%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/htmllex.c.o
[ 64%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/htmltable.c.o
[ 64%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/input.c.o
[ 65%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/intset.c.o
[ 65%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/labels.c.o
[ 66%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/memory.c.o
[ 66%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/ns.c.o
[ 66%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/output.c.o
[ 67%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/pointset.c.o
[ 67%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/postproc.c.o
[ 68%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/psusershape.c.o
[ 68%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/routespl.c.o
[ 69%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/shapes.c.o
[ 69%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/splines.c.o
[ 69%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/taper.c.o
[ 70%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/textspan.c.o
[ 70%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/timing.c.o
[ 71%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/utils.c.o
[ 71%] Building C object lib/common/CMakeFiles/graphviz_lib_common.dir/htmlparse.c.o
Linking C static library libcommon.a
[ 71%] Built target graphviz_lib_common
Scanning dependencies of target graphviz_lib_circogen
[ 71%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/circularinit.c.o
[ 71%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/nodelist.c.o
[ 72%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/block.c.o
[ 72%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/edgelist.c.o
[ 73%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/circular.c.o
[ 73%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/deglist.c.o
[ 74%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/blocktree.c.o
[ 74%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/blockpath.c.o
[ 74%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/circpos.c.o
[ 75%] Building C object lib/circogen/CMakeFiles/graphviz_lib_circogen.dir/nodeset.c.o
Linking C static library libcircogen.a
[ 75%] Built target graphviz_lib_circogen
Scanning dependencies of target graphviz_lib_dotgen
[ 75%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/acyclic.c.o
[ 76%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/class1.c.o
[ 76%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/class2.c.o
[ 77%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/cluster.c.o
[ 77%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/compound.c.o
[ 78%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/conc.c.o
[ 78%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/decomp.c.o
[ 78%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/fastgr.c.o
[ 79%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/flat.c.o
[ 79%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/dotinit.c.o
[ 80%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/mincross.c.o
[ 80%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/position.c.o
[ 81%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/rank.c.o
[ 81%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/sameport.c.o
[ 81%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/dotsplines.c.o
[ 82%] Building C object lib/dotgen/CMakeFiles/graphviz_lib_dotgen.dir/aspect.c.o
Linking C static library libdotgen.a
[ 82%] Built target graphviz_lib_dotgen
Scanning dependencies of target graphviz_lib_dotgen2
[ 82%] Building C object lib/dotgen2/CMakeFiles/graphviz_lib_dotgen2.dir/dotinit.c.o
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/dotgen2/dotinit.c: In function ‘initGraph’:
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/dotgen2/dotinit.c:73:39: warning: overflow in implicit constant conversion [-Woverflow]
     aginit(g, AGRAPH, "Agraphinfo_t", -sizeof(Agraphinfo_t), TRUE);
                                       ^
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/dotgen2/dotinit.c:74:39: warning: overflow in implicit constant conversion [-Woverflow]
     aginit(g, AGNODE, "Agnodeinfo_t", -sizeof(Agnodeinfo_t), TRUE);
                                       ^
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/dotgen2/dotinit.c:75:39: warning: overflow in implicit constant conversion [-Woverflow]
     aginit(g, AGEDGE, "Agedgeinfo_t", -sizeof(Agedgeinfo_t), TRUE);
                                       ^
[ 83%] Building C object lib/dotgen2/CMakeFiles/graphviz_lib_dotgen2.dir/level.c.o
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/dotgen2/level.c: In function ‘aaa’:
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/dotgen2/level.c:481:6: warning: format ‘%f’ expects argument of type ‘double’, but argument 3 has type ‘int’ [-Wformat=]
      sprintf(buf, "%f", ED_weight(e));
      ^
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/dotgen2/level.c:485:6: warning: format ‘%f’ expects argument of type ‘double’, but argument 3 has type ‘int’ [-Wformat=]
      sprintf(buf, "%.02f,%d", ED_weight(e), ED_minlen(e));
      ^
[ 83%] Building C object lib/dotgen2/CMakeFiles/graphviz_lib_dotgen2.dir/minc2.c.o
[ 83%] Building C object lib/dotgen2/CMakeFiles/graphviz_lib_dotgen2.dir/ns.c.o
[ 84%] Building C object lib/dotgen2/CMakeFiles/graphviz_lib_dotgen2.dir/groups.c.o
[ 84%] Building C object lib/dotgen2/CMakeFiles/graphviz_lib_dotgen2.dir/minc_utils.c.o
[ 85%] Building C object lib/dotgen2/CMakeFiles/graphviz_lib_dotgen2.dir/decomp.c.o
Linking C static library libdotgen2.a
[ 85%] Built target graphviz_lib_dotgen2
Scanning dependencies of target graphviz_bin_dotgen2
[ 85%] Building C object lib/dotgen2/CMakeFiles/graphviz_bin_dotgen2.dir/main.c.o
Linking C executable graphviz_bin_dotgen2
[ 85%] Built target graphviz_bin_dotgen2
Scanning dependencies of target graphviz_lib_ingraphs
[ 86%] Building C object lib/ingraphs/CMakeFiles/graphviz_lib_ingraphs.dir/ingraphs.c.o
Linking C static library libingraphs.a
[ 86%] Built target graphviz_lib_ingraphs
Scanning dependencies of target graphviz_lib_osage
[ 87%] Building C object lib/osage/CMakeFiles/graphviz_lib_osage.dir/osageinit.c.o
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/osage/osageinit.c: In function ‘layout’:
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/osage/osageinit.c:132:17: warning: assignment from incompatible pointer type
      pinfo.vals = N_NEW(total, unsigned char);
                 ^
Linking C static library libosage.a
[ 87%] Built target graphviz_lib_osage
Scanning dependencies of target graphviz_lib_patchwork
[ 87%] Building C object lib/patchwork/CMakeFiles/graphviz_lib_patchwork.dir/patchwork.c.o
[ 87%] Building C object lib/patchwork/CMakeFiles/graphviz_lib_patchwork.dir/patchworkinit.c.o
[ 88%] Building C object lib/patchwork/CMakeFiles/graphviz_lib_patchwork.dir/tree_map.c.o
Linking C static library libpatchwork.a
[ 88%] Built target graphviz_lib_patchwork
Scanning dependencies of target graphviz_lib_sfdpgen
[ 88%] Building C object lib/sfdpgen/CMakeFiles/graphviz_lib_sfdpgen.dir/sfdpinit.c.o
[ 89%] Building C object lib/sfdpgen/CMakeFiles/graphviz_lib_sfdpgen.dir/spring_electrical.c.o
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/sfdpgen/spring_electrical.c: In function ‘pcp_rotate’:
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/sfdpgen/spring_electrical.c:1853:13: warning: iteration 1u invokes undefined behavior [-Waggressive-loop-optimizations]
  y[dim*k+l] += x[i*dim+k]*x[i*dim+l];
             ^
/home/naderp/Development/KDStateMachineEditor/build/GraphvizExternalProject-prefix/src/GraphvizExternalProject/lib/sfdpgen/spring_electrical.c:1851:5: note: containing loop
     for (k = 0; k < dim; k++){
     ^
[ 89%] Building C object lib/sfdpgen/CMakeFiles/graphviz_lib_sfdpgen.dir/sparse_solve.c.o
[ 89%] Building C object lib/sfdpgen/CMakeFiles/graphviz_lib_sfdpgen.dir/post_process.c.o
[ 90%] Building C object lib/sfdpgen/CMakeFiles/graphviz_lib_sfdpgen.dir/stress_model.c.o
[ 90%] Building C object lib/sfdpgen/CMakeFiles/graphviz_lib_sfdpgen.dir/uniform_stress.c.o
[ 91%] Building C object lib/sfdpgen/CMakeFiles/graphviz_lib_sfdpgen.dir/Multilevel.c.o
[ 91%] Building C object lib/sfdpgen/CMakeFiles/graphviz_lib_sfdpgen.dir/PriorityQueue.c.o
Linking C static library libsfdpgen.a
[ 91%] Built target graphviz_lib_sfdpgen
Scanning dependencies of target graphviz_lib_twopigen
[ 92%] Building C object lib/twopigen/CMakeFiles/graphviz_lib_twopigen.dir/circle.c.o
[ 92%] Building C object lib/twopigen/CMakeFiles/graphviz_lib_twopigen.dir/twopiinit.c.o
Linking C static library libtwopigen.a
[ 92%] Built target graphviz_lib_twopigen
[ 93%] Generating ps.h
Scanning dependencies of target graphviz_plugin_core
[ 93%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvloadimage_core.c.o
[ 94%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvplugin_core.c.o
[ 94%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_dot.c.o
[ 94%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_fig.c.o
[ 95%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_map.c.o
[ 95%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_ps.c.o
[ 96%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_svg.c.o
[ 96%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_tk.c.o
[ 97%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_vml.c.o
[ 97%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_pov.c.o
[ 97%] Building C object plugin/core/CMakeFiles/graphviz_plugin_core.dir/gvrender_core_pic.c.o
Linking C static library libgvplugin_core.a
[ 97%] Built target graphviz_plugin_core
Scanning dependencies of target graphviz_plugin_dot_layout
[ 98%] Building C object plugin/dot_layout/CMakeFiles/graphviz_plugin_dot_layout.dir/gvlayout_dot_layout.c.o
[ 98%] Building C object plugin/dot_layout/CMakeFiles/graphviz_plugin_dot_layout.dir/gvplugin_dot_layout.c.o
Linking C static library libgvplugin_dot_layout.a
[ 98%] Built target graphviz_plugin_dot_layout
Scanning dependencies of target graphviz_plugin_neato_layout
[ 99%] Building C object plugin/neato_layout/CMakeFiles/graphviz_plugin_neato_layout.dir/gvlayout_neato_layout.c.o
[ 99%] Building C object plugin/neato_layout/CMakeFiles/graphviz_plugin_neato_layout.dir/gvplugin_neato_layout.c.o
Linking C static library libgvplugin_neato_layout.a
[ 99%] Built target graphviz_plugin_neato_layout
Scanning dependencies of target test_staticbuild
[100%] Building C object tests/CMakeFiles/test_staticbuild.dir/test_staticbuild.c.o
Linking C executable test_staticbuild
[100%] Built target test_staticbuild
Install the project...
-- Install configuration: "Release"
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/graphviz_version.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libcommon.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/arith.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/color.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/geom.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/textspan.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/usershape.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/types.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libcircogen.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libfdpgen.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libdotgen.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libdotgen2.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libcdt.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/cdt.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libcgraph.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/cgraph.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libgvc.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvc.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvcext.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvcjob.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvcommon.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvconfig.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvplugin_device.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvplugin.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvplugin_layout.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvplugin_loadimage.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvplugin_render.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/gvplugin_textlayout.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libingraphs.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/liblabel.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libneatogen.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libosage.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libortho.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libpack.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/pack.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libpatchwork.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libpathplan.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/pathgeom.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/include/graphviz/pathplan.h
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libsparse.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libsfdpgen.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libtwopigen.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libxdot.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libgvplugin_core.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libgvplugin_dot_layout.a
-- Installing: /home/naderp/Development/KDStateMachineEditor/build/graphviz-install/lib/libgvplugin_neato_layout.a
[  5%] Completed 'GraphvizExternalProject'
[  5%] Built target GraphvizExternalProject
Scanning dependencies of target kdstatemachineeditor_core_automoc
[  5%] Automatic moc for target kdstatemachineeditor_core
Generating moc_elementmodel.cpp
Generating state.moc
Generating moc_transition.cpp
Generating moc_depthchecker.cpp
Generating moc_graphvizlayerlayouter.cpp
Generating moc_graphvizlayouter.cpp
Generating moc_layerwiselayouter.cpp
Generating moc_layouter.cpp
Generating moc_layoutproperties.cpp
Generating moc_element.cpp
Generating moc_runtimecontroller.cpp
Generating moc_state.cpp
Generating moc_objecttreemodel.cpp
[  5%] Built target kdstatemachineeditor_core_automoc
Scanning dependencies of target kdstatemachineeditor_core
[  6%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/export/abstractexporter.cpp.o
[  7%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/export/qmlexporter.cpp.o
[  8%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/export/scxmlexporter.cpp.o
[  8%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/export/svgexporter.cpp.o
[  9%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/layerwiselayouter.cpp.o
[ 10%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/layouter.cpp.o
[ 10%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/layoutimportexport.cpp.o
[ 11%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/layoutproperties.cpp.o
[ 12%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/layoututils.cpp.o
[ 13%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/model/element.cpp.o
[ 13%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/model/elementfactory.cpp.o
[ 14%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/model/elementmodel.cpp.o
[ 15%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/model/elementutil.cpp.o
[ 16%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/model/runtimecontroller.cpp.o
[ 16%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/model/state.cpp.o
[ 17%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/model/transition.cpp.o
[ 18%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/import/abstractimporter.cpp.o
[ 18%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/import/scxmlimporter.cpp.o
[ 19%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/util/depthchecker.cpp.o
[ 20%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/util/objecthelper.cpp.o
[ 21%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/util/objecttreemodel.cpp.o
[ 21%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/debug.cpp.o
[ 22%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/graphvizlayout/gvutils.cpp.o
[ 23%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/graphvizlayout/graphvizlayerlayouter.cpp.o
[ 23%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/graphvizlayout/graphvizlayouter.cpp.o
[ 24%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/graphvizlayout/graphvizlayouterbackend.cpp.o
[ 25%] Building C object src/core/CMakeFiles/kdstatemachineeditor_core.dir/layout/graphvizlayout/graphviz_staticbuild.c.o
[ 26%] Building CXX object src/core/CMakeFiles/kdstatemachineeditor_core.dir/kdstatemachineeditor_core_automoc.cpp.o
Linking CXX shared library ../../lib/libkdstatemachineeditor_core.so
[ 26%] Built target kdstatemachineeditor_core
Scanning dependencies of target kdsme_testhelper_automoc
[ 27%] Automatic moc for target kdsme_testhelper
[ 27%] Built target kdsme_testhelper_automoc
Scanning dependencies of target kdsme_testhelper
[ 28%] Building CXX object src/core/tests/CMakeFiles/kdsme_testhelper.dir/parsehelper.cpp.o
[ 28%] Building CXX object src/core/tests/CMakeFiles/kdsme_testhelper.dir/util.cpp.o
[ 29%] Building CXX object src/core/tests/CMakeFiles/kdsme_testhelper.dir/kdsme_testhelper_automoc.cpp.o
Linking CXX static library libkdsme_testhelper.a
[ 29%] Built target kdsme_testhelper
Scanning dependencies of target test_layouter_automoc
[ 30%] Automatic moc for target test_layouter
Generating test_layouter.moc
[ 30%] Built target test_layouter_automoc
Scanning dependencies of target test_layouter
[ 30%] Building CXX object src/core/tests/CMakeFiles/test_layouter.dir/test_layouter.cpp.o
[ 31%] Building CXX object src/core/tests/CMakeFiles/test_layouter.dir/test_layouter_automoc.cpp.o
Linking CXX executable ../../../bin/test_layouter
[ 31%] Built target test_layouter
Scanning dependencies of target test_layoutinformation_automoc
[ 32%] Automatic moc for target test_layoutinformation
Generating test_layoutinformation.moc
[ 32%] Built target test_layoutinformation_automoc
Scanning dependencies of target test_layoutinformation
[ 32%] Building CXX object src/core/tests/CMakeFiles/test_layoutinformation.dir/test_layoutinformation.cpp.o
[ 33%] Building CXX object src/core/tests/CMakeFiles/test_layoutinformation.dir/test_layoutinformation_automoc.cpp.o
Linking CXX executable ../../../bin/test_layoutinformation
[ 33%] Built target test_layoutinformation
Scanning dependencies of target test_layoutitem_automoc
[ 34%] Automatic moc for target test_layoutitem
Generating test_layoutitem.moc
[ 34%] Built target test_layoutitem_automoc
Scanning dependencies of target test_layoutitem
[ 35%] Building CXX object src/core/tests/CMakeFiles/test_layoutitem.dir/test_layoutitem.cpp.o
[ 35%] Building CXX object src/core/tests/CMakeFiles/test_layoutitem.dir/test_layoutitem_automoc.cpp.o
Linking CXX executable ../../../bin/test_layoutitem
[ 35%] Built target test_layoutitem
Scanning dependencies of target test_models_automoc
[ 35%] Automatic moc for target test_models
Generating test_models.moc
[ 35%] Built target test_models_automoc
Scanning dependencies of target test_models
[ 36%] Building CXX object src/core/tests/CMakeFiles/test_models.dir/test_models.cpp.o
[ 37%] Building CXX object src/core/tests/CMakeFiles/test_models.dir/test_models_automoc.cpp.o
Linking CXX executable ../../../bin/test_models
[ 37%] Built target test_models
Scanning dependencies of target test_qmlexport_automoc
[ 37%] Automatic moc for target test_qmlexport
Generating test_qmlexport.moc
[ 37%] Built target test_qmlexport_automoc
Scanning dependencies of target test_qmlexport
[ 38%] Building CXX object src/core/tests/CMakeFiles/test_qmlexport.dir/test_qmlexport.cpp.o
[ 39%] Building CXX object src/core/tests/CMakeFiles/test_qmlexport.dir/test_qmlexport_automoc.cpp.o
Linking CXX executable ../../../bin/test_qmlexport
[ 39%] Built target test_qmlexport
Scanning dependencies of target test_qsmintegration_automoc
[ 40%] Automatic moc for target test_qsmintegration
Generating test_qsmintegration.moc
[ 40%] Built target test_qsmintegration_automoc
Scanning dependencies of target kdstatemachineeditor_debuginterfacesource_automoc
[ 41%] Automatic moc for target kdstatemachineeditor_debuginterfacesource
Generating qscxmldebuginterfacesource.moc
Generating qsmdebuginterfacesource.moc
Generating moc_qsmwatcher_p.cpp
[ 41%] Built target kdstatemachineeditor_debuginterfacesource_automoc
[ 41%] Generating debuginterface_source.h
[ 42%] Generating moc_debuginterface_source.cpp
Scanning dependencies of target kdstatemachineeditor_debuginterfacesource
[ 43%] Building CXX object src/debuginterface/debuginterfacesource/CMakeFiles/kdstatemachineeditor_debuginterfacesource.dir/qsmdebuginterfacesource.cpp.o
[ 44%] Building CXX object src/debuginterface/debuginterfacesource/CMakeFiles/kdstatemachineeditor_debuginterfacesource.dir/qsmwatcher.cpp.o
[ 44%] Building CXX object src/debuginterface/debuginterfacesource/CMakeFiles/kdstatemachineeditor_debuginterfacesource.dir/__/__/core/util/objecthelper.cpp.o
[ 45%] Building CXX object src/debuginterface/debuginterfacesource/CMakeFiles/kdstatemachineeditor_debuginterfacesource.dir/qscxmldebuginterfacesource.cpp.o
/home/naderp/Development/KDStateMachineEditor/src/debuginterface/debuginterfacesource/qscxmldebuginterfacesource.cpp:30:46: fatal error: private/qscxmlstatemachineinfo_p.h: No such file or directory
 #include <private/qscxmlstatemachineinfo_p.h>
                                              ^
compilation terminated.
make[2]: *** [src/debuginterface/debuginterfacesource/CMakeFiles/kdstatemachineeditor_debuginterfacesource.dir/qscxmldebuginterfacesource.cpp.o] Error 1
make[1]: *** [src/debuginterface/debuginterfacesource/CMakeFiles/kdstatemachineeditor_debuginterfacesource.dir/all] Error 2
make: *** [all] Error 2

Wrong install location of .lib and .cmake files on Windows

The .lib files are installed to bin/ which is not what other Qt modules do, and the .cmake files are installed to bin/cmake which leads to e.g. a GammaRay build not finding the cmake files when installing KDSME into a Qt install and giving cmake CMAKE_PREFIX_PATH=<QtInstallPath>

SIGSEGV when running kdstatemachineeditor.exe MinGW/MSVC, windows 7, Qt5.5.1

Build sucessfully crash during runtime. GraphViz is omitted.
Manually setting graphviz libs/path results in error in CMakeLists.txt@89 find_package(GraphViz), since it does not include graphviz_version.h (v2.38.0) and incompatible libraries, therefor building without graphviz.

Crash in Release and Debug Mode. In Debug Mode no StackTraceData within QtCreator possible, crash seems to happen outside of some dll.

Depency Walker resolves all but the typical. One issue found is Link Checksum is not the Real Checksum: 0x05A681BC (link) vs 0x05A681E (real). During build/link process the correct files should be used. Tried running from command line as from QtCreator (same problem).

CMakeCache.txt

All test_* commands run successfully (PASS).
simplestatemachine.exe and kdstatemachineeditor.exe both crash.

If you need any further information (or tests) feel free to contact me.
I will give it another shot with another build setup (windows)

...

=library-loaded,id="C:\Windows\SysWOW64\ddraw.dll",target-name="C:\Windows\SysWOW64\ddraw.dll",host-name="C:\Windows\SysWOW64\ddraw.dll",symbols-loaded="0",thread-group="i1"
sBibliothek C:\Windows\SysWOW64\ddraw.dll geladen

=library-loaded,id="C:\Windows\SysWOW64\dciman32.dll",target-name="C:\Windows\SysWOW64\dciman32.dll",host-name="C:\Windows\SysWOW64\dciman32.dll",symbols-loaded="0",thread-group="i1"
sBibliothek C:\Windows\SysWOW64\dciman32.dll geladen

=library-loaded,id="C:\Windows\SysWOW64\ig4icd32.dll",target-name="C:\Windows\SysWOW64\ig4icd32.dll",host-name="C:\Windows\SysWOW64\ig4icd32.dll",symbols-loaded="0",thread-group="i1"
sBibliothek C:\Windows\SysWOW64\ig4icd32.dll geladen

~"\nProgram received signal "
~"SIGSEGV, Segmentation fault.\n"
~"[Switching to Thread 7136.0x1760]\n"
~"0x313e2dc4 in ?? () from C:\Windows\SysWOW64\ig4icd32.dll\n"
*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation fault",frame={addr="0x313e2dc4",func="??",args=[],from="C:\Windows\SysWOW64\ig4icd32.dll"},thread-id="1",stopped-threads="all"
dNOTE: INFERIOR SPONTANEOUS STOP
sStopped.
dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master]
dHANDLING SIGNAL SIGSEGV
sStopped: Segmentation fault (Signal SIGSEGV).
...
~"Dump of assembler code from 0x313e2db0 to 0x313e2e28:\n"
~" 0x313e2db0:\t8b 0b\tmov (%ebx),%ecx\n"
~" 0x313e2db2:\t83 f9 ff\tcmp $0xffffffff,%ecx\n"
~" 0x313e2db5:\t74 33\tje 0x313e2dea\n"
~" 0x313e2db7:\t8b 86 58 a2 00 00\tmov 0xa258(%esi),%eax\n"
~" 0x313e2dbd:\t8b 8c 88 b4 00 00 00\tmov 0xb4(%eax,%ecx,4),%ecx\n"
~"=> 0x313e2dc4:\t8b 41 50\tmov 0x50(%ecx),%eax\n"
~" 0x313e2dc7:\t83 c0 10\tadd $0x10,%eax\n"
~" 0x313e2dca:\tb9 00 00 00 00\tmov $0x0,%ecx\n"
~" 0x313e2dcf:\t74 0e\tje 0x313e2ddf\n"
~" 0x313e2dd1:\t39 30\tcmp %esi,(%eax)\n"
~" 0x313e2dd3:\t75 03\tjne 0x313e2dd8\n"
~" 0x313e2dd5:\t8b 48 04\tmov 0x4(%eax),%ecx\n"
~" 0x313e2dd8:\t8b 40 08\tmov 0x8(%eax),%eax\n"
~" 0x313e2ddb:\t85 c0\ttest %eax,%eax\n"
~" 0x313e2ddd:\t75 f2\tjne 0x313e2dd1\n"
~" 0x313e2ddf:\t51\tpush %ecx\n"
~" 0x313e2de0:\t55\tpush %ebp\n"
~" 0x313e2de1:\t32 d2\txor %dl,%dl\n"
~" 0x313e2de3:\t8b ce\tmov %esi,%ecx\n"
~" 0x313e2de5:\te8 56 fb ff ff\tcall 0x313e2940\n"
~" 0x313e2dea:\t47\tinc %edi\n"
~" 0x313e2deb:\t83 c3 04\tadd $0x4,%ebx\n"
~" 0x313e2dee:\t3b be d4 0b 00 00\tcmp 0xbd4(%esi),%edi\n"
~" 0x313e2df4:\t7c ba\tjl 0x313e2db0\n"
~" 0x313e2df6:\t5b\tpop %ebx\n"
~" 0x313e2df7:\t5f\tpop %edi\n"
~" 0x313e2df8:\t5e\tpop %esi\n"
~" 0x313e2df9:\t5d\tpop %ebp\n"
~" 0x313e2dfa:\tc3\tret \n"
~" 0x313e2dfb:\tcc\tint3 \n"
~" 0x313e2dfc:\tcc\tint3 \n"
~" 0x313e2dfd:\tcc\tint3 \n"
~" 0x313e2dfe:\tcc\tint3 \n"
~" 0x313e2dff:\tcc\tint3 \n"
~" 0x313e2e00:\t8b 42 50\tmov 0x50(%edx),%eax\n"
~" 0x313e2e03:\t83 c0 10\tadd $0x10,%eax\n"
~" 0x313e2e06:\t56\tpush %esi\n"
~" 0x313e2e07:\tbe 00 00 00 00\tmov $0x0,%esi\n"
~" 0x313e2e0c:\t74 10\tje 0x313e2e1e\n"
~" 0x313e2e0e:\t8b ff\tmov %edi,%edi\n"
~" 0x313e2e10:\t39 08\tcmp %ecx,(%eax)\n"
~" 0x313e2e12:\t75 03\tjne 0x313e2e17\n"
~" 0x313e2e14:\t8b 70 04\tmov 0x4(%eax),%esi\n"
~" 0x313e2e17:\t8b 40 08\tmov 0x8(%eax),%eax\n"
~" 0x313e2e1a:\t85 c0\ttest %eax,%eax\n"
~" 0x313e2e1c:\t75 f2\tjne 0x313e2e10\n"
~" 0x313e2e1e:\t8b 44 24 08\tmov 0x8(%esp),%eax\n"
~" 0x313e2e22:\t8b 40 50\tmov 0x50(%eax),%eax\n"
~" 0x313e2e25:\t83 c0 10\tadd $0x10,%eax\n"
~"End of assembler dump.\n"

Build of GammaRay with KDSME fails on Windows

Solution:
Deploy KDSMEConfig.cmake which includes include(CMakeFindDependencyMacro) before find_dependency

#
# This file is part of the KDAB State Machine Editor Library.
#
# SPDX-FileCopyrightText: 2014-2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
# Author: Kevin Funk <[email protected]>
#
# SPDX-License-Identifier: LGPL-2.1-only OR LicenseRef-KDAB-KDStateMachineEditor
#
# Licensees holding valid commercial KDAB State Machine Editor Library
# licenses may use this file in accordance with the KDAB State Machine Editor
# Library License Agreement provided with the Software.
#
# Contact [email protected] if any conditions of this licensing are not clear to you.
#
include(CMakeFindDependencyMacro)

find_dependency(Qt5Widgets)
find_dependency(Qt5Quick)
find_dependency(Qt5QuickWidgets)
include("${CMAKE_CURRENT_LIST_DIR}/KDSMETargets.cmake")

Configure Error on GammaRay without include-line:

c:\Development\SVN\GitHub\GammaRay\build>cmake -G Ninja -DCMAKE_INSTALL_PREFIX=C:\Development\Tools\GammaRay -DKDSME_DIR=C:\Development\Tools\KDSME\lib\cmake\KDSME ..
-- Could NOT find libdw (missing: LIBDW_LIBRARY LIBDW_INCLUDE_DIR)
-- Could NOT find libbfd (missing: LIBBFD_LIBRARY LIBBFD_INCLUDE_DIR LIBDL_LIBRARY LIBDL_INCLUDE_DIR)
-- Could NOT find libdwarf (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR LIBELF_LIBRARY LIBELF_INCLUDE_DIR LIBDL_LIBRARY LIBDL_INCLUDE_DIR)
-- Building GammaRay 2.99.50 (revision: 1e04070c9) in Debug mode
-- Building probe for ABI: qt5_15-MSVC-140-i686 (Debug)
CMake Error at C:/Development/Tools/KDSME/lib/cmake/KDSME/KDSMEConfig.cmake:17 (find_dependency):
  Unknown CMake command "find_dependency".
Call Stack (most recent call first):
  plugins/statemachineviewer/CMakeLists.txt:53 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Development/SVN/GitHub/GammaRay/build/CMakeFiles/CMakeOutput.log".
See also "C:/Development/SVN/GitHub/GammaRay/build/CMakeFiles/CMakeError.log".

could only build with change in /usr/include/graphviz/types.h

hello,
I am pretty sure my fix is wrong but without changing

 line 49 #include <cgraph.h>

to
line 49 #include <graphviz/cgraph.h>

my build stopped with "cgraph.h not found".

I am using red hat rhel 7 with gcc 11.2.1 and graphviz-devel 2.30.1

Thanks, Martin.

Unable to configure on Ubuntu Focal 20.xx (Qt 5.12 and Qt 5.14) when scxml packages are installed

When libqt5scxml5* packages are installed CMake will configure the Qt SCXML adapter but it fails when it finds out there's no Qt5::ScxmlPrivate target. The *qt5scxml5-private-dev package is only available on Ubuntu 21.04 onwards.

Upstream bug filled: https://bugs.launchpad.net/ubuntu/+source/qtscxml-everywhere-src/+bug/1950857

Workaround (broken)

This doesn't work because some files are still missing, but might be an initial step for a proper workaround until a definitive solution is found.

  1. Download the appropriate qtscxml-everywhere-src*.orig.tar.xz file
  2. Extract include/QtScxml and copy it to /usr/include/x86_64-linux-gnu/qt5/
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local ..
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for include file graphviz/graphviz_version.h
-- Looking for include file graphviz/graphviz_version.h - found
-- Found Graphviz version 2.43.0
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Found Graphviz: /usr/lib/x86_64-linux-gnu/libcdt.so /usr/lib/x86_64-linux-gnu/libgvc.so /usr/lib/x86_64-linux-gnu/libcgraph.so GRAPHVIZ_GRAPH_LIBRARY-NOTFOUND /usr/lib/x86_64-linux-gnu/libpathplan.so
-- Performing Test C_SUPPORTS_UNUSED_BUT_SET
-- Performing Test C_SUPPORTS_UNUSED_BUT_SET - Success
-- Performing Test CXX_SUPPORTS_UNUSED_BUT_SET
-- Performing Test CXX_SUPPORTS_UNUSED_BUT_SET - Success
-- Performing Test C_SUPPORTS_LOGICAL_OP
-- Performing Test C_SUPPORTS_LOGICAL_OP - Success
-- Performing Test CXX_SUPPORTS_LOGICAL_OP
-- Performing Test CXX_SUPPORTS_LOGICAL_OP - Success
-- Performing Test C_SUPPORTS_POINTER_MEMACCESS
-- Performing Test C_SUPPORTS_POINTER_MEMACCESS - Success
-- Performing Test CXX_SUPPORTS_POINTER_MEMACCESS
-- Performing Test CXX_SUPPORTS_POINTER_MEMACCESS - Success
-- Performing Test C_SUPPORTS_REORDER
-- Performing Test C_SUPPORTS_REORDER - Failed
-- Performing Test CXX_SUPPORTS_REORDER
-- Performing Test CXX_SUPPORTS_REORDER - Success
-- Performing Test C_SUPPORTS_FORMAT_SECURITY
-- Performing Test C_SUPPORTS_FORMAT_SECURITY - Success
-- Performing Test CXX_SUPPORTS_FORMAT_SECURITY
-- Performing Test CXX_SUPPORTS_FORMAT_SECURITY - Success
-- Performing Test HAVE_GXX_GNUXX11
-- Performing Test HAVE_GXX_GNUXX11 - Success
-- Performing Test HAVE_GXX_CXX11
-- Performing Test HAVE_GXX_CXX11 - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- The following OPTIONAL packages have been found:

 * Qt5RemoteObjects (required version >= 5.12), Qt Remote Objects module
   Needed for the QStateMachine/QtSCXML adapter and remote debugging capabilities
 * Qt5Scxml (required version >= 5.12), Qt SCXML module
   Needed for the Qt SCXML adapter (adapter itself depends on Qt RemoteObjects)
 * Qt5XmlPatterns (required version >= 5.12), Qt XmlPatterns library
   Required for unit tests dealing with XML input/output

-- The following RECOMMENDED packages have been found:

 * Graphviz, Graph visualization software, <https://www.graphviz.org/>
   Needed for automatic layout of state charts

-- The following REQUIRED packages have been found:

 * Qt5Network (required version >= 5.12.8)
 * Qt5Qml (required version >= 5.12.8)
 * Qt5Gui (required version >= 5.12.8)
 * Qt5Quick
 * Qt5QuickWidgets
 * Qt5Test
 * Qt5Widgets
 * Qt5 (required version >= 5.12)
 * Qt5Core

-- The following features have been disabled:

 * Internal build of Graphviz, enable with WITH_INTERNAL_GRAPHVIZ=ON

-- The following OPTIONAL packages have not been found:

 * Doxygen, API Documentation system, <https://www.doxygen.org>
   Needed to build the API documentation.

-- Configuring done
CMake Warning (dev) in src/core/tests/CMakeLists.txt:
  Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
  Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  For compatibility, CMake is excluding the GENERATED source file(s):

    "/home/higor/code/KDStateMachineEditor/build/src/core/tests/rep_debuginterface_replica.h"

  from processing by AUTOMOC and AUTOUIC.  If any of the files should be
  processed, set CMP0071 to NEW.  If any of the files should not be
  processed, explicitly exclude them by setting the source file property
  SKIP_AUTOGEN:

    set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON)

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/debuginterface/debuginterfacesource/CMakeLists.txt:
  Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
  Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  For compatibility, CMake is excluding the GENERATED source file(s):

    "/home/higor/code/KDStateMachineEditor/build/src/debuginterface/debuginterfacesource/rep_debuginterface_source.h"

  from processing by AUTOMOC and AUTOUIC.  If any of the files should be
  processed, set CMP0071 to NEW.  If any of the files should not be
  processed, explicitly exclude them by setting the source file property
  SKIP_AUTOGEN:

    set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON)

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/debuginterface/debuginterfaceclient/CMakeLists.txt:
  Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
  Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  For compatibility, CMake is excluding the GENERATED source file(s):

    "/home/higor/code/KDStateMachineEditor/build/src/debuginterface/debuginterfaceclient/rep_debuginterface_replica.h"

  from processing by AUTOMOC and AUTOUIC.  If any of the files should be
  processed, set CMP0071 to NEW.  If any of the files should not be
  processed, explicitly exclude them by setting the source file property
  SKIP_AUTOGEN:

    set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON)

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in examples/qsmdebugger/CMakeLists.txt:
  Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
  Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  For compatibility, CMake is excluding the GENERATED source file(s):

    "/home/higor/code/KDStateMachineEditor/build/examples/qsmdebugger/rep_debuginterface_replica.h"

  from processing by AUTOMOC and AUTOUIC.  If any of the files should be
  processed, set CMP0071 to NEW.  If any of the files should not be
  processed, explicitly exclude them by setting the source file property
  SKIP_AUTOGEN:

    set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON)

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in examples/qscxmldebugger/CMakeLists.txt:
  Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
  Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  For compatibility, CMake is excluding the GENERATED source file(s):

    "/home/higor/code/KDStateMachineEditor/build/examples/qscxmldebugger/rep_debuginterface_replica.h"
    "/home/higor/code/KDStateMachineEditor/build/examples/qscxmldebugger/statemachine.cpp"
    "/home/higor/code/KDStateMachineEditor/build/examples/qscxmldebugger/statemachine.h"

  from processing by AUTOMOC and AUTOUIC.  If any of the files should be
  processed, set CMP0071 to NEW.  If any of the files should not be
  processed, explicitly exclude them by setting the source file property
  SKIP_AUTOGEN:

    set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON)

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/ECM/modules/ECMAddTests.cmake:89 (add_executable):
  Target "test_qsmintegration" links to target "Qt5::ScxmlPrivate" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/core/tests/CMakeLists.txt:66 (ecm_add_test)


CMake Error at src/debuginterface/debuginterfacesource/CMakeLists.txt:31 (add_library):
  Target "kdstatemachineeditor_debuginterfacesource" links to target
  "Qt5::ScxmlPrivate" but the target was not found.  Perhaps a find_package()
  call is missing for an IMPORTED target, or an ALIAS target is missing?


CMake Error at examples/qsmdebugger/CMakeLists.txt:21 (add_executable):
  Target "qsmdebugger" links to target "Qt5::ScxmlPrivate" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at examples/qscxmldebugger/CMakeLists.txt:22 (add_executable):
  Target "qscxmldebugger" links to target "Qt5::ScxmlPrivate" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at src/debuginterface/debuginterfacesource/CMakeLists.txt:31 (add_library):
  Target "kdstatemachineeditor_debuginterfacesource" links to target
  "Qt5::ScxmlPrivate" but the target was not found.  Perhaps a find_package()
  call is missing for an IMPORTED target, or an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

moc_element.cpp:283:60: error: invalid use of incomplete type class QPointF

In file included from /var/tmp/portage/dev-util/kdstatemachineeditor-1.2.3/work/kdstatemachineeditor-1.2.3_build/src/core/kdstatemachineeditor_core_autogen/mocs_compilation.cpp:3:0:
/var/tmp/portage/dev-util/kdstatemachineeditor-1.2.3/work/kdstatemachineeditor-1.2.3_build/src/core/kdstatemachineeditor_core_autogen/NLOY5YBGEN/moc_element.cpp: In static member function ‘static void KDSME::Element::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
/var/tmp/portage/dev-util/kdstatemachineeditor-1.2.3/work/kdstatemachineeditor-1.2.3_build/src/core/kdstatemachineeditor_core_autogen/NLOY5YBGEN/moc_element.cpp:283:60: error: invalid use of incomplete type ‘class QPointF’
         case 4: *reinterpret_cast< QPointF*>(_v) = _t->pos(); break;
                                                            ^
In file included from /usr/include/qt5/QtCore/qvariant.h:46:0,

Version 1.2.3 can't be compiled while the git master builds fine. Any ideas what is happening in this bug report?

I wrote a small patch to deal with hardcoded, nonstandard installation dirs.

Hello, I want to write an kdstatemachineeditor ebuild for gentoo portage. I am having trouble installing things where they are supposed by the standard to be installed, so I wrote this small patch for CMakeLists.txt.

--- KDStateMachineEditor/CMakeLists.txt	2018-01-26 12:21:37.000000000 +0200
+++ KDStateMachineEditor/CMakeLists.txt	2018-01-26 13:46:03.473920083 +0200
@@ -10,6 +10,9 @@
   cmake_policy(SET CMP0063 NEW)
 endif()
 
+#Let's deal with upstream's harcoded dirs.
+include(GNUInstallDirs)
+
 # Version setup
 set(KDSME_VERSION_MAJOR "1")
 set(KDSME_VERSION_MINOR "2")
@@ -92,11 +95,11 @@
 set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
 set(CMAKE_AUTOMOC TRUE)
 
-set(BIN_INSTALL_DIR bin)
-set(LIB_INSTALL_DIR lib CACHE STRING "Library install destination.")
-set(INCLUDE_INSTALL_DIR include/${CMAKE_PROJECT_NAME})
-set(XDG_DATA_INSTALL_DIR share/${CMAKE_PROJECT_NAME})
-set(QCH_INSTALL_DIR "doc" CACHE STRING "Install location of Qt Assistant help files.")
+set(BIN_INSTALL_DIR ${CMAKE_INSTALL_FULL_BINDIR})
+set(LIB_INSTALL_DIR ${CMAKE_INSTALL_FULL_LIBDIR} CACHE STRING "Library install destination.")
+set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR}/${CMAKE_PROJECT_NAME})
+set(XDG_DATA_INSTALL_DIR ${CMAKE_INSTALL_FULL_DATAROOTDIR}/${CMAKE_PROJECT_NAME})
+set(QCH_INSTALL_DIR ${CMAKE_INSTALL_FULL_DOCDIR} CACHE STRING "Install location of Qt Assistant help files.")
 
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/${BIN_INSTALL_DIR})
 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/${LIB_INSTALL_DIR})

I hope you accept this. :)

qdatabuffer_p.h not found

Hi there,

I took a stab at compiling the project but ran into this stumbling block.

In file included from /home/brett/KDStateMachineEditor/src/view/quick/qopengl2pexvertexarray.cpp:42:0:
/home/brett/KDStateMachineEditor/src/view/quick/qopengl2pexvertexarray_p.h:58:35: fatal error: private/qdatabuffer_p.h: No such file or directory
 #include <private/qdatabuffer_p.h>
                                   ^
compilation terminated.
src/view/CMakeFiles/kdstatemachineeditor_view.dir/build.make:381: recipe for target 'src/view/CMakeFiles/kdstatemachineeditor_view.dir/quick/qopengl2pexvertexarray.cpp.o' failed
make[2]: *** [src/view/CMakeFiles/kdstatemachineeditor_view.dir/quick/qopengl2pexvertexarray.cpp.o] Error 1
CMakeFiles/Makefile2:2195: recipe for target 'src/view/CMakeFiles/kdstatemachineeditor_view.dir/all' failed
make[1]: *** [src/view/CMakeFiles/kdstatemachineeditor_view.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Using find on the project would indicate that the file doesn't exist. Any ideas?

Graphviz crashes when build for Windows 64bit

Environment:

  • compiler MSVC v144,14.26 x64
  • KDStateMachineEditor master edge
  • internal graphviz compilation

I built KDSME with x64 MSVC 2019 Update 6, so KDSME crashes on startup because it uses cgraph library from graphviz isn't really 64bit.
the code below from src\core\layout\graphvizlayout\gvutils.cpp:35 uses 64bit pointer on the string (MainWindows c-tor in stack)
return agopen(const_cast<char *>(qPrintable(name)), kind, disc);
The problem that cgraph uses unsigned long type for id inside, which is 32bit on Windows 64bit, at the same time cgraph function agmapnametoid() (and idmap() inside) uses char* and convert it to unsigned long as a result pointer is corrupted.
Later during layout cgraph tries to convert 32bit unsigned long to char * - the result is an access violation.

Latest available Graphviz version 2.44.1 compiled Win64 without any problems and worked well.

Looks like internal graphviz works only for 32 bit Windows, which is very rare now IMHO.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.