Hmm, for ordinary nim binaries RPATH is right, as expected given the gcc 
command that --listCmd show. Thanks.

It seems like with nimx nimble just fetches things, and the build is done by 
nake, so I now I suspect with nimx the culprit is nake. The nimx package says 
the samples should be run like this:
    
    
    cd $(nimble path nimx | tail -n 1)/test
    nake # Build and run on the current platform
    # or
    nake js # Build and run in default web browser
    

Unfortunately nake doesn't appear to honor ~/.config/nim.cfg settings. It's 
definitely building things (including NimxApp, which doesn't exist before the 
nake command), but doesn't show the GCC command even with --listCmd in nim.cfg. 
Seems like maybe 2 nake bugs: ignoring environment that nim normally honors, 
and somehow not honoring ~/.config/nim.cfg.

Hint: cpuload [Processing] Hint: unsigned [Processing] Hint: typeinfo 
[Processing] Hint: intsets [Processing]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(34, 34) Warning: SpriteImage 
is deprecated [Deprecated]|   
---|---  
/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(191, 21) Warning: 
SpriteImage|   
  
is deprecated [Deprecated]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(256, 17) Warning: 
SpriteImage|   
---|---  
  
is deprecated [Deprecated]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(259, 27) Warning: 
SpriteImage|   
---|---  
  
is deprecated [Deprecated]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(278, 44) Warning: 
SpriteImage|   
---|---  
  
is deprecated [Deprecated]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(289, 21) Warning: 
SpriteSheet|   
---|---  
  
is deprecated [Deprecated]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(289, 49) Warning: 
SpriteImage|   
---|---  
  
is deprecated [Deprecated]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(295, 56) Warning: 
SpriteImage|   
---|---  
  
is deprecated [Deprecated]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(157, 10) Hint: 
'image.initWithStream(i: SelfContainedImage, s: Stream)[declared in 
/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/image.nim(157, 9)]' is declared but not 
used [XDeclaredButNotUsed]|   
---|---  
  
Hint: glsl_codegen [Processing]

/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/context.nim(71, 6) Hint: 
'context.newShaderProgram(gl: GL, vs: string, fs: string)[declared in 
/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/context.nim(71, 5)]' is declared but 
not used [XDeclaredButNotUsed]|   
---|---  
/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/expanding_view.nim(119, 6) Hint: 
'expanding_view.stopDrag(v: ExpandingView, e: Event)[declared in 
/home/bkerin/.nimble/pkgs/nimx-0.1/nimx/expanding_view.nim(119, 5)]' is 
declared but not used [XDeclaredButNotUsed]|   
  
sample11_expanded_views.nim(40, 17) Hint: 'closeBttn' is declared but not used 
[XDeclaredButNotUsed] could not import: SDL_CaptureMouse Error: execution of an 
external program failed: './build/linux/NimxApp '

Reply via email to