Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: dejan on October 27, 2008, 01:42:41 pm

Title: TRUNK version does not build at the moment
Post by: dejan on October 27, 2008, 01:42:41 pm
Hello guys, I did not know where exactly to post, so I decided to post here.

I have tried to build the trunk version of C::B last few days and I am getting the same error:

make[3]: Entering directory `/home/dejan/src/cpp/codeblocks/src/tools/cb_share_config'
g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT mainframe.o -MD -MP -MF .deps/mainframe.Tpo -c -o mainframe.o mainframe.cpp
mainframe.cpp: In member function ‘wxString MainFrame::FileSelector()’:
mainframe.cpp:438: error: ‘wxFD_HIDE_READONLY’ was not declared in this scope
make[3]: *** [mainframe.o] Error 1
make[3]: Leaving directory `/home/dejan/src/cpp/codeblocks/src/tools/cb_share_config'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dejan/src/cpp/codeblocks/src/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dejan/src/cpp/codeblocks/src'
make: *** [all-recursive] Error 1

I am aware that it is a TRUNK version, and it is supposed to have problems. :) I just wanted to point out to the potential problem. Kind regards.
Title: Re: TRUNK version does not build at the moment
Post by: dejan on October 27, 2008, 01:46:07 pm
I apologize - I have just found that I should actually go to Berlios to submit this... Ignore me.  :?
Title: Re: TRUNK version does not build at the moment
Post by: Biplab on October 27, 2008, 06:01:52 pm
I don't have 64 bit machine to test. Please turn off WXWIN_COMPATIBILITY_2_4 and compile.
Title: Re: TRUNK version does not build at the moment
Post by: stahta01 on October 27, 2008, 10:30:06 pm
Try changing wxFD_HIDE_READONLY to wxHIDE_READONLY and it should work.

Tim S
Title: Re: TRUNK version does not build at the moment
Post by: Gastiflex on December 09, 2008, 09:59:45 am
Hi,
I've got the same problem but I am a newbie  :D
Can you tell me in which file must I change wxFD_HIDE_READONLY to wxHIDE_READONLY ?

Thank you very much
Title: Re: TRUNK version does not build at the moment
Post by: stahta01 on December 09, 2008, 02:29:19 pm
src/tools/cb_share_config/mainframe.cpp