SleepyHead 0.9.8-1 Testing Builds

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
hawks4ever
Posts: 1
Joined: Sat Nov 22, 2014 9:55 am

Re: SleepyHead 0.9.8-1 Testing Builds

Post by hawks4ever » Tue Dec 16, 2014 7:53 pm

I have downloaded this program twice and both times it has messed up my computer. How come??? I like the program but not what it does to my program. What do I do???

User avatar
archangle
Posts: 9294
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead 0.9.8-1 Testing Builds

Post by archangle » Tue Dec 16, 2014 10:34 pm

hawks4ever wrote:I have downloaded this program twice and both times it has messed up my computer. How come??? I like the program but not what it does to my program. What do I do???
What web site did you download it from?

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

Guest

Re: SleepyHead 0.9.8-1 Testing Builds

Post by Guest » Mon Dec 22, 2014 8:43 am

palerider wrote:
tan wrote:it is not that hard to compile on Linux. Try AIX or HPUX for a change
or solaris *snork*

actually, any platform that has qt available for it should work without much effort.

download qt from qt project org, do a git clone, qmake and make
I am using Linux yet don't know how to compile.
But following above instructions I did download and install qt.

But what options do I enter after qmake and make?
Thanks

User avatar
palerider
Posts: 32300
Joined: Wed Dec 16, 2009 5:43 pm
Location: Dallas(ish).

Re: SleepyHead 0.9.8-1 Testing Builds

Post by palerider » Mon Dec 22, 2014 10:22 am

Guest wrote:
palerider wrote:
tan wrote:it is not that hard to compile on Linux. Try AIX or HPUX for a change
or solaris *snork*

actually, any platform that has qt available for it should work without much effort.

download qt from qt project org, do a git clone, qmake and make
I am using Linux yet don't know how to compile.
But following above instructions I did download and install qt.

But what options do I enter after qmake and make?
Thanks
more info here: http://sourceforge.net/p/sleepyhead/cod ... ster/tree/

_________________
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: S9 VPAP Auto
Get OSCAR

Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.

Guest

Re: SleepyHead 0.9.8-1 Testing Builds

Post by Guest » Mon Dec 22, 2014 10:48 am

palerider wrote:
Guest wrote:
palerider wrote:
tan wrote:it is not that hard to compile on Linux. Try AIX or HPUX for a change
or solaris *snork*

actually, any platform that has qt available for it should work without much effort.

download qt from qt project org, do a git clone, qmake and make
I am using Linux yet don't know how to compile.
But following above instructions I did download and install qt.

But what options do I enter after qmake and make?
Thanks
more info here: http : //sourceforge . net /p/sleepyhead/code /ci/master /tree/
Thanks palerider,
So I went as far as this error:' Unknown module(s) in QT: serialport'

:~/sleepyhead-code/build$ make -j2
cd sleepyhead/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/home/sleepyhead-code/sleepyhead/sleepyhead <. >pro -o Makefile ) && make -f Makefile
Project MESSAGE: Building with QGLWidget gGraphView
Project ERROR: Unknown module(s) in QT: serialport
Makefile:38: recipe for target 'sub-sleepyhead-make_first-ordered' failed
make: *** [sub-sleepyhead-make_first-ordered] Error 3

Thanks

User avatar
palerider
Posts: 32300
Joined: Wed Dec 16, 2009 5:43 pm
Location: Dallas(ish).

Re: SleepyHead 0.9.8-1 Testing Builds

Post by palerider » Mon Dec 22, 2014 11:05 am

Guest wrote: Thanks palerider,
So I went as far as this error:' Unknown module(s) in QT: serialport'

:~/sleepyhead-code/build$ make -j2
cd sleepyhead/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/home/sleepyhead-code/sleepyhead/sleepyhead <. >pro -o Makefile ) && make -f Makefile
Project MESSAGE: Building with QGLWidget gGraphView
Project ERROR: Unknown module(s) in QT: serialport
Makefile:38: recipe for target 'sub-sleepyhead-make_first-ordered' failed
make: *** [sub-sleepyhead-make_first-ordered] Error 3

Thanks
are you using qt from the qt project?

http://qt-project.org/

_________________
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: S9 VPAP Auto
Get OSCAR

Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.

