FreeImage and OpenB3D
BlitzMax Forums/MiniB3D Module/FreeImage and OpenB3D
| ||
I'm getting image display issues when loading a FreeImage image on top of OpenB3D using BeginMax2D and EndMax2D. Image is kind of garbled but it loads up. |
| ||
Same here. The images is nearly all blacked out - if you turn your monitors brightness to max, you will recognize the image. |
| ||
I tried with tdm gcc 4.6 and 5.01 with the latest copy of bah.freeimage and it's broken. The mod doesn't build in 5.01, I get this type of error: C:/TDM-GCC-64/x86_64-w64-mingw32/include/propidl.h:1113:1: error: expected initializer before '<' token __CRT_UUID_DECL(IEnumSTATPROPSETSTG, 0x0000013b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) In 4.6 when I run a test I get this sort of thing: C:/../bah.mod/freeimage.mod/freeimage.debug.win32.x86.a(ImfHeader.cpp.debug.win32.x86.o):ImfHeader.cpp:(.text$_ZNK7Imf_2_214TypedAttributeIdE4copyEv[__ZNK7Imf_2_214TypedAttributeIdE4copyEv]+0x90): undefined reference to `_Unwind_SjLj_Unregister' |
| ||
I tried with tdm gcc 4.6 and 5.01 At first I thought it was just me, but now I'm starting to think GCC 4.8 is really the GOTO version :) |
| ||
Ok I tried with tdm gcc 4.8.1-3 64 and also 32 bit and both gave errors when building freeimage mod. So what version of gcc do you have RustyKristi? Btw, this was the error with 32 bit: C:/../bah.mod/freeimage.mod/src/LibWebP/src/dsp/dsp.upsampling_mips _dsp_r2.c:43:48: error: invalid character ' ' in raw string delimiter "srl %["#R"], %["#R"], 24 \n\t" The 64 bit looked like previous errors: C:/TDM-GCC-64/x86_64-w64-mingw32/include/propidl.h:1113:1: error: expected initializer before '<' token __CRT_UUID_DECL(IEnumSTATPROPSETSTG, 0x0000013b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| ||
Hey munch, sorry my mistake. It was TDM GCC 4.7.1 and particularly this package https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/Previous/1.1006.0/tdm64-gcc-4.7.1-2.exe/download the 4.8 is the one I have with NG. (v0.62) |