News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

TRUNK version does not build at the moment

Started by dejan, October 27, 2008, 01:42:41 PM

Previous topic - Next topic

dejan

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.

dejan

I apologize - I have just found that I should actually go to Berlios to submit this... Ignore me.  :?

Biplab

I don't have 64 bit machine to test. Please turn off WXWIN_COMPATIBILITY_2_4 and compile.
Be a part of the solution, not a part of the problem.

stahta01

Try changing wxFD_HIDE_READONLY to wxHIDE_READONLY and it should work.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Gastiflex

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

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]