SOL icon indicating copy to clipboard operation
SOL copied to clipboard

C class 'SOL' is declared but not defined

Open tonetto opened this issue 6 years ago • 6 comments

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

error.log conda.list.log

tonetto avatar May 25 '18 15:05 tonetto

Here are steps I used to fix this problem:

  1. Copy declaration of SOL class and variables in pyx file to pxd file
  2. Comment variables declaration of SOL class in pyx file
  3. Try python setup.py build following the guidance

ghost avatar Aug 24 '18 01:08 ghost

I got the same error. Any solution?

shahryarabaki avatar Jun 12 '19 07:06 shahryarabaki

@cuongpxu Thanks for your solution. It worked for me.

shahryarabaki avatar Jun 12 '19 19:06 shahryarabaki

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'

jackliu333 avatar Aug 25 '19 13:08 jackliu333

@cuongpxu thanks for your solution, it works for me !

lailvlong avatar Sep 24 '19 02:09 lailvlong

@jackliu333 Just copy the variables of the class SOL, not the whole class.

lailvlong avatar Sep 24 '19 02:09 lailvlong