Page 12 of 14

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Tue Dec 16, 2014 7:53 pm
by hawks4ever
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???

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Tue Dec 16, 2014 10:34 pm
by archangle
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?

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Mon Dec 22, 2014 8:43 am
by Guest
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

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Mon Dec 22, 2014 10:22 am
by palerider
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/

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Mon Dec 22, 2014 10:48 am
by Guest
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

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Mon Dec 22, 2014 11:05 am
by palerider
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/

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Mon Dec 22, 2014 11:19 am
by 182u5
Yes used:
'Qt Online Installer for Linux 32-bit (22.9 MB)'
And it is the latest Qt 5.4.0

Thanks

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Mon Dec 22, 2014 2:17 pm
by archangle
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.

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Mon Dec 22, 2014 2:20 pm
by palerider
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.

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Tue Dec 23, 2014 1:31 pm
by Guest
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

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Tue Dec 23, 2014 4:54 pm
by palerider
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

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Thu Dec 25, 2014 10:54 am
by Guest
palerider wrote:
Guest wrote: So where can I find the '"-BrokenGL" build?
in the sleepyhead directory,

> BrokenGL

ie, create a empty filed name BrokenGL

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Thu Dec 25, 2014 10:57 am
by Guest
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!

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Thu Dec 25, 2014 2:27 pm
by palerider
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.

Re: SleepyHead 0.9.8-1 Testing Builds

Posted: Fri Dec 26, 2014 7:02 pm
by archangle
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.