Post Reply 
Building SleepyHead on Linux
Author Message
GuyM Offline

Members

Posts: 4
Joined: Mar 2016

Machine: Resmed AirSense 10 Auto
Mask Type: Nasal mask
Mask Make & Model: unsure
Humidifier: none
CPAP Pressure: unsure
CPAP Software: Not using software

Other Comments:

Sex: Undisclosed
Location:

Post: #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?
(This post was last modified: 03-13-2016 01:18 PM by GuyM.)
03-13-2016 01:18 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
pholynyk Online

Advisory Members

Posts: 306
Joined: Mar 2015

Machine: ResMed AirSense 10 APAP
Mask Type: Full face mask
Mask Make & Model: Amara View
Humidifier: included
CPAP Pressure: 11-17
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #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.
03-13-2016 01:29 PM
Find all posts by this user Post Reply Quote this message in a reply
GuyM Offline

Members

Posts: 4
Joined: Mar 2016

Machine: Resmed AirSense 10 Auto
Mask Type: Nasal mask
Mask Make & Model: unsure
Humidifier: none
CPAP Pressure: unsure
CPAP Software: Not using software

Other Comments:

Sex: Undisclosed
Location:

Post: #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.
03-13-2016 01:39 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
olorin0958 Offline

New Members

Posts: 2
Joined: Mar 2016

Machine: none
Mask Type: Not using mask
Mask Make & Model: none
Humidifier: none
CPAP Pressure: none
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Alberta Canada

Post: #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?
03-20-2016 12:17 PM
Find all posts by this user Post Reply Quote this message in a reply
pholynyk Online

Advisory Members

Posts: 306
Joined: Mar 2015

Machine: ResMed AirSense 10 APAP
Mask Type: Full face mask
Mask Make & Model: Amara View
Humidifier: included
CPAP Pressure: 11-17
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #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.
03-20-2016 12:25 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
olorin0958 Offline

New Members

Posts: 2
Joined: Mar 2016

Machine: none
Mask Type: Not using mask
Mask Make & Model: none
Humidifier: none
CPAP Pressure: none
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Alberta Canada

Post: #36
RE: Building SleepyHead on Linux
Thanks Pholynyk. I recompiled using v0.9.8 and it now works fine.
03-21-2016 01:49 PM
Find all posts by this user Post Reply Quote this message in a reply
palerider Offline

Preferred Members-

Posts: 440
Joined: Nov 2014

Machine: s9 vpap auto
Mask Type: Nasal pillows
Mask Make & Model: p10
Humidifier: none
CPAP Pressure: 18/13+
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Dallas(ish)

Post: #37
RE: Building SleepyHead on Linux
try git remote set-url origin http://gitlab.jedimark.net/code/sleepyhead.git

then git pull and make
03-21-2016 04:43 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
pholynyk Online

Advisory Members

Posts: 306
Joined: Mar 2015

Machine: ResMed AirSense 10 APAP
Mask Type: Full face mask
Mask Make & Model: Amara View
Humidifier: included
CPAP Pressure: 11-17
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #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.
03-21-2016 05:01 PM
Find all posts by this user Post Reply Quote this message in a reply
happydreams Offline

Preferred Members

Posts: 23
Joined: Sep 2015

Machine: Respironics System 1 560P
Mask Type: Full face mask
Mask Make & Model: Resmed Airfit F10
Humidifier: Not used
CPAP Pressure: 8 cm
CPAP Software: SleepyHead Other Software

Other Comments:

Sex: Male
Location: NH, USA

Post: #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?
04-09-2016 12:40 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Idea SleepyHead and Linux MartinT 3 87 11-29-2016 07:41 AM
Last Post: OpalRose
  did Linux corrupt my SD card? AirPlease 6 834 09-23-2016 02:06 AM
Last Post: zagam
  SleepyHead and Linux Mint 17.3 (Ubuntu 14.04) necochino 4 264 08-21-2016 07:16 PM
Last Post: pholynyk
  Oximetry - Do any of the pulse oximeters work with linux? happydreams 47 5,143 07-17-2016 08:31 AM
Last Post: johanh
  SleepyHead 1.0.0 Linux kazoni 23 1,472 05-23-2016 03:36 PM
Last Post: palerider
  Add Linux download to the Sleep Files site hfinger 11 1,082 01-13-2016 05:48 PM
Last Post: DariaVader
  SleepyHead and Linux Sleepster 31 6,077 05-02-2014 08:45 AM
Last Post: SnuffySleeper

Forum Jump:

Who's Online (Complete List)