wapiflapi / binglide

Visual reverse engineering tool. Veles is better, use it. Don't use this.
MIT License
585 stars 65 forks source link

documentation & instructions #1

Closed wapiflapi closed 9 years ago

wapiflapi commented 10 years ago

We should update the readme and add installation instruction for most use cases.

Especially for the requirements since they can be hard to install.

Killboy commented 10 years ago

Hi,

Nice work building this! I think these should be the (rough) install instructions for Fedora, I haven't verified after them after getting it working, python3-PyOpenGL package might not be required

cheers

git clone https://github.com/wapiflapi/binglide sudo yum -y install python3-pip python3-PyQt4 python3-PyOpenGL python3-numpy python3-scipy sudo pip-python3 install pyqtgraph cd ./binglide && \ sudo python3 setup.py install

wapiflapi commented 10 years ago

Thanks a lot! Adding this to the readme.

jnv commented 10 years ago

For Ubuntu 14.04 it seems that python3-pyqt4.qtopengl is missing a dependency for OpenGL module. It should be probably added to the installation instructions:

sudo apt-get install python3-pyqt4 python3-pyqt4.qtopengl python3-opengl
wapiflapi commented 10 years ago

Added, thanks!

dx0x58 commented 10 years ago

Hi, for Ubuntu 14.04 need also python3-scipy, at least for me.

jnv commented 10 years ago

@dx0x58 SciPy (and NumPy) should be automatically pulled in by pyqtgraph if you install it using pip3.

dx0x58 commented 10 years ago

@jnv I know, but after 'sudo pip3 install pyqtgraph numpy' and run binglide I have 'no module scipy' exception

jnv commented 10 years ago

It's true that I've installed everything with the --user switch, so YMMV. Just make sure you are using pip3/python3 everywhere and that the installation did not fail (which can easily happen due to missing development dependencies). Maybe it'd be better to install scipy via pip3 too?

By the way, installation instructions for Numba are not very clear, so just for a reference, check out this answer.

Also both pip dependencies and binglide can be installed locally in ~/.local directory without sudo using the --user switch, e.g.:

LLVM_CONFIG_PATH=/usr/bin/llvm-config-3.3 pip3 install --user llvmpy # for Numba
pip3 install --user pyqtgraph numpy
# in the cloned binglide directory:
python3 setup.py install --user

And then run binglide using ~/.local/bin/binglide (or just add ~/.local/bin to your PATH).


@wapiflapi One more thing, there is a typo on the last line of Ubuntu installation instructions:

sudo python3 setup.py intall
                        ↑ should be `install`

Anyway, thanks for this cool project!

Killboy commented 10 years ago

@jnv : Installing scipy via pip was problematic for me, I saw various post on the webs with the same problem - using the packaged version was the solution.

wapiflapi commented 9 years ago

Thanks for your help everyone. Closing because this might not be relevant for -ng branch.