Hi Didac,
Am 2015-06-10 12:18, schrieb Didac Busquets:
> I'm using Windows 8 (64 bits) and Cygwin 2.871.
We do not compile regularly on Cygwin, we use Visual Studio for the
windows build,
you might run into troubles with the GUI (Fox-Toolkit) as well.
> First of all, when running 'make -f Makefile.cvs', I get the following
> suggestion:
>
> autoreconf -i
> libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to
> configure.ac,
> libtoolize: and rerunning libtoolize and aclocal.
> libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
That is not unusual, I do get this as well on some platforms.
> For now I've ignored it and continue with the standard './configure;
> make' procedure, which leads me to the first compilation error:
>
> BiArc.cpp: In member function 'void BiArc::compute_biarc_params()':
> BiArc.cpp:17:17: error: 'HUGE' was not declared in this scope
> params.K1 = HUGE;
>
> Indeed, the variable HUGE is not declared anywhere.
It is declared in math.h, I added the include.
> Then, the next error I get is:
>
> SysUtils.cpp: In static member function 'static long unsigned int
> SysUtils::runHiddenCommand(const string&)':
> SysUtils.cpp:101:54: error: cannot convert 'long unsigned int*' to
> 'LPDWORD {aka unsigned int*}' for argument '2' to 'WINBOOL
> GetExitCodeProcess(HANDLE, LPDWORD)'
> if (!GetExitCodeProcess(ProcessInfo.hProcess, &rc)) {
This code is Windows specific but probably targeted to the Visual Studio
compiler.
I tried to change the ifdef, please report whether it works now. If not,
you can safely remove this function altogether. It is only needed for
the internal sumo build anyway.
Regards,
Michael
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user