LIBOL / SOL

Library for Scalable Online Learning
http://sol.stevenhoi.org
Other
97 stars 38 forks source link

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

Open tonetto opened 6 years ago

tonetto commented 6 years ago

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 commented 6 years ago

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 commented 5 years ago

I got the same error. Any solution?

shahryarabaki commented 5 years ago

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

jackliu333 commented 5 years ago

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 commented 5 years ago

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

lailvlong commented 5 years ago

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