Any ideas? - thanks.
    
    
    # nim 0.14.2
    nimble install -y nimx
    nim c -r --noMain --threads:on --colors:off testnimx.nim
    
    
    # File: testnimx.nim
    import nimx.window
    import nimx.text_field
    
    proc startApp() =
        # First create a window. Window is the root of view hierarchy.
        var wnd = newWindow(newRect(40, 40, 800, 600))
        
        # Create a static text field and add it to view hierarchy
        let label = newLabel(newRect(20, 20, 150, 20))
        label.text = "Hello, world!"
        wnd.addSubview(label)
    
    # Run the app
    runApplication:
        startApp()
    
    
    
    Hint: class_registry [Processing]
    /home/lee/.nimble/pkgs/nimx-0.1/nimx/view.nim(312, 14) template/generic 
instantiation from here
    /home/lee/.nimble/pkgs/nimx-0.1/nimx/class_registry.nim(48, 25) 
template/generic instantiation from here
    /home/lee/.nimble/pkgs/nimx-0.1/nimx/class_registry.nim(31, 32) 
template/generic instantiation from here
    /home/lee/.nimble/pkgs/variant-0.1.0/variant.nim(29, 46) Error: no generic 
parameters allowed for ref
    
    

Reply via email to