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

Build errors while trying to debug OSCAR in Qt on Windows 10 [resolved, see Post #19]
#21
RE: Build errors while trying to debug OSCAR in Qt on Windows 10.
Success! I can confirm that Sawinglogz's solution works for me too. Thanks heaps.
Post Reply Post Reply






Donate to Apnea Board  
#22
RE: Build errors while trying to debug OSCAR in Qt on Windows 10.
I note, however, that BUILD-WIN.md also says that if you select “Git from the command line and also from 3rd-party software,” you will need to install Gawk separately, so I assume that this is what I must do now.
Post Reply Post Reply
#23
RE: Build errors while trying to debug OSCAR in Qt on Windows 10.
(04-23-2020, 10:50 PM)Scarmen Wrote: I note, however, that BUILD-WIN.md also says that if you select “Git from the command line and also from 3rd-party software,” you will need to install Gawk separately, so I assume that this is what I must do now.

No, that should not be necessary.  Deploy.bat should accommodate either having gawk or not having it.

Code:
:::
::: If gawk.exe is in the PATH, use it.  If not, add Git mingw tools (awk) to path. They cannot
::: be added to global path as they break CMD.exe (find etc.)
where /q gawk.exe || set PATH=%PATH%;%ProgramW6432%\Git\usr\bin

Originally, a separate installation of gawk was required, but only because I was used to that (I've used awk for decades).  But I later modified the deploy file to see if gawk.exe was in the PATH.  If it is, it is used.  Otherwise the one that comes with git is used.
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
#24
RE: Build errors while trying to debug OSCAR in Qt on Windows 10.
(04-23-2020, 10:56 PM)GuyScharf Wrote: No, that should not be necessary.  Deploy.bat should accommodate either having gawk or not having it.

BUILD-WIN says that "The deployment batch file assumes that gawk.exe is in your PATH, so either add c:\\Program Files (x86)\\gnuwin32\\bin to your PATH or copy the executables to some other directory already in your PATH."

(04-23-2020, 10:56 PM)GuyScharf Wrote: [code]:::
::: If gawk.exe is in the PATH, use it.  If not, add Git mingw tools (awk) to path. They cannot
::: be added to global path as they break CMD.exe (find etc.)

Reading the above, I definitely will not be adding the Gnuwin32 folder to my PATH, or I'll just keep getting build errors.
Post Reply Post Reply






Donate to Apnea Board  
#25
RE: Build errors while trying to debug OSCAR in Qt on Windows 10.
I am sorry about the glitches in the BUILD-WIN.md file.  I really had to fumble my way to creating a reliable Windows build environment, in the lack of any existing documentation.  I apparently didn't clean up everything in the build documentation after I got it working reliably.  Fortunately, sawinglogz is updating the documentation.
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
#26
RE: Build errors while trying to debug OSCAR in Qt on Windows 10 [resolved, see Post #19]
No worries. This is the sort of thing I used to do professionally. Reproducibility was an essential feature of our work, and boy is it easier now that we have VMs and snapshots!
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  EncorePro 2 password locked [unlock utility in post #3] KSMike 27 6,953 10-20-2020, 01:33 PM
Last Post: SuperSleeper
  OSCAR won't accept password [resolved, see posts #3 & 4] JenniferJuniper 4 109 10-02-2020, 05:31 PM
Last Post: JenniferJuniper
  ResScan 6.1 [now available, see post #2] nawolfor 10 523 09-25-2020, 08:01 PM
Last Post: edfreeman
  ResScan 5.9 Failed to Apply Settings error [resolved, see post #2] jamesj 3 138 09-15-2020, 11:11 AM
Last Post: jamesj
  Dreamstation DSX500 sdcard not visible in Oscar [solved, see post #6] Ryne 5 167 09-02-2020, 04:41 AM
Last Post: Ryne
  OSCAR not saving data [solved, see post #18] mjrPdqkLguUgGLE 19 283 08-13-2020, 10:03 AM
Last Post: GuyScharf
  Can't import to OSCAR anymore? [no longer an issue, see post #11] JenniferJuniper 13 393 08-12-2020, 01:20 PM
Last Post: BB63


New Posts   Today's Posts






About Apnea Board

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