BaH.Fontconfig in 1.26
BlitzMax Forums/BlitzMax Programming/BaH.Fontconfig in 1.26
| ||
2 Brycey, hello, i'm use your almost all modules , and one module bugged in 1.26 - BaH.Fontconfig (MinGW 5.1.3). Please, help me! ----------------------------- Building .drawtext Compiling:.drawtext.bmx flat assembler version 1.67.23 (142938 kilobytes memory) 3 passes, 5657 bytes. Linking:.drawtext.debug.exe C:/Program Files/BlitzMax/mod/bah.mod/fontconfig.mod/fontconfig.debug.win32.x86.a(fontconfig.bmx.debug.win32.x86.o)(code+0x23fd): undefined reference to `bbObjectNewDynamic' Build Error: Failed to link C:/Program Files/BlitzMax/mod/bah.mod/fontconfig.mod/examples/.drawtext.debug.exe Process complete ----------------------------- |
| ||
It sounds like you need to rebuild the module or the exe. I think "bbObjectNewDynamic" is new to 1.26, and unless a module has been rebuilt on the upgrade to 1.26, it may show errors such as you see. Might I also suggest you copy ar.exe and ld.exe from the MinGW/bin folder to your BlitzMax/bin folder, and rebuild all your modules. (Those files supplied with 1.26 are the old ones from MinGW 3.10, and will cause all kinds of problems when linking against code compiled with the new MinGW) |
| ||
This is was before recompile with replaced ar.exe & ld.exe: C:/Program Files/BlitzMax/mod/bah.mod/fontconfig.mod/fontconfig.debug.win32.x86.a(fontconfig.bmx.debug.win32.x86.o)(code+0x23fd): undefined reference to `bbObjectNewDynamic' After recompile all modules with replaced ar.exe & ld.exe: c:/Program Files/BlitzMax/mod/bah.mod/fontconfig.mod/fontconfig.debug.win32.x86.a(fontconfig.bmx.debug.win32.x86.o): undefined reference to `bbObjectNewDynamic' |
| ||
did you modify the BMK as well? Most of Bruceys module need a modified BMK |
| ||
Yes, i'm use tweaked BMK from Brucey |
| ||
Hi Proger, I have exactly the same problem, I can't compile with bmax 1.26 and fontconfig... I hope a solution wil be found quickly. |
| ||
I've tracked it down to a bug with BlitzMax... but I have a workaround. Was testing over the weekend, so hopefully will have a new release shortly. |
| ||
Thank you very much Brucey. It will really help me because my project is actually stopped by this bugs. |
| ||
Sounds great! Thanks alot! |
| ||
I hope this week-end, we will have new version of fontconfig for bmax 1.26 ! thank alot! |
| ||
Thank Brucey for new version ! But I have a problem to build the module. It seems that libxml is needed to compile. I will try to add libxml. |
| ||
It works well! Thanks alot though i didnt realice that new config file had to be in the same folder as the application. After i copied the file it works wondefully again :) |
| ||
Don't forget to install libxml because now fontconfig requires it. I need also to copy libxml directory in fontconfig directory to build it. |
| ||
You should be able to Import BaH.Libxml (assuming you have it installed). |