Open trou opened 9 years ago
First of, thanks for giving pcbre a go. It being a huge pain to install is unfortunately a known issue - but one I'm very interested in fixing!
Comments inline:
the readme does not clearly state that Python 3 is needed
Good catch, I'll update this
apt-get install libcapnp-dev python3-numpy python3-scipy libgeos-dev python3-mock python3-pyside cython3 libpotrace-dev libagg-dev
cover most dependancies
Thanks, I'll add this to the README, along with the libraries below
your fork of
pypotrace
where you changed "agg_pic" to "agg" insetup.py
breaks compilation on Debian
Hmm, good point. I'd forgotten I had to do this - the main point of the fork was Python3 compatibility. This was due to some kind of Gentoo issue. I'll back it out and look for a better fix.
pycapnp doesn't find
schema.capnp
when installing, PYTHONPATH must be modified by hand
Now thats a bit odd. Do you mean that schema.capnp
doesn't get installed into pcbre.model.serialization
? I'll get a debian VM up and check this out
opencv-2 doesn't have python3 bindings, one must install opencv-3 to have python3 bindings.
Yes - I'm using cv3. Does debian have an opencv3 package?
For pycapnp I'm not really sure of what's going on. I've been messing with it so it may be my fault.
Debian has no opencv3 package, I compiled it from source.
Hi,
I also really enjoyed your presentation at Recon! Here are my notes from installing pcbre on OS X:
spatialindex
, libagg
, capnp
, potrace
, geos
)rtree
, pycapnp
, pyopengl
)pypotrace
to use setuptools, but it otherwise installed cleanly.rtree
version is out of sync with spatialindex
, you will get some moderately obscure runtime errors.I ran into a few issues with OpenGL support. Some of these might merit a separate issue:
glimports.py
module tries to load libGL.so
, which doesn't exist on OS X. Those imports don't seem to be used anymore, so I just commented them out.glDrawElementsInstancedBaseInstance
which is introduced in version 4.2. I was able to get things mostly running by switching the calls to use the non-BaseInstance version.@deactivated: how did you patch PyQt4? I was able to make it work with PySide by patching Qt4 itself, but that's quite annoying.
@balr0g I manually applied this patch from prideout/coregl-python/pyqt-hacks to a recent version of PyQt4.
It's also possible to build PyQt4 directly against Qt 5—I tried that, and it solves the OpenGL profile issue, however the UI was a bit buggy, and I couldn't tell which issues were related to Qt 5 and which were in pcbre.
Hello, first, thank you for your presentation at Recon which was really cool. Also thanks for releasing this tool.
I am mainly opening this issue to document the problems that I have when trying to install pcbre on Debian sid :
apt-get install libcapnp-dev python3-numpy python3-scipy libgeos-dev python3-mock python3-pyside cython3 libpotrace-dev libagg-dev
cover most dependanciespypotrace
where you changed "agg_pic" to "agg" insetup.py
breaks compilation on Debianschema.capnp
when installing, PYTHONPATH must be modified by handOnce most libraries are installed :
rtree
andopengl
module are missing, fix with :THEN pcbre starts :)
Note that
python3-opengl
from Debian does not work.