I think this list doesn't want toppost... find my answer at the end On 5/1/08, Andy Jackson <[EMAIL PROTECTED]> wrote: > Hello David, > > I loose track, but I think the fix to this one is to change the include at > the top of ecutils.cpp to something like this: > > #ifdef __CYGWIN__ > #ifdef ORIGINAL_CODE > #include <sys/cygwin.h> /* for cygwin_conv_to_*_path() */ > #else > #include <sys/cygwin.h> /* for cygwin_conv_to_*_path() */ > #include <sys/param.h> // For MAXPATHLEN > #endif > #endif > > Hope that helps, > > Andy > > > > David Fernandez wrote: > > 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 > > > > > > >
Now I get: 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/tools/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/folderdlg.o /cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/folderdlg.cpp /cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/folderdlg.cpp: In member function `void ecFolderDialog::OnInitDialog(wxInitDialogEvent&)': /cygdrive/c/local/ecos/host/tools/configtool/standalone/wxwin/folderdlg.cpp:106: error: 'class wxComboBox' has no member named 'Number' make: *** [/cygdrive/c/local/build/ecos/configtool/folderdlg.o] Error 1 I thought this thing was stable, specially after what was mentioned in the ecoscentric page about the cygwin bug fixed... I even was able to build it some time ago!... I guess either this get broken quite easily or there is something more fundamental I'm doing wrong. Cheers -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
