imposm-parser icon indicating copy to clipboard operation
imposm-parser copied to clipboard

Can't install on Win 8 x86_64

Open jimdi opened this issue 11 years ago • 2 comments

Get this error

"Setup script exited with error: can't copy 'imposm\parser/pbf\osm.pb.cc': doesn't exist or not a regular file"

when install imposm.parser with easy_install

I have protobuf installed with pip, win32 binaries of protobuf, mingw build from pythonxy and correct PATH to use compiler and protobuf binary

jimdi avatar Sep 06 '13 11:09 jimdi

I also have this problem, I want to know how to solve this problem

shikanon avatar Oct 26 '14 09:10 shikanon

Hi there, I had the same problem. There seems to be problem while building extension. My solution was to download the libprotobuf source build .lib and specify include dir. add this section to setup.cfg w/ correct paths :

[build_ext]
include_dirs=..\protoc\src
library_dirs=..\protoc\vsprojects\Release
  • note if building in VS it ll generate libprotobuf.lib but setup needs protobuf.lib so you either rename it or change output target in the project.
  • note 2 i would suggest authors to add this kind of info to doc :)

petr-s avatar Dec 15 '14 08:12 petr-s