182u5

Re: SleepyHead 0.9.8-1 Testing Builds

Post by 182u5 » Mon Dec 22, 2014 11:19 am

Yes used:
'Qt Online Installer for Linux 32-bit (22.9 MB)'
And it is the latest Qt 5.4.0

Thanks

User avatar
archangle
Posts: 9294
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead 0.9.8-1 Testing Builds

Post by archangle » Mon Dec 22, 2014 2:17 pm

Guest wrote:
palerider wrote:
Guest wrote:
palerider wrote:
tan wrote:it is not that hard to compile on Linux. Try AIX or HPUX for a change
or solaris *snork*

actually, any platform that has qt available for it should work without much effort.

download qt from qt project org, do a git clone, qmake and make
I am using Linux yet don't know how to compile.
But following above instructions I did download and install qt.

But what options do I enter after qmake and make?
Thanks
more info here: http : //sourceforge . net /p/sleepyhead/code /ci/master /tree/
Thanks palerider,
So I went as far as this error:' Unknown module(s) in QT: serialport'

:~/sleepyhead-code/build$ make -j2
cd sleepyhead/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/home/sleepyhead-code/sleepyhead/sleepyhead <. >pro -o Makefile ) && make -f Makefile
Project MESSAGE: Building with QGLWidget gGraphView
Project ERROR: Unknown module(s) in QT: serialport
Makefile:38: recipe for target 'sub-sleepyhead-make_first-ordered' failed
make: *** [sub-sleepyhead-make_first-ordered] Error 3

Thanks

The library you need for the serialport error is libqt5serialport5

What you have to do to get it depends on which linux distro you're using.

On Mint 17, apt-get install libqt5serialport5 did the trick for me.

Here's the entire process that worked for me on Mint17. YMMV on other linuxes because of differences in the repositories.


==============

Lines with dollar signs or pound signs are commands you type at the command
prompt.

Become root to run the apt-get commands
You can also do this from synaptic package manager if you prefer.


$ sudo -i


# apt-get install libqt5serialport5
# apt-get install git
# apt-get install qt5-qmake
# apt-get install qt5-default
# apt-get install libqt5webkit5-dev
# apt-get install libqt5serialport5-dev
# apt-get install g++
# apt-get install libudev-dev

exit from sudo

# exit

Go to your home directory and create a directory for SleepyHead.
Or put it somewhere else if you want to.

$ cd
$ mkdir shbuild
$ cd shbuild


$ git clone git://git.code.sf.net/p/sleepyhead/code sleepyhead-code

$ cd sleepyhead-code

$ qmake
$ make

Executable is shbuild/sleepyhead/SleepyHead


================


You might need to add ppa:ubuntu-sdk-team/ppa if apt can't find certain packages.

$ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
$ sudo apt-get update

I tried on Mint 13 and never managed to track down all the individual packages. It might be possible, but I just went to a later linux.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

User avatar
palerider
Posts: 32300
Joined: Wed Dec 16, 2009 5:43 pm
Location: Dallas(ish).

Re: SleepyHead 0.9.8-1 Testing Builds

Post by palerider » Mon Dec 22, 2014 2:20 pm

182u5 wrote:Yes used:
'Qt Online Installer for Linux 32-bit (22.9 MB)'
And it is the latest Qt 5.4.0

Thanks
I think, based on this: /usr/lib/i386-linux-gnu/qt5/bin/qmake that you're using the wrong qmake.

put your newly installed qt bin directory (which is probably in /opt) first in your path.

_________________
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: S9 VPAP Auto
Get OSCAR

Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.

Guest

Re: SleepyHead 0.9.8-1 Testing Builds

Post by Guest » Tue Dec 23, 2014 1:31 pm

As a follow-up:

I installed libqt5serialport5 and libqt5serialport5-dev which were the only ones missing from the list above.
And build proceeded with no problem.

But then I got message: 'This build of SleepyHead requires OpenGL 2.0 support to function correctly, and unfortunately your computer lacks this capability.' So I checked and indeed this older computer has only OpenGL 1.4.

Another message said: 'There is another build available tagged "-BrokenGL" that should work on your computer.'

So where can I find the '"-BrokenGL" build?

