Menu

#356 Ubuntu 12.04 (64bit) GCC 4.6.3 compiling Error (include Library)

v1.0_(example)
open
nobody
None
1
2014-11-16
2013-04-19
Mike Wan
No

I have the jhead executable package, but I can't seem to find any libjhead or jhead.so.X files anywhere. It's not an Ubuntu package. Where can I get it?

Here is the print out:

make[1]: Entering directory /home/mike/Downloads/meshlab/src/common' rm -f libcommon.so.1.0.0 libcommon.so libcommon.so.1 libcommon.so.1.0 g++ -Wl,-O1 -shared -Wl,-soname,libcommon.so.1 -o libcommon.so.1.0.0 filterparameter.o interfaces.o filterscript.o GLLogStream.o meshmodel.o pluginmanager.o scriptinterface.o xmlfilterinfo.o mlapplication.o scriptsyntax.o searcher.o glew.o meshlabdocumentxml.o meshlabdocumentbundler.o moc_interfaces.o moc_meshmodel.o moc_scriptinterface.o moc_scriptsyntax.o -L/usr/lib/x86_64-linux-gnu -L/usr/X11R6/lib -L../external/lib/linux-g++ -ljhead -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread /usr/bin/ld: cannot find -ljhead collect2: ld returned 1 exit status make[1]: *** [../distrib/libcommon.so.1.0.0] Error 1 make[1]: Leaving directory/home/mike/Downloads/meshlab/src/common'
make: *** [sub-common-make_default-ordered] Error 2

Discussion

  • Paco Escarpa

    Paco Escarpa - 2013-06-26
     
  • Federico Ponchio

    The ubuntu package jhead is just the command line executable.

    The library is available in the external directory of the Meshlab source code.

    As per instructions of the README.txt you need to

    cd MESHLAB_DIRECTORY/src/external
    qmake -recursive external.pro
    make

    before compiling the medshlab_full.pro.

     

Log in to post a comment.

MongoDB Logo MongoDB