Apnea Board Forum - CPAP | Sleep Apnea
SleepyHead 1.0.0 Linux - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: SleepyHead 1.0.0 Linux (/Thread-SleepyHead-1-0-0-Linux)

Pages: 1 2 3 4


RE: SleepyHead 1.0.0 Linux - wubisnotanabbreviation - 05-22-2016

Also running LinuxMint 17.3, I'm glad to hear there's a pathway. Now all I need is a new laptop - mine is only supported up to OpenGL 1.4, and I understand 2.0 is the absolute minimum there.


RE: SleepyHead 1.0.0 Linux - palerider - 05-22-2016

I think the euphamistically named 'brokengl' version will work with that older opengl.


RE: SleepyHead 1.0.0 Linux - kazoni - 05-23-2016

(05-22-2016, 01:46 PM)wubisnotanabbreviation Wrote: Also running LinuxMint 17.3, I'm glad to hear there's a pathway. Now all I need is a new laptop - mine is only supported up to OpenGL 1.4, and I understand 2.0 is the absolute minimum there.

Easy enough. On the next to last command add
Code:
DEFINES+=BrokenGL

So...
Code:
$ sudo add-apt-repository ppa:beineri/opt-qt551-trusty
$ sudo apt-get update
$ sudo apt-get install qt55-meta-full
$ source /opt/qt55/bin/qt55-env.sh

$ cd ~
$ git clone https://gitlab.com/sleepyhead/sleepyhead-code.git sleepyhead-code
$ mkdir sleepyhead-build && cd sleepyhead-build
$ qmake ../sleepyhead-code/SleepyHeadQT.pro DEFINES+=BrokenGL
$ make



RE: SleepyHead 1.0.0 Linux - palerider - 05-23-2016

my current qmake line, to cut down on the flood of warnings:

qmake DEFINES+=BrokenGL QMAKE_CXXFLAGS_WARN_ON=-Wall\ -Wno-unused-parameter\ -Wno-unused-but-set-variable\ -Wno-unused-variable\ -Wno-narrowing -o Makefile SleepyHeadQT.pro

not that it matters... just makes the compile look a bit nicer Wink


RE: SleepyHead 1.0.0 Linux - mdhampton - 05-21-2018

OK, trying to build sleepyhead on Mac, getting webkitwidgets error. qt 5.10 installed via home-brew. Do I need to get 5.5?


RE: SleepyHead 1.0.0 Linux - pholynyk - 05-21-2018

Certainly 5.5 will include WebKit, I'm not sure if 5.6 includes WebKit by default. I'm not sure what's what on the Mac side.


RE: SleepyHead 1.0.0 Linux - mdhampton - 05-21-2018

I developed on Unix bad in the early to mid 80s, and from then on have been developing windows software. Got a Mac book pro to play around with, but the installation of things it a bit different than it was 35+ years ago... I tried to re-install qt with --with-qtwebkit. Let me search around to see if qt later than 5.5 supports it, and if so, how to get it installed.


RE: SleepyHead 1.0.0 Linux - mdhampton - 05-21-2018

OK, uninstalled qt10.1 or whatever, and installed qt 5.5 with:

brew install qt@5.5

Then had to edit bash config to point to new location:

echo 'export PATH="$(brew --prefix qt@5.5)/bin:$PATH"' >> ~/.bashrc

Now getting an error about undeclared fabs function, going to hunt down where that may have moved...


RE: SleepyHead 1.0.0 Linux - mdhampton - 05-21-2018

Simple #include "math.h", now to see if the other / base includes are nethack like in their complexity. 

And, sadly, at one time I understood netback source code and help add a holy handgrendade (bad idea to carry it around) and extra attacks for cat (two claw attacks).


RE: SleepyHead 1.0.0 Linux - jaswilliams - 05-21-2018

There is a prebuilt mac release of Sleepy head no need to build from source ?