Closed luan-cestari closed 10 years ago
mingw32-fontconfig
is the wrong library; fontconfig is a core part of each linux distro, it should be installed already (I think?). There should be a file /usr/lib/libfontconfig.so.whatever
.
Thanks for the Fedora packet list btw, that's indeed something for the how-to-build doc
I didn't know that, thanks =) (I thought that you guys chose that library to do the cross compilation). I tried 'export FONTCONFIG_LIBS="/usr/lib/libfontconfig.so.1" ' and 'export FONTCONFIG_LIBS="-L/usr/lib/libfontconfig.so.1" ' but both didn't work, got the same error message =/
By the way, I have the /usr/lib/libfontconfig.so.1.8.0 , I can run readelf (or other command) if you think that could output something meaningful for this issue.
Thank in advance for helping me =)
Do you have the file (symlink) /usr/lib/libfontconfig.so
?
Nice =D It worked. I could not understand why the other library isn't expose (I tried to search in the confiigure file and it isnt a explicit specific reference to that library). So I just executed 'sudo ln -s /usr/lib/libfontconfig.so.1 /usr/lib/libfontconfig.so && sudo chmod 777 /usr/lib/libfontconfig.so' and it worked like a charm. Then, when I tried to make it, I got an error due my misunderstood with mingw32, so I fixed that with 'sudo yum install fontconfig-devel'
Now it generated the binary but when I ran it got an wierd execption: $ ./openage MSG launching engine with data directory './' MSG initialized SDL audio subsystems. MSG Using audio device 'default' [freq=48000,format=32784,channels=2,samples=2048] MSG initialized SDL video subsystems. DBG0 Maximum supported texture size: 8192 DBG0 Maximum supported texture units: 32 DBG2 queried font: DejaVu Serif:style=Book DBG2 returning font file /usr/share/fonts/dejavu/DejaVuSerif.ttf MSG ERROR: file nonexistant: .//converted/termcolors.docx FATAL Exception: file nonexistant: .//converted/termcolors.docx
I tried to find that document in the project, but I didnt find it. I got the source from the tar.gz file of the web site, do you think it would be better try the master branch from github?
You need to convert the game assets first; you need a copy of the original age of empires for that. See building.md
cmake
support says that the /usr/lib/libfontconfig.so
symlink is usually part of the development package (fontconfig-devel
). Can you confirm?
Well, I installed the fontconfig-devel package and it didnt work. It created /usr/lib/libfontconfig.so.1.8.0 and /usr/lib/libfontconfig.so.1 (symbolic link ).I will take a look on building.md later , thank you for helping me =D
Hello,
I just spun up a Fedora 20 x86_64 install and ran the following commands:
# yum groupinstall -y "Development Tools"
# yum install -y gcc gcc-c++
# yum install -y cmake python3-devel SDL2-devel ftgl-devel SDL2_image-devel \
opus-tools glew-devel freeglut-devel libpng-devel freetype-devel opusfile-devel \
fontconfig-devel git
Finally I grabbed openage and built using:
$ git clone https://github.com/SFTtech/openage.git \
&& cd openage && ./configure && make
<snip>
[100%] Built target openage
Notice I installed the fontconfig-devel package and not the mingw32-fontconfig package.
Seems like installing fontconfig-devel
fixes the issue after all; closing as fixed.
I got an issue trying to install it on fedora. I replace each debian package described in the installation instructions to the packages found in fedora repository (which the command would be
sudo yum install cmake python3-devel SDL2-devel ftgl-devel SDL2_image-devel opus-tools glew-devel freeglut-devel libpng-devel freetype-devel opusfile-devel mingw32-fontconfig
, after it is working we can even add in the documentation). The problem is with theFONTCONFIG_LIBS
variable (the output message claims, the whole output is here), which I think it would need to be defined but I don't know to where exactly, any guess? Thank you guys in advance