Comments (3)
OK, after a nights sleep and some poking around on the interpipes I think I have solved my problem BUT I am stressing that I am not sure instaling th qt5-default package is the best thing to do. After
sudo apt-get install qtdeclarative5-dev libqt5serialport5-dev
The command
qmake
ran fine. However
make
After doing a lot of great compiling aborted on
ui_scriptingwindow.h:23:32: fatal error: Qsci/qsciscintilla.h: No such file or directory
#include "Qsci/qsciscintilla.h
Qsciscintilla unfortunately needs to be downloaded and compiled. Head over to https://www.riverbankcomputing.com/software/qscintilla/download download the tar.gz of the production version (right now 2.9.1) and extract it somewhere. Head over where you extracted it and then to folder Qt4Qt5, there type
qmake qscintilla.pro
make
sudo make install
Head back to where you cloned Savvycan and type
qmake
make
Now the linker balked about ldev not being there. OK, so
sudo apt-get install libudev-dev
And try again. Oops......
scriptingwindow.o: In function ScriptingWindow::recompileScript()': scriptingwindow.cpp:(.text+0x264): undefined reference to
QsciScintilla::text() const'
scriptingwindow.o: In function ScriptingWindow::ScriptingWindow(QVector<CANFrame> const*, QWidget*)': scriptingwindow.cpp:(.text+0xfb2): undefined reference to
QsciLexerJavaScript::QsciLexerJavaScript(QObject_)'
scriptingwindow.o: In function ScriptingWindow::saveScript()': scriptingwindow.cpp:(.text+0x21f9): undefined reference to
QsciScintilla::text() const'
scriptingwindow.o: In function Ui_ScriptingWindow::setupUi(QDialog_)': scriptingwindow.cpp:(.text._ZN18Ui_ScriptingWindow7setupUiEP7QDialog[_ZN18Ui_ScriptingWindow7setupUiEP7QDialog]+0x3f6): undefined reference to
QsciScintilla::QsciScintilla(QWidget*)'
After which I gave up. Seems like some QScintilla things are missing. Bleeding edge needed?
from savvycan.
OK OK, so I didn't give up. After adding
LIBS += -lqscintilla2
to SavvyCAN.pro it all compiles and runs. Can I kindly suggest to add that in the repositry @collin80 ?
So quick condensed version to get & compile SavvyCan on a virgin Ubuntu 14.04 LTS
sudo apt-get install qt5-default qtdeclarative5-dev libqt5serialport5-dev libudev-dev
[download and extract QScintilla (see above for link), assume it is extracted in QScintilla-gpl-2.9.1]
cd ~/QScintilla-gpl-2.9.1/Qt4Qt5
qmake qscintilla.pro
make
sudo make install
[Optionally remove ~/QScintilla-gpl-2.9.1]
cd ~
git clone https://github.com/collin80/SavvyCAN.git
cd SavvyCAN
qmake
make
Now run SavvyCAN
./SavvyCAN
from savvycan.
Thanks, yes, a better explanation of how to compile is a very good idea. I'll get your text added to the readme file.
from savvycan.
Related Issues (20)
- Timestamps on Windows are not human-readable HOT 3
- floating point signals graphed with incorrect values? HOT 1
- (macOS) SavvyCAN crashes on startup HOT 1
- Unmet dependency to xapp-gtk3-module on Linux Mint HOT 1
- How to connect SavvyCAN to can0 SocketCAN interface on Linux Mint Victoria ? HOT 1
- Crash after selecting "Enable Continuous Logging" when no connection active HOT 1
- mac build artifact does not include QT Serial Bus support HOT 3
- V213 broke SavvyCAN installation HOT 1
- In an environment with Ubuntu 16.04 and Qt5.14.2, there is a compilation error occurring during the 'make' process.
- Timestamps break when importing a SavvyCAN gvret .csv from someone else HOT 3
- SavvyCAN with Qt 6.7.2 on Linux: no Qt Serial port for 'passthroughcan' device HOT 2
- The "New Connection" window does not have a help file associated with it
- Timestamp is missing in recorded trace after loading HOT 2
- Graph Settings / Add This Graph modal dialog too tall HOT 2
- Can't open/save any files HOT 1
- How to get Lilygo TCAN485 working on Savvycan
- Log Format Add Request HOT 2
- can.sendFrame bug in scripting interface
- J1939 DBC data graphing issue HOT 2
- Frame Sender - chaging between normal and extended ID
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from savvycan.