Tuesday, April 17, 2018

Notes on compiling software lockin amplifier

Abbreviated notes from the software lock-in amplifier at https://github.com/hn-88/SoftwareLockin/

French lockin works on USB stick. Lubuntu 12.04

edited the pro files to add
QT += widgets

vumeter.h:40:25: fatal error: QtGui/QWidget: No such file or directory
on Mint 18.1

edit h files to make QtGui/QWidget QWidget

make clean
qmake multi.pro
make


error: ‘const class QString’ has no member named ‘toAscii’ - solved using

(was solved by install of package qttools5-dev-tools
more info here...) not used

QByteArray QString::toAscii() const
Returns an 8-bit representation of the string as a QByteArray.

This function does the same as toLatin1().

So, replaced in lockin.cpp and dockoutput.cpp

output has NaN

Edit: 20 Apr
ui_lockingui.h:13:29: fatal error: QtWidgets/QAction: No such file or directory
compilation terminated.
Makefile:406: recipe for target 'lockingui.o' failed
make: *** [lockingui.o] Error 1

probably have to find replace again?

Also QWidgets/QApplication

changed to QApplication etc - find replace QWidgets/ with nothing.

sudo apt-get --reinstall install libqt4-opengl-dev

Maybe if I upload the makefile?



No comments:

Post a Comment