-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build on Windows #469
Comments
You haven't provided enough information to confirm/deny this is a bug:
|
I apologize, I will provide them briefly. EDIT: Windows details (Windows version and if it's 32 or 64bit): |
Are you trying to compile Direwolf 1.6 (master GIT branch) or Direwolf 1.7G (DEV Git branch)? |
This clearly has something to do with the regular expression (regex) library. This seems to be the culprit: REGEX_VARIABLE_IMPEXP reg_syntax_t re_syntax_options; |
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, |
I will try that tomorrow, thank you. And that seems like the right fix. |
Any results? |
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. |
Issue resolved. No discussion for many months. |
I am trying to build Direwolf on Windows with cygwin. Compile succeeds, but link fails with multiple `re_syntax_options' redefinitions. Build log attached.
EDIT: here are my settings
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
Build log: log.txt
The text was updated successfully, but these errors were encountered: