[Solved] CeGUI build problems

BlitzMax Forums/Brucey's Modules/[Solved] CeGUI build problems

RustyKristi(Posted 2016) [#1]
When building CEGUI modules I get this error..

C:/BlitzMax/mod/bah.mod/cegui.mod/cegui/include/CEGUIPCRERegexMatcher.h:33:18: fatal error: pcre.h: No such file or directory
#include <pcre.h>

I already got ceguiopengl.mod, regex.mod, and freeimage.mod in my mods folder too as dependencies.

Checking out regex.mod sources I can see pcre2.h..


markcw(Posted 2016) [#2]
When you see this error it means the compiler can't find the source, in this case because pcre2 isn't installed in MinGW so you need to install it there so gcc can find it.

The source in regex.bmx says it's version 10.00 so this is found on sourceforge here install instructions are here.


Brucey(Posted 2016) [#3]
I may have inadvertently broken the CEGUI build when I updated BaH.PCRE...


RustyKristi(Posted 2016) [#4]
Thanks guys. I already got this solved by getting a version here which contains the older regex.mod and pcre.h

https://github.com/BlitzMaxModules/bah.mod

When building examples, I'm now getting Linker Errors undefined reference to `_Unwind_Resume' or something?? :/

BMX 1.50 with MinGW 4.8.1


RustyKristi(Posted 2016) [#5]
Got it fixed with browsing through related issues with SJLJ MingW
http://www.blitzbasic.com/Community/post.php?topic=93369&post=1072926

I have to download 4.7.1 again and blitzmax from scratch and finally got it working with older CeGUI version :D
http://www.blitzbasic.com/Community/posts.php?topic=95220