I am facing the following issue. I have the [following 
code](https://github.com/mantielero/occt.nim/blob/352519ae04c28ee87fdb1dc7186628c139d47cde/src/wrapper/ex01.nim):
 
    
    
    {.experimental: "codeReordering".}
    {.experimental: "callOperator".}
    include tkmath/tkmath, tkernel/tkernel
    
    let
      myWidth = 50.0
      myThickness = 20.0
      myHeight = 70.0
      aPnt1 = newPnt( (25.0).cfloat, (2.0).cfloat, (3.0).cfloat ) 
#newPnt((-myWidth / 2.0).cfloat, (0.0).cfloat, (0.0).cfloat)
    
    echo aPnt1.x
    
    
    Run

where `newPnt` is [defined 
as](https://github.com/mantielero/occt.nim/blob/352519ae04c28ee87fdb1dc7186628c139d47cde/src/wrapper/tkmath/gp/gp_pnt.nim#L28_L29):
 
    
    
    proc newPnt*(xp: cfloat; yp: cfloat; zp: cfloat): Pnt {.cdecl, constructor,
        importcpp: "gp_Pnt(@)", dynlib: tkmath.}
    
    
    Run

When compiling: 
    
    
    nim cpp ex01
    
    
    Run

it is generating the following: 
    
    
    /home/jose/.cache/nim/ex01_r/@mex01.nim.cpp: En la función ‘void 
NimMainModule()’:
    /home/jose/.cache/nim/ex01_r/@mex01.nim.cpp:125:30: error: no se puede 
encontrar un operador literal numérico ‘operator""f.Dl_469764797_’
      125 |         aPnt1_ex4849_17409 = 25.0f.Dl_469764797_(2.0f, 3.0f);
          |                              ^~~~~~~~~~~~~~~~~~~
    /home/jose/.cache/nim/ex01_r/@mex01.nim.cpp:127:58: error: ‘class gp_Pnt’ 
has no member named ‘Dl_469764830_’
      127 |         T1_[0] = 
dollar__ex4849_17419(aPnt1_ex4849_17409.Dl_469764830_());
          |                                                          
^~~~~~~~~~~~~
    
    
    Run

What am I missing?

Reply via email to