I keep getting this compilation error when I try to build vbam Beta 2 (got the release code from github), I'm using Fedora 23 and 24:
/usr/bin/ld: CMakeFiles/visualboyadvance-m.dir/wxvbam.cpp.o: relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC
It seems to happen on the linking step ("[100%] Linking CXX executable"). I don't see any other errors, and the warnings seem unrelated.
How to reproduce:
1) Install dependencies:
sudo dnf install
2) Compile:
cmake .
make
moving to new tracker, you can view the progress here http://dev.vba-m.com/T3