Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add linux support? #42

Open
2 tasks
phildong opened this issue Jun 21, 2021 · 5 comments
Open
2 tasks

add linux support? #42

phildong opened this issue Jun 21, 2021 · 5 comments
Labels

Comments

@phildong
Copy link
Contributor

In theory it should be fairly straight-forward to build on linux. In fact there already seem to be some success! (#32).
So just want to put this issue here to track collective effort to make the DAQ software work on linux, and potentially have official support for linux.

Specifically it would be nice to have:

  • documentation and example .pro files to help building from source on linux.
  • linux binaries included in future releases.
@ckemere
Copy link

ckemere commented Aug 3, 2022

Related questions: the latest Ubuntu reposistory qt libraries are 5.15.3 (at least in my 22.04 aarm64 image). Does anyone know whether the SW will compile with that version of QT creator?

Similar question regarding OpenCV. Any sense for what version is needed?

@HaaPut
Copy link

HaaPut commented Apr 28, 2023

OK.. so here is a fork that works on Linux.
https://github.com/HaaPut/Miniscope-DAQ-QT-Software/tree/master

@ckemere
Copy link

ckemere commented Apr 28, 2023

Thanks! I have gotten it to build, but I find that I'm getting errors when connecting to webcam or miniscope. Any hints about needed packages (maybe gstreamer ones??)

@HaaPut
Copy link

HaaPut commented Apr 28, 2023

Can you post what errors you are getting?

@ckemere
Copy link

ckemere commented Apr 29, 2023

Thanks so much for your fork. Compiling was failing at the very end where it was copying files:

cp -f -R "/home/ckemere/Miniscope/Miniscope-DAQ-QT-Software/source/../deviceConfigs" "/home/ckemere/Miniscope/Miniscope-DAQ-QT-Software/source/release/deviceConfigs"
cp: cannot create directory '/home/ckemere/Miniscope/Miniscope-DAQ-QT-Software/source/release/deviceConfigs': No such file or directory
make: *** [Makefile:512: copydata] Error 1

And I ignored it. BUT, it turns out that this meant that videoDevices.json file didn't load and failed silently!

    file.setFileName("deviceConfigs/videoDevices.json");
    bool status = file.open(QIODevice::ReadOnly | QIODevice::Text);
    if (status == true) {
        jsonFile = file.readAll();

I need to make a patch to add some error handling there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants