Git Product home page Git Product logo

Comments (2)

joelmaranhao avatar joelmaranhao commented on June 18, 2024

Resolved by adding suggested flag

~/BreezySLAM/python# vim setup.py

module = Extension('pybreezyslam',
    sources = SOURCES,
    extra_compile_args = ['-std=gnu99'] + SIMD_FLAGS + OPT_FLAGS
    )
root@qb57:~/BreezySLAM/python# sudo python setup.py install;
running install
running build
running build_py
running build_ext
building 'pybreezyslam' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c pybreezyslam.c -o build/temp.linux-x86_64-2.7/pybreezyslam.o -std=gnu99
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c pyextension_utils.c -o build/temp.linux-x86_64-2.7/pyextension_utils.o -std=gnu99
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ../c/coreslam.c -o build/temp.linux-x86_64-2.7/../c/coreslam.o -std=gnu99
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ../c/coreslam_sisd.c -o build/temp.linux-x86_64-2.7/../c/coreslam_sisd.o -std=gnu99
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ../c/random.c -o build/temp.linux-x86_64-2.7/../c/random.o -std=gnu99
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ../c/ziggurat.c -o build/temp.linux-x86_64-2.7/../c/ziggurat.o -std=gnu99
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/pybreezyslam.o build/temp.linux-x86_64-2.7/pyextension_utils.o build/temp.linux-x86_64-2.7/../c/coreslam.o build/temp.linux-x86_64-2.7/../c/coreslam_sisd.o build/temp.linux-x86_64-2.7/../c/random.o build/temp.linux-x86_64-2.7/../c/ziggurat.o -o build/lib.linux-x86_64-2.7/pybreezyslam.so
running install_lib
copying build/lib.linux-x86_64-2.7/pybreezyslam.so -> /usr/local/lib/python2.7/dist-packages
copying build/lib.linux-x86_64-2.7/breezyslam/sensors.py -> /usr/local/lib/python2.7/dist-packages/breezyslam
copying build/lib.linux-x86_64-2.7/breezyslam/__init__.py -> /usr/local/lib/python2.7/dist-packages/breezyslam
copying build/lib.linux-x86_64-2.7/breezyslam/vehicles.py -> /usr/local/lib/python2.7/dist-packages/breezyslam
copying build/lib.linux-x86_64-2.7/breezyslam/algorithms.py -> /usr/local/lib/python2.7/dist-packages/breezyslam
byte-compiling /usr/local/lib/python2.7/dist-packages/breezyslam/sensors.py to sensors.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/breezyslam/__init__.py to __init__.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/breezyslam/vehicles.py to vehicles.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/breezyslam/algorithms.py to algorithms.pyc
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/BreezySLAM-0.1.egg-info
Writing /usr/local/lib/python2.7/dist-packages/BreezySLAM-0.1.egg-info

from breezyslam.

simondlevy avatar simondlevy commented on June 18, 2024

Thanks, Joël. I have added this line to setup.py.

from breezyslam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.