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 compilation error #245

Closed
matkuki opened this issue Aug 5, 2017 · 6 comments
Closed

Windows compilation error #245

matkuki opened this issue Aug 5, 2017 · 6 comments

Comments

@matkuki
Copy link

matkuki commented Aug 5, 2017

Trying to compile sample01_welcome.nim throws:

...\.nimble\pkgs\nimx-0.1\nimx\assets\web_url_handler.nim(77, 17) Error: undeclared field: 'statusCode'

Windows Vista x64
Nim: devel-0.17.1 with mingw (x86)

@yglukhov
Copy link
Owner

Looks like async_http_request is outdated.

nimble install -y https://github.com/yglukhov/async_http_request

@matkuki
Copy link
Author

matkuki commented Aug 13, 2017

Thanks @yglukhov ,
but now I get:
....nimble\pkgs\nimx-0.1\nimx\view_event_handling.nim(8, 8) Error: method is not a base

Any ideas?

@yglukhov
Copy link
Owner

@matkuki, try compiling the main.nim from samples. AFAIR, compiling individual sample files doesn't work for some reason.

@matkuki
Copy link
Author

matkuki commented Aug 14, 2017

Tried compiling main.nim, now the error is:

....nimble\pkgs\nimx-0.1\nimx\cursor.nim(70, 42) Error: undeclared identifier: 'SystemCursor'

@yglukhov
Copy link
Owner

That's coming from old sdl2 i suppose.

nimble install -y sdl2

@matkuki
Copy link
Author

matkuki commented Aug 14, 2017

Great! That did it!
Thanks @yglukhov

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