Author Topic: TRUNK version does not build at the moment  (Read 6745 times)

Offline dejan

  • Multiple posting newcomer
  • *
  • Posts: 11
TRUNK version does not build at the moment
« 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.

Offline dejan

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: TRUNK version does not build at the moment
« Reply #1 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.  :?

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: TRUNK version does not build at the moment
« Reply #2 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.
Be a part of the solution, not a part of the problem.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: TRUNK version does not build at the moment
« Reply #3 on: October 27, 2008, 10:30:06 pm »
Try changing wxFD_HIDE_READONLY to wxHIDE_READONLY and it should work.

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

Gastiflex

  • Guest
Re: TRUNK version does not build at the moment
« Reply #4 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: TRUNK version does not build at the moment
« Reply #5 on: December 09, 2008, 02:29:19 pm »
src/tools/cb_share_config/mainframe.cpp
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org