8000 Error al compilar en Windows x64 - Error hypot · Issue #5 · ga0/pyprotect · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Error al compilar en Windows x64 - Error hypot #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to o A3C8 ur terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PREYMX opened this issue Sep 26, 2018 · 1 comment
Open

Error al compilar en Windows x64 - Error hypot #5

PREYMX opened this issue Sep 26, 2018 · 1 comment

Comments

@PREYMX
Copy link
PREYMX commented Sep 26, 2018

Esta seria la solución:
1.- Instalar Mingw
2.- Instalar cmake
3.- Tener Pybind dentro de carpeta deps
4.- Tener listo el programa Codelite, con el compilador c++ configurado (mingw).
5.- Editar archivo cmath, dentro de Mingw; cambiar linea "::hypot" a "::_hypot"
6.- Abrir cmake, ingresar source, y directorio build
7.- en Cmake, configurar con los pasos hechos, y dar click en generar; Escoger compilador que se encuentra dentro de Bin en Mingw.
8.- Compilar archivo wordspace de codelite, generado en cmake, dentro de codelite.

Resultado final:
libpyprotect.cp36-win_amd64.pyd (windows)

@ga0
Copy link
Owner
ga0 commented Sep 26, 2018

Gracias por tu solución!

Thanks for your solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0