Author Topic: Solaris: failed to compile tinywxuni.cpp (wxscintilla problem?)  (Read 2895 times)

Offline chris_c

  • Single posting newcomer
  • *
  • Posts: 3
Solaris: failed to compile tinywxuni.cpp (wxscintilla problem?)
« on: November 27, 2008, 08:32:14 pm »
Dear all,

after repairing the g++ installation on our Solaris system we get a compile error when executing the gmake command.

We follow quite exactly the description on http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Solaris by just executing the ./bootstrap before configuring code blocks as described in the BUILD file of codeblocks

The compilation does not last long. There is an error in tinywxuni.cpp file:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/local/lib/wx/include/
motif-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LAR
GE_FILES -D__WXMOTIF__ -pthreads -D_REENTRANT -I../../../src/include/wxscintilla
/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -g -DDEBUG -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinywxuni.lo -MD -MP -MF .deps/tinywxuni.Tpo -c tinywxuni.cpp  -fPIC -DPIC -o .libs/tinywxuni.o
In file included from ../../../src/include/sdk_common.h:95,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/wxscintilla/include/wx/wxscintilla.h: In member function `bool wxScintillaEvent::GetDragAllowMove()':
../../../src/include/wxscintilla/include/wx/wxscintilla.h:3440: error: `wxDrag_DefaultMove' was not declared in this scope
gmake[3]: *** [tinywxuni.lo] Error 1
gmake[3]: Leaving directory `/opt/codeblocks/trunk/src/base/tinyxml'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/opt/codeblocks/trunk/src/base'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/codeblocks/trunk/src'
gmake: *** [all-recursive] Error 1

I would appreciate a lot, if anybody could give us a hint how to solve this problem.

Best regards to all,


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Solaris: failed to compile tinywxuni.cpp (wxscintilla problem?)
« Reply #1 on: November 27, 2008, 08:56:01 pm »
It might be, that your wxWidgets version is build without drag and drop support.