Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C class 'SOL' is declared but not defined #9

Open
tonetto opened this issue May 25, 2018 · 6 comments
Open

C class 'SOL' is declared but not defined #9

tonetto opened this issue May 25, 2018 · 6 comments

Comments

@tonetto
Copy link

tonetto commented May 25, 2018

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

@ghost
Copy link

ghost commented Aug 24, 2018

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

@shahryarabaki
Copy link

I got the same error. Any solution?

@shahryarabaki
Copy link

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

@jackliu333
Copy link

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'

@lailvlong
Copy link

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

@lailvlong
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants