Git Product home page Git Product logo

Comments (6)

eXpl0it3r avatar eXpl0it3r commented on May 31, 2024

Using the magic of Google, would've brought you to multiple threads on the SFML forum telling you that it is a bug in GCC. At best you update GCC or your distro if GCC is outdated for your distro. 😉

from sfgui.

MikePerreman avatar MikePerreman commented on May 31, 2024

hmm, I have gcc7 installed, and Im still get this error. Turning off examples allows me to install the sfgui.
I assume theres no problems running without the examples, although, it would be nice do figure this out.

from sfgui.

eXpl0it3r avatar eXpl0it3r commented on May 31, 2024

If you have gcc7 installed, make sure you're actually using gcc7 and its libraries. From the error you can see that this is not the case.

/usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a

from sfgui.

MikePerreman avatar MikePerreman commented on May 31, 2024

hmm, Ive ran it again, after a reboot and actually linking to gcc7, and it is definitely using gcc7, but stil I get the same error, this time with /usr/bin/ld: CustomWidget: hidden symbol `__cpu_model' in /usr/lib/gcc/x86_64-linux-gnu/7/libgcc.a(cpuinfo.o) is referenced by DSO
instead of
/usr/bin/ld: CustomWidget: hidden symbol `__cpu_model' in /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a(cpuinfo.o) is referenced by DSO

from sfgui.

MikePerreman avatar MikePerreman commented on May 31, 2024

Tried with gcc 6, and same error:

/usr/bin/ld: CustomWidget: hidden symbol `__cpu_model' in /usr/lib/gcc/x86_64-linux-gnu/6/libgcc.a(cpuinfo.o) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
examples/CMakeFiles/CustomWidget.dir/build.make:103: recipe for target 'examples/CustomWidget' failed
make[2]: *** [examples/CustomWidget] Error 1
CMakeFiles/Makefile2:168: recipe for target 'examples/CMakeFiles/CustomWidget.dir/all' failed
make[1]: *** [examples/CMakeFiles/CustomWidget.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

from sfgui.

MikePerreman avatar MikePerreman commented on May 31, 2024

Aww, shit, It was an issue with SFML, rebuilding SFML fixed this issue. I can now make and make install just fine.

from sfgui.

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.