cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wastie
Adventurer
Adventurer
449 Views
Registered: ‎02-12-2008

VMK180 PCIe TRD 2020.2 Host code compile error

Jump to solution

Having followed the instruction programmed the Versal and can see the PCIe interface.

Setup the Qdma. I can't compile the host code. I get this error. Any idea why?

wastie@wastie-GA-990XA-UD3:~/Downloads/vmk180_trd_platform2_2020.2/pcie_host_package/qdma/pcie_app$ ./do_compile.sh
g++ -c -pipe -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include -isystem /usr/local/include/opencv2 -I/opt/qt5.9.0/5.9/gcc_64/include -I/opt/qt5.9.0/5.9/gcc_64/include/QtWidgets -I/opt/qt5.9.0/5.9/gcc_64/include/QtGui -I/opt/qt5.9.0/5.9/gcc_64/include/QtConcurrent -I/opt/qt5.9.0/5.9/gcc_64/include/QtCore -I. -isystem /usr/include/libdrm -I. -I/opt/qt5.9.0/5.9/gcc_64/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp
In file included from /usr/include/c++/7/bits/stl_algo.h:59:0,
from /usr/include/c++/7/algorithm:62,
from /opt/qt5.9.0/5.9/gcc_64/include/QtCore/qglobal.h:109,
from /opt/qt5.9.0/5.9/gcc_64/include/QtGui/qtguiglobal.h:43,
from /opt/qt5.9.0/5.9/gcc_64/include/QtWidgets/qtwidgetsglobal.h:43,
from /opt/qt5.9.0/5.9/gcc_64/include/QtWidgets/qmainwindow.h:43,
from /opt/qt5.9.0/5.9/gcc_64/include/QtWidgets/QMainWindow:1,
from mainwindow.h:4,
from moc_mainwindow.cpp:9:
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
Makefile:1655: recipe for target 'moc_mainwindow.o' failed
make: *** [moc_mainwindow.o] Error 1
mv: cannot stat 'app1': No such file or directory

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
wastie
Adventurer
Adventurer
363 Views
Registered: ‎02-12-2008

The solution is to use Ubuntu 16.04. There is a possible solution when using 18.04 see here:-

https://forum.qt.io/topic/87751/qtcreator-compile-returning-stdlib-h-no-such-file-or-directory/2

 

View solution in original post

0 Kudos
1 Reply
wastie
Adventurer
Adventurer
364 Views
Registered: ‎02-12-2008

The solution is to use Ubuntu 16.04. There is a possible solution when using 18.04 see here:-

https://forum.qt.io/topic/87751/qtcreator-compile-returning-stdlib-h-no-such-file-or-directory/2

 

View solution in original post

0 Kudos