Git Product home page Git Product logo

Comments (8)

cyfra avatar cyfra commented on June 16, 2024

This compilation option is set here:

set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -g -O3 -no-pie -L/usr/X11/lib -lX11 -lSDL2")

You can try removing it - and see if the environment still works (afaik we didn't test this configuration).

from football.

qstanczyk avatar qstanczyk commented on June 16, 2024

I think we can eliminate -no-pie flag fro the compilation, so please let us know if that helps you. If so we can remove it.

from football.

Shengyu-Feng avatar Shengyu-Feng commented on June 16, 2024

I've removed all 4 -no-pie flags, but new error message gives:

building 'brainball_cpp_engine' extension
gcc -pthread -shared -o build/lib.linux-x86_64-3.6/brainball_cpp_engine.cpython-36m-x86_64-linux-gnu.so
gcc: fatal error: no input files
compilation terminated.
error: command 'gcc' failed with exit status 4

My gcc version is 4.8.4, here is the result of gcc -v

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.4' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.4)

Btw, since there's a SDL2 error before, I've added a FindSDL2.cmake file by myself.

CMake Error at CMakeLists.txt:33 (FIND_PACKAGE):
By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2", but
CMake did not find one.

Could not find a package configuration file provided by "SDL2" with any of
the following names:

SDL2Config.cmake
sdl2-config.cmake

Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files. If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.

from football.

cyfra avatar cyfra commented on June 16, 2024

gcc: fatal error: no input files
This looks quite strange. Can you paste your whole log (for example into pastebin)?

I'm running on Ubuntu14.04
I'd suggest updating to the newer ubuntu if possible.

from football.

Shengyu-Feng avatar Shengyu-Feng commented on June 16, 2024

Here's the error message when I delete -no-pie: https://paste.ubuntu.com/p/5MgYDNvbBv/

And I also tried -fno-pie, the error message is a bit different: https://paste.ubuntu.com/p/RBZvQpy7pj/

from football.

qstanczyk avatar qstanczyk commented on June 16, 2024

Removal of -no-pie flag was pushed in v1.2 release.

from football.

qstanczyk avatar qstanczyk commented on June 16, 2024

There is a similar issues reported here:
explosion/spaCy#734
I that case problem was in GCC version. I think the best way to go would be to try newer Ubuntu.

from football.

qstanczyk avatar qstanczyk commented on June 16, 2024

Closing this for now, please reopen if still unsolved.

from football.

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.