Bulid CEGUI with py++ faild

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

JJChicken
Just popping in
Just popping in
Posts: 9
Joined: Mon May 31, 2010 07:14

Bulid CEGUI with py++ faild

Postby JJChicken » Fri Sep 30, 2011 10:33

I want to bulid PyCEGUI from scrach, I download py++ and gccxml at py++ offical website,
but when i bulid CEGUI with py++ using ms9.0 compiler, it faild with the message

pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML: In file included from E:\CEGUI-0.7.5\CEGUI-0.7.5\cegui\include\/elements/CEGUIAll.h:68,
from E:\CEGUI-0.7.5\CEGUI-0.7.5\cegui\include\CEGUI.h:113:
E:\CEGUI-0.7.5\CEGUI-0.7.5\cegui\include\/elements/CEGUIScrolledItemListBaseProperties.h:56: internal compiler error: in maybe_emit_vtables, at cp\decl2.c:1521

How do you bulid pyCEGUI?
Please help me!

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Bulid CEGUI with py++ faild

Postby Kulik » Fri Sep 30, 2011 10:55

I had to patch standard headers to have it generate with msvc.

You can just reuse the generated code, you don't have to regenerate it. We always regenerate it under Linux and that code compiles cleanly with MSVC as well.

JJChicken
Just popping in
Just popping in
Posts: 9
Joined: Mon May 31, 2010 07:14

Re: Bulid CEGUI with py++ faild

Postby JJChicken » Sat Oct 08, 2011 03:29

I known py++ a little, i developed a looknfeel editor under your CEED, but i have a touble in regeneret PyCEGUI, could you tell me more about it? the more detailed, the better.
thank you very much

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Bulid CEGUI with py++ faild

Postby Kulik » Sat Oct 08, 2011 09:51

In the end I think it's way way simpler to just download virtualbox, install ubuntu/fedora/something that has decent repository of software. And install pypluplus there.

Both ubuntu and fedora don't ship pyplusplus itself IIRC but they do ship gccxml. You just "python setup.py install" both pygccxml and pyplusplus and you are good to go. The procedure to get this going on Windows is very painful and requires careful patching and standard header inspecting. And IIRC it will only work for MSVC 2008, not 2010 (or to be precise I haven't tried it for 2010).

If you have indeed developed looknfeel editor for CEED, could you send me the patch/pull request?

JJChicken
Just popping in
Just popping in
Posts: 9
Joined: Mon May 31, 2010 07:14

Re: Bulid CEGUI with py++ faild

Postby JJChicken » Wed Oct 19, 2011 13:54

I have not enough time to do this recently, and I haven't development in linux. But i will try your idea. Thank you!
How could i send the patch/pull to you?

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Bulid CEGUI with py++ faild

Postby Kulik » Wed Oct 19, 2011 15:25

team (at) cegui.org.uk

Either mail a patch or a set of patches or send URL of your repo for me to pull from.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 3 guests