Sign in to follow this  

glfw3 compile with -fPIC

Recommended Posts

FGFS    345


I get:
/usr/bin/ld: /usr/local/lib//libglfw3.a(context.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib//libglfw3.a: could not read symbols: Bad value

Hmm how to compile 3.02 with -fPIC on Ubuntu?

Edited by FGFS

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this