oscilloscope in qt
-
@VRonin Do I have to open terminal and use
exportcommand to set system enviornment variable in ubuntu? -
@VRonin , @SGaist this qmake I have changed plz tell this right or not?
qmake file:# Automatically generated by qmake (2.01a) Sat Dec 13 16:33:29 2014 ###################################################################### QT += core gui widgets serialport multimedia multimediawidgets printsupport datavisualization charts TEMPLATE = app TARGET = qt-oscilloscope DEPENDPATH += . INCLUDEPATH += . INCLUDEPATH += /usr/local/include/digilent/waveforms INCLUDEPATH += /usr/include/digilent/waveforms INCLUDEPATH +=/home/mmrfic/Desktop/qt-oscilloscope-1.0 CONFIG += qt LIBS +=-l "digilent.waveforms_3.7.5_i386/usr/lib" -ldwf LIBS+=-lfftw3 # Input HEADERS += Horizontal.hh MainWindow.hh Trigger.hh Tube.hh Vertical.hh HEADERS += Color.hh Color.def file.def Cursor.hh Device.hh State.hh HEADERS += Wavegen.hh FftWindow.hh Analog_Discovery.hh Dummy_Device.hh SOURCES += Horizontal.cc main.cc MainWindow.cc Trigger.cc Tube.cc Vertical.cc SOURCES += Color.cc Cursor.cc State.cc Wavegen.cc Common.cc SOURCES += FftWindow.cc Analog_Discovery.cc Dummy_Device.cc ``` -
-l "digilent.waveforms_3.7.5_i386/usr/lib"should be-L"digilent.waveforms_3.7.5_i386/usr/lib"- does "digilent.waveforms_3.7.5_i386/usr/lib" contain a file called
dwf.libordwf.a(sorry I don't remember the estension of gcc libraries)? - You probably have to do the same for
-lfftw3
-
-l "digilent.waveforms_3.7.5_i386/usr/lib"should be-L"digilent.waveforms_3.7.5_i386/usr/lib"- does "digilent.waveforms_3.7.5_i386/usr/lib" contain a file called
dwf.libordwf.a(sorry I don't remember the estension of gcc libraries)? - You probably have to do the same for
-lfftw3
-
-l "digilent.waveforms_3.7.5_i386/usr/lib"should be-L"digilent.waveforms_3.7.5_i386/usr/lib"- does "digilent.waveforms_3.7.5_i386/usr/lib" contain a file called
dwf.libordwf.a(sorry I don't remember the estension of gcc libraries)? - You probably have to do the same for
-lfftw3
@VRonin said in oscilloscope in qt:
- does "digilent.waveforms_3.7.5_i386/usr/lib
contain a file calleddwf.libordwf.a` (sorry I don't remember the estension of gcc libraries)?
yes, It has file dwf.h
will that okay bro?
- You probably have to do the same for
-lfftw3
-lfftw3 working fine bro
-
@VRonin said in oscilloscope in qt:
- does "digilent.waveforms_3.7.5_i386/usr/lib
contain a file calleddwf.libordwf.a` (sorry I don't remember the estension of gcc libraries)?
yes, It has file dwf.h
will that okay bro?
- You probably have to do the same for
-lfftw3
-lfftw3 working fine bro
- does "digilent.waveforms_3.7.5_i386/usr/lib
-
@thippu said in oscilloscope in qt:
yes, It has file dwf.h
Nope. it must be a compiled binary, not a header
-
yes so you have to change -ldwf to -llibdwf also
Nope. If you want to link against library
libxyz.so, the linker line is `-lxyz'.Example: the math library
libm.sois linked with-lm.Don't ask me who invented this...
-
@aha_1980 , @VRonin , @SGaist Guys thank you!
Whatever u said I did,I'm sorry to say this,Not executing still.
Idk what do,paths are working,lib exists, but not executing why?! :(
If you try this on u r machine letme know if it works link:
https://sourceforge.net/projects/qtoscilloscope/ -
@aha_1980 , @VRonin , @SGaist Guys thank you!
Whatever u said I did,I'm sorry to say this,Not executing still.
Idk what do,paths are working,lib exists, but not executing why?! :(
If you try this on u r machine letme know if it works link:
https://sourceforge.net/projects/qtoscilloscope/