Comments (10)
Try this:
Edit external/regex/regex.h
Change from: REGEX_VARIABLE_IMPEXP reg_syntax_t re_syntax_options;
Change to: extern reg_syntax_t re_syntax_options;
Let me know how it goes.
73,
john WB2OSZ
from direwolf.
You haven't provided enough information to confirm/deny this is a bug:
- Windows details (Windows version and if it's 32 or 64bit)
- What version of Cygwin mingw? 32 or 64bit?
- What version of direwolf are you trying to compile?
- Did you install all the dependencies and environment variables for Windows compiling per https://github.com/wb2osz/direwolf/blob/dev/doc/User-Guide.pdf
from direwolf.
I apologize, I will provide them briefly.
EDIT:
Windows details (Windows version and if it's 32 or 64bit): Windows 11 21H2, 22000.1817, 64-bit
What version of Cygwin mingw? 32 or 64bit? 3.4.6, 64-bit
What version of direwolf are you trying to compile? 64-bit direwolf
Did you install all the dependencies and environment variables for Windows compiling per https://github.com/wb2osz/direwolf/blob/dev/doc/User-Guide.pdf yes, there are no failures due to missing dependencies
from direwolf.
Are you trying to compile Direwolf 1.6 (master GIT branch) or Direwolf 1.7G (DEV Git branch)?
from direwolf.
This clearly has something to do with the regular expression (regex) library.
On Linux, direwolf uses the version of regex supplied by the operating system.
A copy of regex is included for use on Windows where it does not exist.
The error message mentions duplicate definition of something from the regex library
I have Windows 10 here, and the versions of cygwin and mingw are not up to date.
This seems to be the culprit: REGEX_VARIABLE_IMPEXP reg_syntax_t re_syntax_options;
Maybe something about multiple definitions of the same external variable has changed.
from direwolf.
I will try that tomorrow, thank you. And that seems like the right fix.
from direwolf.
Any results?
from direwolf.
Hi @wb2osz, that worked! And tested that Direwolf works.
@wb2osz, one other question, I assume that MSVC is not supported anymore? I see references to it in the CMake build scripts, but the C code itself is written in a way that would not compile with MSVC.
from direwolf.
I'm glad to hear that you were able to build it OK.
The cmake scripts were provided by someone else and they have extra stuff, from other projects, in there that we really don't need.
I've only tried using gnu and clang compilers to make portability easier.
I have no idea how much effort would be needed to make direwolf build with MSVC.
It probably wouldn't be too horrible because it is using the windows header files and C runtime API.
Compiler options would definitely need to be changed.
from direwolf.
Issue resolved. No discussion for many months.
from direwolf.
Related Issues (20)
- Document missing requirement for CM108 on Linux
- Incorrect files inside of version 1.7 October 2023 Windows Zip file HOT 1
- Record and report the heard station level above the noise floor
- Is the 9600bps walkabout9600b.wav recording available anywhere? HOT 1
- Error writing to /sys/class/gpio/export, GPIO failure HOT 17
- Successful-APRS-IGate-Operation.pdf not available HOT 3
- AX.25/IL2P Switch HOT 5
- [Enhancement] IL2P CRC Extension. HOT 4
- [Enhancement] Raw HDLC stream driver HOT 1
- INVALID CHANNEL is cryptic HOT 2
- ACHANNELS 1 hides a channel of the next device HOT 3
- Enhancement: Don't complain about background noise HOT 1
- RFE: Look for `direwolf.conf` in `XDG_CONFIG_HOME/direwolf`
- BLE KISS Support HOT 2
- direwolf program cannot be opened HOT 1
- ACHANNELS 1 hides a channel of the next device (still)
- Check for any issues with 64 bit time_t on 32 bit platforms.
- Enable VFO definition for PTT via hamlib/rigctrld per channel
- Windows installation instructions in README need minor correction
- TBEACON gone wild
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 direwolf.