I am getting the following error:
occt.nim/src/wrapper/tkernel/ncollection/ncollection_types.nim(11, 92) Error: undeclared identifier: 'StandardTransient'
which refers to the following line within ncollection-types.nim.
But I am importing the file import tkernel/standard/standard_types which defines StandardTransient. I am also using * to export it.
I am importing as follows:
- src/occt.nim
- src/wrapper/occt_wrapper
- src/wrapper/tkernel
- src/wrapper/tkernel/standard/standard_types
- src/wrapper/tkernel/ncollection/ncollection_types
- -src/wrapper/tkernel/standard/standard_types
Why am I getting the undeclared identifier? I bet I am not doing properly the imports but I don't know what
The issue seems to be that I should use the relative path when importing from ncollection_types:
import ../standard/standard_types