yglukhov / nimx

GUI library
MIT License
1.1k stars 75 forks source link

Cannot build tests on Mac OS X #320

Closed Peter2121 closed 6 years ago

Peter2121 commented 6 years ago

Trying to follow the procedure Running nimx samples to build tests, I get an error from XCode:

MacBook-Pro-de-Peter:test peter$ /Users/peter/.nimble/bin/nake 
No task specified, running default task defined by nakefile.
Build settings from command line:
    SDKROOT = macosx10.13
    SYMROOT = build

xcodebuild: error: 'Xcode/SDL/SDL.xcodeproj' does not exist.
MacBook-Pro-de-Peter:test peter$ pwd
/Users/peter/.nimble/pkgs/nimx-0.1/test
Peter2121 commented 6 years ago

Sorry, I did not see the requirement - SDL2 (it would be nice to put it to the README.md of the project). I can go one step ahead, but there is still an error during the build: /Users/peter/.nimble/pkgs/variant-0.2.7/variant.nim(66, 46) Error: undeclared identifier: 'nnkTupleConstr'

Peter2121 commented 6 years ago

The same error trying to build helloworld.nim

yglukhov commented 6 years ago

Can you try with the latest nim devel please?

yglukhov commented 6 years ago

Fixed in variant. Please update.

nimble install -y variant
Peter2121 commented 6 years ago

I cannot install the Git version: lib/pure/future.nim(2, 15) Error: list of key:value pairs expected ...after ./koch tools (following the web site procedure) The version I use is 0.18.0, installed using brew