@shashlick I just tried it **nim c -d:modbusGit modbus.nim** on Windows and 
get: 
    
    
    Hint: plugin [Processing]
    Hint: paths [Processing]
    Hint: types [Processing]
    # Setting up Git repo: https://github.com/stephane/libmodbus
    # Pulling repository
    stack trace: (most recent call last)
    ...\.nimble\pkgs\nimterop-0.1.0\nimterop\build.nim(575, 32)
    ...\.nimble\pkgs\nimterop-0.1.0\nimterop\build.nim(497, 11) buildLibrary
    C:\Nim\lib\system\assertions.nim(27, 20) failedAssertImpl
    C:\Nim\lib\system\assertions.nim(20, 11) raiseAssert
    C:\Nim\lib\system\fatal.nim(39, 5) sysFatal
    C:\libmodbus_test\modbus.nim(11, 10) template/generic instantiation of 
`getHeader` from here
    C:\Nim\lib\system\fatal.nim(39, 5) Error: unhandled exception: 
...\.nimble\pkgs\nimterop-0.1.0\nimterop\build.nim(497, 12) `cmakeDeps or 
conDeps`
    # Build configuration failed - No build files found in 
C:\libmodbus_test\build\libmodbus
     [AssertionError]
    Press any key to continue . . .
    
    
    Run

Plus, the _libmodbus_ source gets cloned into the _nimterop_ nimble directory.

Reply via email to