attardi / deepnl

Deep Learning for Natural Language Processing
GNU General Public License v3.0
457 stars 116 forks source link

Undefined reference to `hpca::cooccurrence_matrix #22

Closed bratao closed 8 years ago

bratao commented 8 years ago

Hello,

Compiling with Mingw I get this error:

build\temp.win32-2.7\Release\deepnl\hpca.o:HPCA.cpp:(.text+0x8d55): undefined reference to `hpca::cooccurrencematrix(char, char_, unsigned int, unsigned int)'

In fact, I can´t find any definition of this function.

Avmb commented 8 years ago

Isn't it defined there? That one has char * arguments though.

bratao commented 8 years ago

Oh, I understand. Because Windows is not case sensitive, Cython overwrites this file.

Avmb commented 8 years ago

I have sent a pull request to fix the issue.