Compile error for wxNano-X 2.8.3 and 2.6.4
Hisayuki Fujii
hisabojp at gmail.com
Tue May 1 22:52:40 PDT 2007
Hi,
wxWidgets-2.8.3 and 2.6.4 for Nano-X was not able to be compiled.
I have to use wxNano-X for embedded device (ARM920T).
I think that I will operate wxNano-X with PC first.
I worked by referring to docs/readme-nanox.txt.
First, Nano-X was compiled after editing config of Nano-X.
Nano-X operated normally by X Window.
Next, although I compiled wxNano-X, I became an error.
Compile of wxNano-X referred to docs/readme-nanox.txt and did the
following work.
% cd wxWidgets-2.8.3
% mkdir nano-x
% cd nano-x
% ./makewxnanox
My PC environment is as follows.
wx : wxNano-X 2.8.3 and 2.6.4
Nano-X : 0.91
OS : Red Hat 9
Kernel : 2.4.34.4
gcc : 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Could someone compile wxNano-X?
Please teach me how to compile wxNano-X normally.
Sincerely,
-----------------------------------------------------
<compile error message>
/home/pub/src/wxWidgets-2.8.3/nano-x/bk-deps g++ -c -o netdll_ftp.o
-D__WXX11__ -D__WXUNIVERSAL__ -DwxUSE_GUI=0 -DWXUSINGDLL
-DWXMAKINGDLL_NET -fPIC
-DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1
-I/home/pub/src/wxWidgets-2.8.3/nano-x/lib/wx/include/x11univ-ansi-release-2.8
-I../include -I../include/wx/x11/nanox
-I/home/pub/src/microwindows-0.91/src/include -I/usr/X11R6/include
-pthread -fno-exceptions -Wall -Wundef -Wno-ctor-dtor-privacy -O2
-fno-strict-aliasing ../src/common/ftp.cpp
../src/common/ftp.cpp: In member function `virtual wxInputStream*
wxFTP::GetInputStream(const wxString&)':
../src/common/ftp.cpp:770: `wxURI' undeclared (first use this function)
../src/common/ftp.cpp:770: (Each undeclared identifier is reported only once
for each function it appears in.)
../src/common/ftp.cpp:770: parse error before `::' token
make: *** [netdll_ftp.o] Error 1
[root at localhost nano-x]#
-----------------------------------------------------
<report of configure script in makewxnanox>
Configured wxWidgets 2.8.3 for `i686-pc-linux-gnu'
Which GUI toolkit should wxWidgets use? x11
Should wxWidgets be compiled into single library? no
Should wxWidgets be compiled in debug mode? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? no
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.4 no
wxWidgets 2.6 yes
Which libraries should wxWidgets use?
jpeg no
png sys
regex no
tiff no
xpm yes
zlib sys
odbc no
expat sys
libmspack no
sdl no
-----------------------------------------------------
<makewxnanox>
#!/bin/sh
# makewxnanox
export MICROWIN=/home/julians/microwindows/microwindows-0.89pre8
#DEBUGFLAGS="--enable-debug --enable-debug_cntxt --disable-optimise"
DEBUGFLAGS="--disable-debug --disable-debug_cntxt --enable-optimise"
export CONFIGCMD="./configure $DEBUGFLAGS --enable-shared --enable-gui
--with-x11 --enable-nanox --enable-log --with-threads
--without-sockets --without-odbc --without-libjpeg --without-libtiff
--without-png --without-regex --enable-no_exceptions
--disable-protocols --disable-ipc --disable-dialupman
--disable-apple_ieee --disable-fraction --disable-dynlib
--disable-dynamicloader --disable-geometry --disable-fontmap
--disable-std_iostreams --disable-filesystem --disable-fs_inet
--disable-fs_zip --disable-zipstream --disable-snglinst
--disable-mimetype --disable-url --disable-html --disable-constraints
--disable-printarch --disable-mdi --disable-postscript
--disable-PS-normalized --disable-afmfonts --disable-prologio
--disable-resources --disable-dnd --disable-metafile
--disable-treelayout --disable-grid --disable-propsheet
--disable-splines --disable-joystick --disable-pcx --disable-iff
--disable-pnm --disable-tabdialog --disable-newgrid"
echo $CONFIGCMD
if [ ! -f ./configure ]; then
CONFIGCMD=".$CONFIGCMD"
fi
echo Invoking $CONFIGCMD
rm -f *.cache
$CONFIGCMD
make
-----------------------------------------------------
More information about the wx-users
mailing list