User forums > Help

wxSmith does not build for MacOSX at rev 3663

(1/7) > >>

bnilsson:
Hi!

wxSmith does not build for rev 3663:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/include -I/opt/local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../../../src/include -I../../../../../../src/include/wxFlatNotebook/include -I../../../../../../src/include/wxscintilla/include -I../../../../../../src/include/wxFlatNotebook -I../../../../../../src/include/propgrid/include -O2 -ffast-math -I/opt/local/include -g -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT wxsbitmapiconproperty.lo -MD -MP -MF .deps/wxsbitmapiconproperty.Tpo -c ./wxsbitmapiconproperty.cpp  -fno-common -DPIC -o .libs/wxsbitmapiconproperty.o

./wxsbitmapiconproperty.cpp: In member function 'virtual bool wxsBitmapIconProperty::XmlRead(wxsPropertyContainer*, TiXmlElement*)':
./wxsbitmapiconproperty.cpp:135: error: 'cbC2U' was not declared in this scope
./wxsbitmapiconproperty.cpp: In member function 'virtual bool wxsBitmapIconProperty::XmlWrite(wxsPropertyContainer*, TiXmlElement*)':
./wxsbitmapiconproperty.cpp:165: error: 'cbU2C' was not declared in this scope
make[1]: *** [wxsbitmapiconproperty.lo] Error 1
make: *** [all-recursive] Error 1

Maybe a missing header again?

bnilsson:
I introduced
#include "globals.h"
in wxsbitmapiconproperty.cpp
Now wxSmith builds without errors.


However, the resource editor still blanks out the graphics window at update (for MacOSX). Any clue how to fix it?

byo:

--- Quote from: bnilsson on March 04, 2007, 09:53:49 am ---I introduced
#include "globals.h"
in wxsbitmapiconproperty.cpp
Now wxSmith builds without errors.


However, the resource editor still blanks out the graphics window at update (for MacOSX). Any clue how to fix it?

--- End quote ---

Thanks for info.

I'll try to make some small patch to force Mac to refresh window periodically - that will give me some more info. But since I've got no access to real machine, finding this bug may be really hard :(. If nothing will work, I'll try to create some other preview-generating scheme to enable any support for Mac.

BYO

Auria:

--- Quote from: byo on March 05, 2007, 08:12:10 pm ---
--- Quote from: bnilsson on March 04, 2007, 09:53:49 am ---I introduced
#include "globals.h"
in wxsbitmapiconproperty.cpp
Now wxSmith builds without errors.


However, the resource editor still blanks out the graphics window at update (for MacOSX). Any clue how to fix it?

--- End quote ---

Thanks for info.

I'll try to make some small patch to force Mac to refresh window periodically - that will give me some more info. But since I've got no access to real machine, finding this bug may be really hard :(. If nothing will work, I'll try to create some other preview-generating scheme to enable any support for Mac.

BYO

--- End quote ---

If code::Blocks would build on my mac i could probably help you, i know quite a bit about wxWidgets :? I hate those build systems  :lol:

afb:

--- Quote from: Auria on March 06, 2007, 02:41:01 am ---If code::Blocks would build on my mac i could probably help you, i know quite a bit about wxWidgets :? I hate those build systems  :lol:

--- End quote ---

I'm removing some of the wrinkles from the Mac build, so it should hopefully be a little smoother soon (no patches)
In the end, it shouldn't be more than the usual ./configure --enable-contrib && make && sudo make install routine.

Is there any particular build step of Installing_Code::Blocks_from_source_on_Mac_OS_X that is giving you grief ?

Navigation

[0] Message Index

[#] Next page

Go to full version