Closed jbcolme closed 8 years ago
Which version of Ubuntu are you using? The headers should be found here:
/usr/include/qwt
If you have headers in /usr/local/qwt-6.1.2/include then perhaps you manually installed a copy of qwt? If you don't need that, you should remove that. Also, you should remove the symlink you created, that is not needed.
Perhaps you have link errors because you told signal-scope to use the wrong qwt headers. Please do a clean build of signal-scope and make sure that the qwt headers and library variable are pointed to the system version of qwt, not the version in /usr/local.
If you still have trouble, please post your full CMakeCache.txt file (in the pod-build directory) so that I can help debug.
Done. Yes it was indeed an issue on my side. I removed the headers in /usr/local/qwt-6.1.2 and reinstalled the libqwt-dev package and it worked. I guess I had manually installed it long time ago. Thanks for your answering so quickly. I was about to try another version of qwt.
I'm in ubuntu. I was already using signal-scope. Made a fresh clone and now I cannot compile. The first thing was that signal-scope could not find qwt:
Yes I did
But the headers were not in
/usr/local/lib
but in/usr/local/qwt-6.1.2/include
. So instead of modifying the CMakeLists file I made a symbolic link:So that cmake could find qwt and the variable
QWT_INCLUDE_DIR
was indeed defined. But then I got a bunch of errors when linking (which I list below). I might be wrong, but I had similar errors when I moved a project I was working on to qwt 6. I had so much trouble between Qt 4, Qwt 6, catkin and cmake that I ended up deciding to use qcustomplot. It may be that I have different versions of qwt installed or something like that. I'm going over it trying to find if I have something broken on my side.