2025-07-21 16:20 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004255Spring engineGeneralpublic2014-01-07 00:50
Reporterabma 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version96.0.1+git 
Target Version97.0Fixed in Version 
Summary0004255: [SDL2] missing dll: libfontconfig-1.dll depends on libfreetype-6.dll which doesn't exist
Descriptionwe need a self-compiled libfontconfig-1.dll i guess...
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
has duplicate 0004257closedabma Spring cant run, entry point FTL_SELECT_SIZE not found in freetype6.dll 
+Relationships

-Notes

~0012619

jK (developer)

https://github.com/spring/mingwlibs/commit/871d0284923d27857ea72dc4c771c2ae4732898d

did that help?

~0012625

abma (administrator)

Last edited: 2014-01-06 10:01

View 2 revisions

not really. depends on libiconv, liblzma, libxml as well. currently trying to compile all required dlls myself...

~0012626

jK (developer)

hmmm it might be easier to compile static fontconfig ourself

~0012627

abma (administrator)

Last edited: 2014-01-06 11:35

View 4 revisions

gimme a bit more time, i've got most libs (as dll) already compiled but need to adjust compile flags.

these (+dependencies) worked so far, if i remember right:

devil
freetype
fontconfig
sdl2
ogg
vorbis
zlib

afaik only missing is openal, but errors look bad, not sure if i can easily fix them and the interesting will be, if they will work.

an alternative could be to use the static libs from mxe but not sure if we get there some other problems because of symbols defined twice when using unitsync or sth. like that.


edit: glew is missing as well.

~0012628

abma (administrator)

anything against using static libs from mxe?

~0012629

jK (developer)

no objections

~0012632

abma (administrator)

sidenote:

to get a static build, FIND_PACKAGE should be replaced with pkg-config calls else its pretty difficult to find out the correct linking flags.

my fix is ugly but i didn't get it working in a reasonable time.

imo best would be, to use mxe as it compiles all required libs out of the box but this would require to switch add many libs to the linking list (all dependencies of a static lib)

but for the moment it works...
+Notes

-Issue History
Date Modified Username Field Change
2014-01-05 14:11 abma New Issue
2014-01-05 14:12 abma Severity minor => crash
2014-01-05 14:12 abma Product Version => 96.0.1+git
2014-01-05 17:57 jK Note Added: 0012619
2014-01-06 10:01 abma Note Added: 0012625
2014-01-06 10:01 abma Note Edited: 0012625 View Revisions
2014-01-06 10:20 jK Note Added: 0012626
2014-01-06 11:09 jK Relationship added has duplicate 0004257
2014-01-06 11:34 abma Note Added: 0012627
2014-01-06 11:34 abma Note Edited: 0012627 View Revisions
2014-01-06 11:35 abma Note Edited: 0012627 View Revisions
2014-01-06 11:35 abma Note Edited: 0012627 View Revisions
2014-01-06 11:40 abma Note Added: 0012628
2014-01-06 11:47 jK Note Added: 0012629
2014-01-07 00:50 abma Note Added: 0012632
2014-01-07 00:50 abma Status new => resolved
2014-01-07 00:50 abma Resolution open => fixed
2014-01-07 00:50 abma Assigned To => abma
+Issue History