lancos / ponyprog

Serial device programmer
GNU General Public License v2.0
73 stars 13 forks source link

Build Problems #24

Closed zcx2020 closed 2 years ago

zcx2020 commented 2 years ago

Using Linux Mint 19.3 amd64.

Trying to build current version cloned from github today.

Installed dependencies as stated in INSTALL, plus qt5base-dev, qtdeclarative5-dev, .

When running create_elf_binary.sh I get this

./create_elf_binary.sh

cpu cores: 4 -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- 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 -- Qt version for compiling: 5 -- CMAKE_CXX_FLAGS -O3 -DNDEBUG -Wall -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.21 -- Found Libusb-1.0: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Checking libusb version... -- LibUSB version 1.0.21 -- Version info: 3.1.3 -- Version build date: 24-08-2022 -- Compile without profiling information CMake Error at CMakeLists.txt:242 (ADD_SUBDIRECTORY): ADD_SUBDIRECTORY given source "qhexedit2/src" which is not an existing directory.

-- PONY_RESOURCES ~/ponyprog/build/qrc_ponyprog.cpp -- Include dirs -- dir='/usr/include/libftdi1' -- dir='/usr/include/libusb-1.0' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtWidgets' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtGui' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtCore' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/./mkspecs/linux-g++' -- dir='/usr/include' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtPrintSupport' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtWidgets' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtGui' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtCore' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/./mkspecs/linux-g++' -- dir='/usr/include' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtMultimedia' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtNetwork' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtCore' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/./mkspecs/linux-g++' -- dir='/opt/Qt5.13.0/5.13.0/gcc_64/include/QtGui' -- dir='/usr/include' -- dir='/home/nick/ponyprog/qhexedit2/src' -- dir='/home/nick/ponyprog/SrcPony' -- dir='/home/nick/ponyprog/build' -- Generate installation variables... UDEV_INSTALL_DIR CMAKE_INSTALL_PREFIX /usr/local DEBIAN_ARCHITECTURE amd64 -- Configuring incomplete, errors occurred! See also "~/ponyprog/build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop.

There are no errors in /ponyprog/build/CMakeFiles/CMakeOutput.log

But there seems to be a problem with qhexedit2/src which does not exist.

Not a cmake expert here, just a lowly user.

Any advice would be appreciated.

zcx2020 commented 2 years ago

Built version 3.1.3 OK from INSTALL instructions.