Thanks Michael,

Both fixes worked.

However I'm now running into more troubles.

When trying to compile src/marouter I get the following linker error (I also 
include the linker command):

libtool: link: g++ -O2 -DNDEBUG -msse2 -mfpmath=sse -o .libs/marouter.exe 
marouter_main.o ROMAAssignments.o ROMAEdge.o ROMAEdgeBuilder.o ROMAFrame.o  
../router/librouter.a ../od/libod.a ../utils/distribution/libdistribution.a 
../utils/options/liboptions.a ../utils/xml/libxml.a 
../utils/vehicle/libvehicle.a ../utils/common/libcommon.a 
../utils/importio/libimportio.a ../utils/iodevices/libiodevices.a 
../utils/geom/libgeom.a ../utils/emissions/libemissions.a 
../foreign/tcpip/libtcpip.a -lxerces-c -L/cygdrive/c/libs/fox-1.6.50/lib 
-lFOX-1.6 -lcomctl32 -lwsock32 -lwinspool -lmpr -lgdi32 -limm32 -lfreetype 
-lXft -ldl -lpthread -lrt -lz -lglu32 -lopengl32

../router/librouter.a(ROEdge.o):ROEdge.cpp:(.text+0x8fe): undefined reference 
to `FX::FXMutex::lock()'

[and many other referring to other FX calls]

It clearly looks as a problem with the FOX library. If it's of any help, the 
compilation of src/utils/foxtools/libfoxtools.a didn't give any problem.

I'm using Fox 1.6.50, which has been compiled with Visual C++ 2013.

Any suggestions?

Thank you,


Didac Busquets
Senior Technologist

Transport Systems Catapult
3rd floor, The Pinnacle
170 Midsummer Boulevard
Milton Keynes
MK9 1BP

Tel: +44 (0) 1902 359 999 Ext: 1126
[email protected]

________________________________________
From: Michael Behrisch <[email protected]>
Sent: Wednesday, June 10, 2015 3:12 PM
To: Didac Busquets
Cc: [email protected]
Subject: Re: [sumo-user] Problems compiling SUMO on Windows 8

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

The Transport Systems Catapult is one of a network of elite technology and 
innovation centres established by Innovate UK as a long-term investment in the 
UK’s economic capability. Applying business-led research, Catapults help 
businesses transform great ideas into valuable products and services to compete 
in the global markets of tomorrow. Transport Systems Catapult is a company 
limited by guarantee, registered in England and Wales with company number 
08041919. Registered office: The Pinnacle, Midsummer Boulevard, Milton Keynes, 
Bucks, MK9 1BP. This email and any attachments are confidential and intended 
solely for the use of the recipient(s) to whom they are addressed. If you have 
received it in error, please destroy all copies and inform the sender.
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to