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
(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
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
(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
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
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

Thanks Pholynyk. I recompiled using v0.9.8 and it now works fine.
Post Reply Post Reply


#37
try git remote set-url origin http://gitlab.jedimark.net/code/sleepyhead.git

then git pull and make
Post Reply Post Reply
#38
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
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
Idea SleepyHead and Linux MartinT 11 506 12-30-2016, 11:35 AM
Last Post: Crimson Nape
  did Linux corrupt my SD card? AirPlease 6 953 09-23-2016, 02:06 AM
Last Post: zagam
  SleepyHead and Linux Mint 17.3 (Ubuntu 14.04) necochino 4 449 08-21-2016, 07:16 PM
Last Post: pholynyk
  Oximetry - Do any of the pulse oximeters work with linux? happydreams 47 5,959 07-17-2016, 08:31 AM
Last Post: johanh
  SleepyHead 1.0.0 Linux kazoni 23 1,776 05-23-2016, 03:36 PM
Last Post: palerider
  Add Linux download to the Sleep Files site hfinger 11 1,323 01-13-2016, 05:48 PM
Last Post: DariaVader
  SleepyHead and Linux Sleepster 31 6,676 05-02-2014, 08:45 AM
Last Post: SnuffySleeper

Forum Jump:

New Posts   Today's Posts




About Apnea Board

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

For any more information, please use our contact form.