Unable to generate graph in rocs

Yuri Chornoivan yurchor at ukr.net
Thu Dec 19 13:32:04 GMT 2019



17 грудня 2019, 13:18:18, від "Hitesh Sagtani" <sagtanih at gmail.com>:

> I was able to resolve the previous issue by setting the KDE_INSTALL_PLUGINDIR appropriately but the initial issue of not generating random graph remains.
> 
> there was no error during cmake, make and make install command
> 
> when i executing i get following on the terminal. Please see image attached.
> 
> No graph editor toolbar is displayed and problem related to graph generation too.
> can you please suggest how can i proceed with the issue.
> Thanks :)


Can you try to install qml-module-qtqml-statemachine package?

In general, can you install rocs from Ubuntu packages to install all dependencies, then uninstall rocs and libgraphtheory and install rocs from sources?

Best regards,
Yuri

> On Tue, Dec 17, 2019 at 2:31 PM Hitesh Sagtani <sagtanih at gmail.com> wrote:
> > Reproducing the mail earlier as i forgot to mention my ubuntu version
> > 
> > The ubuntu version i am using is 18.10
> > I found prefix.sh file which will set the variables like qt_plugin_path etc but berfore that I installed rocs using these commands
> > 
> > cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -
> > DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins ..
> > 
> > from /build inside the source. Then
> > 
> > make -j3
> > su -c make install
> > 
> > Now i am not able to uninstall rocs.
> > Sudo make uninstall didn't work either from build directory. 
> > Do i need to remove it manually from system.
> > Thanks :)
> > On Tue, Dec 17, 2019, 2:24 PM Hitesh Sagtani <sagtanih at gmail.com> wrote:
> > > I found prefix.sh file which will set the variables like qt_plugin_path etc but berfore that I installed rocs using these commands
> > > 
> > > cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -
> > > DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins ..
> > > 
> > > from /build inside the source. Then
> > > 
> > > make -j3
> > > su -c make install
> > > 
> > > Now i am not able to uninstall rocs.
> > > Sudo make uninstall didn't work either from build directory. 
> > > Do i need to remove it manually from system.
> > > Thanks :)
> > > On Mon, Dec 16, 2019, 3:47 PM Adriaan de Groot <groot at kde.org> wrote:
> > > > On Sunday, 15 December 2019 18:29:27 CET Hitesh Sagtani wrote:
> > > > > I cloned master branch of rocs from invent.kde.org but i am not able to
> > > > > generate graph from from tools option. Should i clone some other branch.
> > > > > Thanks :)
> > > > 
> > > > master works, but it can generate random nodes off-canvas. I did some work in 
> > > > f8319560ea8ab860d7b6f89f9e1cb8245a51bf60 to move generated graphs onto the 
> > > > canvas .. you might have rocs installed as part of your distribution, in which 
> > > > case you're probably picking up older plugins.
> > > > 
> > > > You'll need to 
> > > >  - `make install`, or
> > > >  - mess around with QT_PLUGIN_PATH
> > > > to make rocs load the newly-built plugins. In principle you *can* run rocs 
> > > > from the build directory, but it needs help to find all the bits then.
> > > > 
> > > > [ade]
> > > > 
> > > > 



More information about the kde-edu mailing list