Hi there,
Here it is again the same old problem... Seems that something is not
quite right with the cygwin instructions, the configtool sources, or
just myself...
I've picked the eCoscentric snapshot today (01/05/2008) from the web page.
I've configured wxWindows-2.4.2 with:
$ /cygdrive/c/local/wxWindows-2.4.2/configure --disable-shared
--disable-socket s --disable-protocols --disable-fs_inet
--disable-compat22 --with-libpng --without-libjpeg --without-libtiff
--prefix=/cygdrive/c/local
at /cygdrive/c/local/build/wxWindows/2.4.2, then "make" & "make
install". I had to add the additional switches to avoid some compile
errors building wxWindows itself.
I've configured the eCos host tools with:
$ /cygdrive/c/local/ecos/host/configure --prefix=/cygdrive/c/local
at /cygdrive/c/local/build/ecos/host, then "make" & "make install" them.
When doing:
$ make -f /cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/makefile.gnu
install WXDIR=/cygdrive/c/local ECOSSRCDIR=/cygdrive/c/local/ecos/host
IN STALLDIR=/cygdrive/c/local
at /cygdrive/c/local/build/ecos/configtool, I get this:
...
c++ -O2 -c -ITCLDIR_use_system/include -I/cygdrive/c/local/include
-I/cygdrive/c/local/ecos/host/tools/configtool/common/common
-I/cygdrive/c/local/ecos/host/to ols/Utils/common
-I/cygdrive/c/local/ecos/host/tools/ecostest/common
-DecUSE_EXPERIMENTAL_CODE=1 `/cygdrive/c/local/bin/wx-config
--cppflags` -D_WIN32 -D__WIN32 __ -DSTRICT -D__USE_W32_SOCKETS -o
/cygdrive/c/local/build/ecos/configtool/ecutils.o
/cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/ecutils.cpp
/cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/ecutils.cpp:
In static member function `static const wxString
ecUtils::NativeToPosixPath(const wxString&)':
/cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/ecutils.cpp:273:
error: `MAXPATHLEN' undeclared (first use this function)
/cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/ecutils.cpp:273:
error: (Each undeclared identifier is reported only once for each
function it app ears in.)
/cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/ecutils.cpp:
In static member function `static const wxString
ecUtils::PosixToNativePath(const wxString&)':
/cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/ecutils.cpp:290:
error: `MAXPATHLEN' undeclared (first use this function)
make: *** [/cygdrive/c/local/build/ecos/configtool/ecutils.o] Error 1
What could possibly be wrong this time?
Cheers
David Fernandez