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

New computer - back to building OSCAR
#1
New computer - back to building OSCAR
Old laptop motherboard died.  Ran for 3 weeks on a Raspberry Pi 4.  Finally my new laptop arrived!  Nice new, fast machine.  Lots of cores.  So to build OSCAR again.
Installed the dependencies.  (Still Ubuntu 20.04.1 LTS)  Did a fresh git clone.  Build fails Sad

Code:
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:2186: intellipap_loader.o] Error 1
Code:
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code/oscar -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mseries_loader.o ../../OSCAR-code/oscar/SleepLib/loader_plugins/mseries_loader.cpp
../../OSCAR-code/oscar/SleepLib/loader_plugins/intellipap_loader.cpp: In function ‘bool load6HighResData(const QString&)’:
../../OSCAR-code/oscar/SleepLib/loader_plugins/intellipap_loader.cpp:1450:37: error: taking address of packed member of ‘DV6_R_REC’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1450 |             flow->AddWaveform(ti,R->breath,50,2000);
     |                                  ~~~^~~~~~

Any clues?  I'm not even using the intellipap machine.
Post Reply Post Reply






Donate to Apnea Board  
#2
RE: New computer - back to building OSCAR
Are you building within Qt Creator or using the command line?
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Beginner's Guide to Sleepyhead and OSCAR
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
RE: New computer - back to building OSCAR
Oops! You're hitting a difference in compiler warnings. That error is in the new DeVilbiss support code. I'll fix it ASAP and let you know when there is new source code to test compile.
The current version of OSCAR is 1.2.0.  We recommend upgrading from any earlier version.

Useful links
Download OSCAR
Best way to organize charts
How to attach charts to your post

Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#4
RE: New computer - back to building OSCAR
ok, fix to intellipap loader has been merged. Please try again and let me know if there are any other errors.
The current version of OSCAR is 1.2.0.  We recommend upgrading from any earlier version.

Useful links
Download OSCAR
Best way to organize charts
How to attach charts to your post

Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply






Donate to Apnea Board  
#5
Thumbsup 
RE: New computer - back to building OSCAR
Thumbs up!  Built with no problem.  Thanks  like
Post Reply Post Reply
#6
RE: New computer - back to building OSCAR
On Xubuntu 20.04.1 (Ubuntu with xfce GUI), it also works.
From France. English spoken. Equipped since end of 2009. Currently RedMed S9.
Linux user since 2009 --> current main distribution : Xubuntu 18.04
LUG (named ALDIL) Member since 2015. certifications : ITIL © and ISTQB©


Post Reply Post Reply
#7
RE: New computer - back to building OSCAR
To build an installation package for Ubuntu, does one mkDistDeb.sh?  I really didn't understand the instructions in BUILD_Linux.md.  From where does one invoke this?  There is a notice to not cruft up things, but no guidance how to avoid it.  I created a folder Packages under Apps/OSCAR.  So from /Apps/OSCAR/Packages I would invoke $ ../OSCAR-code/Building/Linux/mkDistDeb.sh ?

These newer releases of Ubuntu make it very hard to manually create  a working desktop launcher.  Creating launchers was easy even 6 months ago.  All the online instructions don't work anymore as the option in the right click menu is gone.  I have 20.04.1 LTS.
Post Reply Post Reply






Donate to Apnea Board  
#8
RE: New computer - back to building OSCAR
When I build packages, I created a Packages folder, as you did, and then copied all the files in Building/Linux into it. They don't change very often, so I just leave them there. Then in Packages I do "./mkdistDeb.sh Ubun18" - as I build an 18.04 version, then do some tinkering to change a library dependency for 20.04 (I don't really like 20.04, so I've stayed with 18.04 for building.

I usually use Debian Buster/testing as my regular desktop, though.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#9
RE: New computer - back to building OSCAR
Where can I find fpm?  

mkDistDeb.sh fails fpm: command not found.  

fpm isn't in the regular Ubuntu 20.04 repository.  I found a repo on github, but not sure if there are various versions.

This newer version of Ubuntu 20.04.1 is getting on my nerves.  Don't care for Gnome 3.36.8
Post Reply Post Reply
#10
RE: New computer - back to building OSCAR
From my notebook (I'll add it to the building file):

apt install ruby ruby-dev -- this will add a lot of stuff
gem install --no-document fpm --- this will do a lot of stuff

That should do it; sorry about the omission
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply






Donate to Apnea Board  


Possibly Related Threads...
Thread Author Replies Views Last Post
  I'm back...and looking for some new baseline help GrantT 1 69 02-19-2021, 03:52 PM
Last Post: GrantT
  Oscar to an older computer EeVee 29 679 01-01-2021, 06:23 PM
Last Post: midwestguy
  Computer Monitor Display mawaw1992 11 274 01-01-2021, 12:07 AM
Last Post: Bglogo
  How transfer Resscan data to new computer jcarerra 19 6,956 10-17-2020, 06:45 AM
Last Post: hensem
  Building OSCAR Ubuntu 20.04 happydreams 24 537 10-10-2020, 09:00 AM
Last Post: happydreams
  Installing OSCAR on Second Computer SideSleeper 2 175 09-16-2020, 06:49 PM
Last Post: SideSleeper
  Can Anyone Help A Computer (Nearly) Illiterate? PerChancetoDream 9 436 09-01-2020, 06:52 PM
Last Post: SarcasticDave94


New Posts   Today's Posts






About Apnea Board

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