WxWiki Install Instruction for Linux

30 views
Skip to first unread message

asif saeed

unread,
May 16, 2013, 6:57:26 AM5/16/13
to wx-u...@googlegroups.com
Hi,

I don't know if I am missing something but I've sent three emails about the issue but haven't got a single reply from the list.

I am following instruction at the following page to build wxWidgets 2.9.4 on Fedora18 32-bit.

The first step (configure) goes fine.

The 2nd step, however, halts after emitting the following error several times:

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
./src/unix/fontutil.cpp:991:26: error: aggregate 'wxNativeEncodingInfo info' has incomplete type and cannot be defined.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

The mention of an incomplete type in the error message suggests a forward declaration (as previous error messages in the same build directly say about the same error) but the code seems to be declaring a concrete variable of type wxNativeEncodingInfo which is wrong as forward declaration doesn't make available the complete type.

Any idea what is going on? I really need to build my code on Linux/Fedora18/Mint/Ubuntu (all latest versions) and there is no point if the library doesn't build on Linux.

Thanks and best regards,
-Asif
PS: I ran make as part of the standard configure/make/make install build process on Linux.

Gerald Brandt

unread,
May 16, 2013, 7:11:51 AM5/16/13
to wx-u...@googlegroups.com
What arguments are you using for configure?
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+u...@googlegroups.com
or visit http://groups.google.com/group/wx-users


asif saeed

unread,
May 16, 2013, 7:33:26 AM5/16/13
to wx-u...@googlegroups.com
Hi Gerald,

No argument. Just "./configure". I've just tried running configure with the "--with-gtk" option (which defaults to value 2) but then running make gives me the same error in this case as well.

Actually, this looks like an error in 2.9.4 source - forward declaring a type but trying to create a concrete variable of the type (which is forward-declared and is, hence, incomplete). I'd be thankful if you experts could help me on this. I dont' have time to look into the problem using the wx source. So, I am relying on this list to help me out.

Thanks for replying.
-Asif

Gerald Brandt

unread,
May 16, 2013, 7:57:01 AM5/16/13
to wx-u...@googlegroups.com
Hi,

Just tested with yesterdays trunk on Ubuntu 64bit. It compiles clean for me using just 'configure'

# cd downloads/wxWidgets
# mkdir test
# cd test
# ../configure
# make -j4


Gerald

David Hart

unread,
May 16, 2013, 2:41:34 PM5/16/13
to wx-u...@googlegroups.com
Hi,


On Thursday, 16 May 2013 11:57:26 UTC+1, asif wrote:

I am following instruction at the following page to build wxWidgets 2.9.4 on Fedora18 32-bit.

I've successfully built wxWidgets 2.9.4 on Fedora18 32-bit. The only difference is that, as the instructions suggest, I created a subdir and built from there:
../configure <--enable-whatever> && make

Which source package did you download? One cause of strange build errors is using the wrong one. The .zip or the .7z ones won't work; you need the one with unix line-endings: wxWidgets-2.9.4.tar.bz2.

Regards,

David

asif saeed

unread,
May 20, 2013, 12:24:25 AM5/20/13
to wx-u...@googlegroups.com
Hi David,
 
Thank you very much for replying and for testing the build on Fedora-18 32-bit. I don't know what's wrong but I'll test it again and report back. I also used the wxWidgets-2.9.4.tar.bz2 version.
 
Best regards,
-Asif
 


--
Reply all
Reply to author
Forward
0 new messages