yglukhov / nimx

GUI library
MIT License
1.09k stars 75 forks source link

nake ios-sim returns error #338

Closed kdheepak closed 5 years ago

kdheepak commented 5 years ago

Hi @yglukhov

I get a really long error when I run nake io-sim from the root directory of this repo.

      Infix
        Ident "=="
        Ident "top"
        Ident "super"
      Infix
        Ident "=="
        Ident "bottom"
        Ident "super"
      Infix
        Ident "=="
        Ident "width"
        IntLit 200
result:
let layout_Label_1_20 = new(Label)
init(layout_Label_1_20, zeroRect)
addSubview(result, layout_Label_1_20)
addConstraintWithStrength(result, selfPHS.top == superPHS.top, REQUIRED)
addConstraintWithStrength(result, selfPHS.bottom == superPHS.bottom, REQUIRED)
addConstraintWithStrength(layout_Label_1_20, selfPHS.leading == superPHS.leading,
                          REQUIRED)
addConstraintWithStrength(layout_Label_1_20,
                          selfPHS.trailing == superPHS.trailing, REQUIRED)
addConstraintWithStrength(layout_Label_1_20, selfPHS.top == superPHS.top, REQUIRED)
addConstraintWithStrength(layout_Label_1_20, selfPHS.bottom == superPHS.bottom,
                          REQUIRED)
addConstraintWithStrength(layout_Label_1_20, selfPHS.width == 200, REQUIRED)
main.nim(88, 1) template/generic instantiation from here
../nimx/private/windows/sdl_window.nim(453, 12) template/generic instantiation from here
../nimx/linkage_details.nim(5, 20) Error: Please run Nim with --noMain flag.

Any idea what is going on here?

yglukhov commented 5 years ago

Should be fixed with #343