Skip to content
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

Windows installation #33

Open
denklewer opened this issue Feb 9, 2021 · 1 comment
Open

Windows installation #33

denklewer opened this issue Feb 9, 2021 · 1 comment

Comments

@denklewer
Copy link

Hello, does your project support windows? have a lot of errors when trying to install using conda python 3.9.1 + latest visual studio

Error message below:

moods_parsers.cpp
core/moods_parsers.cpp(57): error C2146: syntax error: missing ')' before identifier 'or'
core/moods_parsers.cpp(57): error C2065: 'or': undeclared identifier
core/moods_parsers.cpp(57): error C2146: syntax error: missing ';' before identifier 'n'
core/moods_parsers.cpp(57): error C2059: syntax error: ')'
core/moods_parsers.cpp(58): error C2059: syntax error: 'return'
core/moods_parsers.cpp(61): error C2059: syntax error: 'for'
core/moods_parsers.cpp(61): error C2143: syntax error: missing ')' before ';'
core/moods_parsers.cpp(61): error C2143: syntax error: missing ';' before '<'
core/moods_parsers.cpp(61): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
core/moods_parsers.cpp(61): error C2059: syntax error: '++'
core/moods_parsers.cpp(61): error C2059: syntax error: ')'
core/moods_parsers.cpp(61): error C2143: syntax error: missing ';' before '{'
core/moods_parsers.cpp(61): error C2447: '{': missing function header (old-style formal list?)
core/moods_parsers.cpp(67): error C2059: syntax error: 'return'
core/moods_parsers.cpp(71): error C3861: 'read_table': identifier not found
core/moods_parsers.cpp(76): error C2146: syntax error: missing ')' before identifier 'or'
core/moods_parsers.cpp(76): error C2065: 'or': undeclared identifier
core/moods_parsers.cpp(76): error C2146: syntax error: missing ';' before identifier 'n'
core/moods_parsers.cpp(76): error C2059: syntax error: ')'
core/moods_parsers.cpp(77): error C2059: syntax error: 'return'
core/moods_parsers.cpp(80): error C2059: syntax error: 'for'
core/moods_parsers.cpp(80): error C2143: syntax error: missing ')' before ';'
core/moods_parsers.cpp(80): error C2143: syntax error: missing ';' before '<'
core/moods_parsers.cpp(80): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
core/moods_parsers.cpp(80): error C2059: syntax error: '++'
core/moods_parsers.cpp(80): error C2059: syntax error: ')'
core/moods_parsers.cpp(80): error C2143: syntax error: missing ';' before '{'
core/moods_parsers.cpp(80): error C2447: '{': missing function header (old-style formal list?)
core/moods_parsers.cpp(86): error C2059: syntax error: 'if'
core/moods_parsers.cpp(86): error C2143: syntax error: missing ';' before '{'
core/moods_parsers.cpp(86): error C2447: '{': missing function header (old-style formal list?)
core/moods_parsers.cpp(89): error C2059: syntax error: 'else'
core/moods_parsers.cpp(89): error C2143: syntax error: missing ';' before '{'
core/moods_parsers.cpp(89): error C2447: '{': missing function header (old-style formal list?)
core/moods_parsers.cpp(96): error C3861: 'read_table': identifier not found
core/moods_parsers.cpp(165): error C2653: 'tools': is not a class or namespace name
core/moods_parsers.cpp(165): error C3861: 'log_odds': identifier not found
core/moods_parsers.cpp(168): error C2059: syntax error: '}'
core/moods_parsers.cpp(168): error C2143: syntax error: missing ';' before '}'
core/moods_parsers.cpp(169): error C2143: syntax error: missing ';' before '}'
core/moods_parsers.cpp(169): error C2059: syntax error: '}'
@denklewer denklewer changed the title Windows instalation Windows installation Feb 9, 2021
@jhkorhonen
Copy link
Owner

Windows is not officially supported, as I don't have resources to make sure everything works on Windows.

That said, I think I've had reports of MOODS compiling on Windows, but that was probably with cygwin. I have no experience with Visual Studio, and without more details I can only speculate, but looks like MSVC doesn't like something in the code. I believe Visual Studio supports clang as compiler, so you may want to try with that instead, but I'm again speculating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants