Everything works fine before I include Spinnaker.h into my code. It seems like there is some conflicting issues between Spinnaker and Qt5.
This is what I get when I include Spinnaker.
In file included from /opt/Qt5.10.1/5.10.1/gcc_64/include/QtNetwork/QtNetwork:32:0,
from /opt/Qt5.10.1/5.10.1/gcc_64/include/QtQml/QtQmlDepends:4,
from /opt/Qt5.10.1/5.10.1/gcc_64/include/QtQml/QtQml:3,
from /opt/Qt5.10.1/5.10.1/gcc_64/include/QtQuick/QtQuickDepends:5,
from /opt/Qt5.10.1/5.10.1/gcc_64/include/QtQuick/QtQuick:3, from /home/torch/projects/slam_multi_threaded_ws/src/leo_slam /torch-gui/mainwindow.cpp:5:
/opt/Qt5.10.1/5.10.1/gcc_64/include/QtNetwork/qnetworksession.h:96:32: error: expected identifier before ‘(’ token
QNetworkInterface interface() const; ^
/opt/Qt5.10.1/5.10.1/gcc_64/include/QtNetwork/qnetworksession.h:96:33: error: expected unqualified-id before ‘)’ token
QNetworkInterface interface() const;
Do you have any idea how to overcome this issue?