Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Building SleepyHead on Linux
#31
RE: Building SleepyHead on Linux
(03-13-2016, 12:36 PM)pholynyk Wrote: What version of QT5 are you using in Mint 17.3? Type qmake --version at a prompt; it will report a version for qmake and for QT. Mine reports:
phil@AmyDee:~$ qmake --version
QMake version 3.0
Using Qt version 5.3.2 in /usr/lib/i386-linux-gnu

I believe QT 5.3 is the earliest that is usable for SleepyHead, although I'm not sure of that. I had heard that Mint is somewhat behind that. I use Debian Jessie stable; I thought it was the slowest to update things, but I have been compiling SleepyHead successfully.

Thanks for your help pholynyk. My output is below

guy@guy-desktop ~ $ qmake --version
QMake version 2.01a
Using Qt version 4.8.7 in /home/guy/anaconda2/lib

By the way, the anaconda2/lib is related to an online course I'm taking trying to learn Python programming. Do I need to uninstall something related to that?

Post Reply Post Reply
#32
RE: Building SleepyHead on Linux
Whew! It's guaranteed that SleepyHead won't build or run with QT4! Until you can upgrade to a distribution with a newer QT5, I'm afraid you won't be able to build SleepyHead.

But you should probably complete your Python course before you make changes.
Post Reply Post Reply
#33
RE: Building SleepyHead on Linux
(03-13-2016, 01:29 PM)pholynyk Wrote: Whew! It's guaranteed that SleepyHead won't build or run with QT4! Until you can upgrade to a distribution with a newer QT5, I'm afraid you won't be able to build SleepyHead.

But you should probably complete your Python course before you make changes.

At least it's something simple. One of these days I hope to be better in this Linux environment so I don't have to ask such dumb questions! Thanks again for your help.
Post Reply Post Reply
#34
RE: Building SleepyHead on Linux
I have tried compiling SleepyHead according to the instructions at the beginning of this thread on 2 different machines running Ubuntu 14.04. In both instances the subdirectory "sleepyhead" is not created and there is no executable "SleepyHead". I get 2 errors at the end of the compile:

make[1]: *** [prs1_loader.o] Error 1
make[1]: *** Waiting for unfinished jobs....
SleepLib/loader_plugins/resmed_loader.cpp: In member function ‘void ResmedLoader::ToTimeDelta(Session*, EDFParser&, EDFSignal&, ChannelID, long int, qint64, EventDataType, EventDataType, bool)’:
SleepLib/loader_plugins/resmed_loader.cpp:2917:32: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp = EventDataType© * es.gain;
^
make[1]: Leaving directory `/home/jim/shbuild/sleepyhead-code/sleepyhead'
make: *** [sub-sleepyhead-make_first-ordered] Error 2


Does anyone know what could cause this problem?
Post Reply Post Reply
#35
RE: Building SleepyHead on Linux
You left off the critical preceding lines which mention that there is no removeAll function for the particular class.

The hazards of working with beta source code I'm afraid; I'm assuming Jedimark will fix that tonight or tomorrow. That prd1_loader is code he is working on right now.
Post Reply Post Reply
#36
RE: Building SleepyHead on Linux

Thanks Pholynyk. I recompiled using v0.9.8 and it now works fine.
Post Reply Post Reply
#37
RE: Building SleepyHead on Linux
try git remote set-url origin http://gitlab.jedimark.net/code/sleepyhead.git

then git pull and make
Post Reply Post Reply
#38
RE: Building SleepyHead on Linux
Further investigation indicates that QT 5.4 is probably the minimum version that will compile SH 1.0.0-beta.
My Debian Jessie stable has 5.3, but Jessie testing has 5.5, so I will do that upgrade and report back.
Post Reply Post Reply
#39
RE: Building SleepyHead on Linux
Just reporting a successful build of SleepyHead1.0.0-beta-1 on Ubuntu15.10. OpenGL build. Everything seems to be "mostly ok". I had an issue with the Overview mode, where the scroll bar failed to update the display. Actually nothing updated the display in that mode. Discovered debug mode, which showed nothing. However once debug mode was entered the Overview Mode worked as intended. And it continued to work after I exited debug mode. I seem to have occasional text problems in the graphs and tool tips. Some characters are missing or blocky. Would broken GL fix that?
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 10 807 03-25-2024, 08:46 PM
Last Post: Pierelly
  OSCAR v1.5.2 - Linux Versions Crimson Nape 3 125 03-17-2024, 02:35 PM
Last Post: Crimson Nape
  What version of Linux for my Chromebook? bluetangle127 1 432 10-26-2023, 10:54 AM
Last Post: Crimson Nape
  F12/Take Screenshot Not Saving Screenshot under Linux? DigitalMan43 4 668 09-30-2023, 05:04 PM
Last Post: DigitalMan43
  o2 insight pro on linux Jim Vader 10 1,390 08-16-2023, 07:00 AM
Last Post: data01
  OSCAR for Ubuntu Linux "blocked and dangerous" edgreenberg 3 738 07-17-2023, 06:27 AM
Last Post: edgreenberg
  Feature Request - OSCAR Linux rammjet 3 627 07-09-2023, 09:04 PM
Last Post: rammjet


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.