SOL
SOL copied to clipboard
C class 'SOL' is declared but not defined
I'm trying to build it but it's failing in python setup.py build
Here are the logs for the error as well as conda list
Here are steps I used to fix this problem:
- Copy declaration of SOL class and variables in pyx file to pxd file
- Comment variables declaration of SOL class in pyx file
- Try python setup.py build following the guidance
I got the same error. Any solution?
@cuongpxu Thanks for your solution. It worked for me.
May I know if the solution works for MacOS as well? @cuongpxu I followed the solution but met the error below: function definition in pxd file must be declared 'cdef inline'
@cuongpxu thanks for your solution, it works for me !
@jackliu333 Just copy the variables of the class SOL, not the whole class.