Coder Social home page Coder Social logo

Comments (10)

mic-e avatar mic-e commented on April 28, 2024

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.

from openage.

mic-e avatar mic-e commented on April 28, 2024

Thanks for the Fedora packet list btw, that's indeed something for the how-to-build doc

from openage.

luan-cestari avatar luan-cestari commented on April 28, 2024

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 =)

from openage.

mic-e avatar mic-e commented on April 28, 2024

Do you have the file (symlink) /usr/lib/libfontconfig.so?

from openage.

luan-cestari avatar luan-cestari commented on April 28, 2024

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?

from openage.

mic-e avatar mic-e commented on April 28, 2024

You need to convert the game assets first; you need a copy of the original age of empires for that. See building.md

from openage.

mic-e avatar mic-e commented on April 28, 2024

cmake support says that the /usr/lib/libfontconfig.so symlink is usually part of the development package (fontconfig-devel). Can you confirm?

from openage.

luan-cestari avatar luan-cestari commented on April 28, 2024

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

from openage.

smackysnacks avatar smackysnacks commented on April 28, 2024

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.

from openage.

mic-e avatar mic-e commented on April 28, 2024

Seems like installing fontconfig-devel fixes the issue after all; closing as fixed.

from openage.

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.