Comments (4)
Huh, maybe a cygwin-specific thing... @LarsHaack are you able to look into that?
from odr-dabmod.
Command line argument parsing has a general issue in the cygwin build.
The call to getopt() does not detect any valid arguments if you start the command line with the input filename.
cygwin's getopt() implementation stops parsing after the first 'non-option' argument. From what I read this seemed to be the standard behavior of getopt() in all initial implementations.
To allow non-option arguments not only at the and of the arguments is an extension that is available in Linux but not in cygwin.
For the current cygwin build it means you have to give the input filename as the last command line argument.
$ ./odr-dabmod.exe -f /dev/null test.eti
Works for me.
Input
Type: file
Source: test.eti
Output
Name: /dev/null
Sampling rate: 2.0480 MHz
Configuration parsed. Starting up version v2.4.1-3-gb977837
ERROR Could not set priority for modulator:134
Setting up timestamp decoder with 0 offset
Input file format: raw, length: 30720000, nb frames: 5000
End of file reached.
modulator stopped.
Unfortunately I have no idea how to get the expected behavior into the cygwin world.
from odr-dabmod.
Thanks for your insight! Maybe the variant we use is a GNU variant, different from POSIX.
We could "fix" this by updating the help screen and documentation, I don't think it's worth investing a lot of time into this.
from odr-dabmod.
I've successfully switched to Windows Subsystem for Linux, so I close this issue as I'm no more interested in Cygwin.
It works like a charm in WSL2. I can create RAW-files from ETI-Files and do not need to reboot to Linux.
from odr-dabmod.
Related Issues (20)
- adalm pluto support HOT 5
- zmqctrlendpoint not support hostname. HOT 2
- Raspberry 3 configure error - hint HOT 5
- EEP b protection levels HOT 1
- Output file s16 seems corrupt HOT 6
- DAB with protection level EEP_A HOT 1
- reduced footprint for Docker (separate build without libuhd-dev) HOT 3
- Modulator reverts to idle HOT 4
- Configuring with EDI input - strange warning message HOT 1
- can't compile in cygwin HOT 9
- configure: error: Could not link against boost_thread ! HOT 4
- ODR-DabMod - 0 DAB frames encoded HOT 3
- odr-dabmod with netcat or socat does not work HOT 6
- Build not working HOT 8
- remotecontrol requires de-selected zeromq HOT 1
- DC spike HOT 7
- Time is Transmitted without local offset HOT 2
- No ctrl+c possible when no data received
- Poor u8 support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odr-dabmod.