realitix / pyshaderc

Python CFFI binding for shaderc
Apache License 2.0
18 stars 5 forks source link

Fail to compile #1

Closed realitix closed 7 years ago

realitix commented 7 years ago

See https://github.com/google/shaderc/pull/310

realitix commented 7 years ago

@dneto0 Let's continue here

realitix commented 7 years ago

@dneto0 How did you compile shaderc_combined.a ? I have added -DCMAKE_C_FLAGS=-fpic -DCMAKE_CXX_FLAGS=-fpic during the cmake command. Maybe this is the problem.

Are you on Windows or Linux ? With a 32 or 64 bits machine ?

dneto0 commented 7 years ago

Works for me now. I tested it in a virtualenv. :-)