Thank you all

User avatar
palerider
Posts: 32300
Joined: Wed Dec 16, 2009 5:43 pm
Location: Dallas(ish).

Re: SleepyHead 0.9.8-1 Testing Builds

Post by palerider » Tue Dec 23, 2014 4:54 pm

Guest wrote: So where can I find the '"-BrokenGL" build?
add DEFINES+=BrokenGL

like:

Code: Select all

/opt/Qt5.4.0/5.4/gcc_64/bin/qmake \ 
DEFINES+=BrokenGL CONFIG+=debug QMAKE_CXXFLAGS_WARN_ON=-Wall\ 
-Wno-unused-parameter\ 
-Wno-unused-but-set-variable\ 
-Wno-unused-variable\ 
-Wno-narrowing -o Makefile ../sleepyhead-code/SleepyHeadQT.pro

_________________
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: S9 VPAP Auto
Last edited by palerider on Sun Dec 28, 2014 1:17 am, edited 1 time in total.
Get OSCAR

Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.

Guest

Re: SleepyHead 0.9.8-1 Testing Builds

Post by Guest » Thu Dec 25, 2014 10:54 am

palerider wrote:
Guest wrote: So where can I find the '"-BrokenGL" build?
in the sleepyhead directory,

> BrokenGL

ie, create a empty filed name BrokenGL

Guest

Re: SleepyHead 0.9.8-1 Testing Builds

Post by Guest » Thu Dec 25, 2014 10:57 am

palerider wrote:
Guest wrote: So where can I find the '"-BrokenGL" build?
in the sleepyhead directory,

> BrokenGL

ie, create a empty filed name BrokenGL
it does not work for me.

/home has 'sleepyhead-code' which has 6 folders and 9 files . No 'BrokenGL' file anywhere.
The subfolder 'build' has another folder 'sleepyhead' with many files and the executable SleepyHead 9.8.1 which gives the error.
Placing an empty file named BrokeGL anywhere does nothing (rebooting does not help).

Merry Christmas to all!

User avatar
palerider
Posts: 32300
Joined: Wed Dec 16, 2009 5:43 pm
Location: Dallas(ish).

Re: SleepyHead 0.9.8-1 Testing Builds

Post by palerider » Thu Dec 25, 2014 2:27 pm

Guest wrote:
palerider wrote:
Guest wrote: So where can I find the '"-BrokenGL" build?
in the sleepyhead directory, create a empty filed name BrokenGL and rebuild from scratch
it does not work for me.

/home has 'sleepyhead-code' which has 6 folders and 9 files . No 'BrokenGL' file anywhere.
The subfolder 'build' has another folder 'sleepyhead' with many files and the executable SleepyHead 9.8.1 which gives the error.
Placing an empty file named BrokeGL anywhere does nothing (rebooting does not help).
yes, sorry, I gave you bad directions before, I've updated the post above, please try that.

_________________
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: S9 VPAP Auto
Last edited by palerider on Sun Dec 28, 2014 1:36 am, edited 1 time in total.
Get OSCAR

Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.

User avatar
archangle
Posts: 9294
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead 0.9.8-1 Testing Builds

Post by archangle » Fri Dec 26, 2014 7:02 pm

There seems to be something squirrelly in the process of OpenGL/BrokenGL. Maybe I'm just missing something obvious.

I created multiple directories to work with building SH. I managed to get BrokenGL to build in one directory, but now I can't get it to stop doing BrokenGL.

I created another "fresh git" directory tree and can't get it to build BrokenGL.

When it works, I can fire up SleepyHead and it does identify as "BrokenGL" in the "help" info, or as "OpenGL" if appropriate.

Palerider, have you built the BrokenGL version and can you get it to switch back and forth from Broken to Open?

If so, where do you put the BrokenGL file? sleepyhead-code or sleepyhead-code/sleepyhead

Do you do something like
$ git clone git://git.code.sf.net/p/sleepyhead/code sleepyhead-code

$ cd sleepyhead-code
$ touch BrokenGL

$ qmake
$ make

I've also tried putting BrokenGL and running qmake in the sleepyhead-code/sleepyhead directory.

It does look like qmake is part of the process after adding or removing the BrokenGL file.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.