Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibGDX linux 64bit native needs -fPIC defined for the C compiler #621

Closed
badlogic opened this issue Sep 14, 2013 · 1 comment
Closed

LibGDX linux 64bit native needs -fPIC defined for the C compiler #621

badlogic opened this issue Sep 14, 2013 · 1 comment
Labels

Comments

@badlogic
Copy link
Member

From pmlo...@gmail.com on August 17, 2010 11:41:55

What steps will reproduce the problem? 1. I tried to build LibGDX for 64bit linux link fails What is the expected output? What do you see instead? To fix i had to change the C compiler (C++ already has it) to have -fPIC

I had to install libmp123 to my system (it is wrong since it introduces a dependency on a so lib that you are not shipping with the JNI, I would expect to build it also as it happens for the Android platform. What version of the product are you using? On what operating system? SVN trunk Please provide any additional information below.

Original issue: http://code.google.com/p/libgdx/issues/detail?id=33

@badlogic
Copy link
Member Author

From badlogicgames on August 17, 2010 03:21:11

Hi,

thanks for reporting! I don't have a 64-bit Linux installation at the moment but i fixed the missing fPIC flag for the c++ compiler options in the project settings. It's commited to the trunk.

The reason i expect libmpg123 to be installed on the system is due to LGPL licensing. On Android i have yet to fix that, we'll need to seperate the libmpg so from the libgdx so.

Status: Fixed

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

No branches or pull requests

1 participant