Skip to content
  • 0 Votes
    4 Posts
    835 Views
    jsulmJ

    @MEsc said in Error including tesseract Windows 10:

    ./configure -> does not work

    Yes, because you're on Windows.
    Maybe https://tesseract-ocr.github.io/tessdoc/Compiling.html#windows can help.

  • 0 Votes
    2 Posts
    970 Views
    SGaistS

    Hi,

    Did you just clone the curl sources ? If so the you have to build it before you can use it.

  • 0 Votes
    2 Posts
    544 Views
    S

    This is the output when I build from command line with qmake/make :

    root@debian:~# echo $QMAKESPEC root@debian:~# source /opt/qtsdk-Guinault-2020.03/environment-setup-armv7at2hf-neon-linux-gnueabi root@debian:~# echo $QMAKESPEC /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/mkspecs/linux-oe-g++ root@debian:~# mkdir hellowolrd_qt root@debian:~# cd hellowolrd_qt/ root@debian:~/hellowolrd_qt# nano helloworld.cpp root@debian:~/hellowolrd_qt# nano helloworld.pro root@debian:~/hellowolrd_qt# qmake helloworld.pro Info: creating stash file /root/hellowolrd_qt/.qmake.stash root@debian:~/hellowolrd_qt# make arm-linux-gnueabihf-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi -c -pipe -isystem/home/guinault/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtGui -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtCore -I. -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/mkspecs/linux-oe-g++ -o helloworld.o helloworld.cpp In file included from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtGui/qtguiglobal.h:43, from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/qtwidgetsglobal.h:43, from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/qapplication.h:43, from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/QApplication:1, from helloworld.cpp:1: /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtCore/qglobal.h:45:12: fatal error: type_traits: No such file or directory # include <type_traits> ^~~~~~~~~~~~~ compilation terminated. Makefile:547: recipe for target 'helloworld.o' failed make: *** [helloworld.o] Error 1 root@debian:~/hellowolrd_qt#

    And this is CXX and CXXFLAGS :

    root@debian:~/hellowolrd_qt# . /opt/qtsdk-Guinault-2020.03/environment-setup-armv7at2hf-neon-linux-gnueabi root@debian:~/hellowolrd_qt# echo $CXX arm-linux-gnueabihf-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi root@debian:~/hellowolrd_qt# echo $CXXFLAGS -isystem/home/guinault/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types

    Anyone can help me please ?

    Thank you

    Sébastien

  • 0 Votes
    9 Posts
    2k Views
    A

    @MjrWilson Wow! Typical Visual Studio. One of the many reasons I try to avoid MSVC as a compiler. I've had similar issues at work lately, installing an older win api completely ruined 3 versions of visual studio to the point of reinstalling and having to manually clean the registry. Go Microsoft!

    Oh well as a MSFT stock owner at least other people like them even if I don't. ;)

    Glad you got it fixed. :)