Coder Social home page Coder Social logo

How do I compile hdt-it? about hdt-cpp HOT 7 CLOSED

noumlaut avatar noumlaut commented on May 22, 2024
How do I compile hdt-it?

from hdt-cpp.

Comments (7)

webdata avatar webdata commented on May 22, 2024

Hi, if you mean the hdt-it visualization tool, I included a new README with all the information: https://github.com/rdfhdt/hdt-cpp/tree/master/hdt-it

from hdt-cpp.

noumlaut avatar noumlaut commented on May 22, 2024

I can compile libcds and hdt-lib but not hdt-it. The error I get is this one:

g++ -c -pipe -O3 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../libcds-v1.0.12/includes -I../hdt-lib/include -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -Iunix -Iunix -I/usr/lib64/qt5/mkspecs/linux-g++ -o unix/main.o main.cpp
In file included from myapplication.hpp:5:0,
                 from main.cpp:5:
hdtit.hpp:18:1: error: expected class-name before ‘{’ token
 {
 ^
hdtit.hpp:26:5: error: ‘QTableView’ does not name a type
     QTableView *lastContextMenuTable;
     ^~~~~~~~~~
main.cpp: In function ‘int main(int, char**)’:
main.cpp:31:7: error: ‘class HDTit’ has no member named ‘show’
     w.show();
       ^~~~
Makefile.Release:972: recipe for target 'unix/main.o' failed
make[1]: *** [unix/main.o] Error 1

I'm using Fedora25 and Qt5.

from hdt-cpp.

noumlaut avatar noumlaut commented on May 22, 2024

If instead I use Qt4, I get this error when compiling HDT-it (after compiling the other two)

make[1]: *** No rule to make target '../libcds-v1.0.12/lib/libcds.a', needed by 'unix/HDT-it'.  Stop.

from hdt-cpp.

MarioAriasGa avatar MarioAriasGa commented on May 22, 2024

Hi noumlaut, I just pushed some changes so it compiles with Qt5.8. I have tried under windows and mac but not under linux. Please let me know if you find any issue.

from hdt-cpp.

noumlaut avatar noumlaut commented on May 22, 2024

In which branch? I don't see any new commits in master.

from hdt-cpp.

MarioAriasGa avatar MarioAriasGa commented on May 22, 2024

Sorry, in branch develop

from hdt-cpp.

noumlaut avatar noumlaut commented on May 22, 2024

OK, compiled. Can merge to master I guess :)

Cheers.

from hdt-cpp.

Related Issues (20)

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.