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
#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.
Useful links
Download OSCAR (current version is 1.5.1)
Best way to organize charts
How to attach charts to your post

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
#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
#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.
Useful links
Download OSCAR (current version is 1.5.1)
Best way to organize charts
How to attach charts to your post

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
#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
Angry Unable to fully open OSCAR on Windows PC martinmclellan504 4 373 10-21-2024, 10:30 AM
Last Post: martinmclellan504
  A couple of hints for building OSCAR on Windows chrisxkeith 1 226 10-15-2024, 11:37 AM
Last Post: Crimson Nape
  F12 not workding on Windows 10 GeorgeGus 3 386 06-27-2024, 05:46 PM
Last Post: Narcil
  OSCAR Windows Portable No-Install CraigKevin 18 3,732 05-26-2024, 03:19 PM
Last Post: hmcb2b
  OSCAR can't find data on SD card [solved, see post #24] brucewtb 22 3,974 05-17-2024, 08:53 PM
Last Post: mokeefe734
  OSCAR Install Problems on Win 11 Pro [SOLVED, post #36] chzuck 35 2,959 05-08-2024, 11:14 AM
Last Post: chzuck
  multiple windows ? zaienk 4 656 01-17-2024, 07:15 AM
Last Post: zaienk


New Posts   Today's Posts


About Apnea Board

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