[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #MZK-350035]: building udunits 2.2.24 on windows with VS2013


> ./configure --prefix=/cygdrive/c/temp/ud CC=/bin/gcc
> I had earlier set this
> export LDFLAGS='/cygwin/c/Program Files (x86)\Expat 2.2.0\Bin'
> export LIBS=libexpat.lib

Assuming the Expat header-files are in 
"/cygwin/c/Program Files (x86)\Expat 2.2.0\Include", and the Expat library
is in "/cygwin/c/Program Files (x86)\Expat 2.2.0\Lib", Try this:

    ./configure --prefix=/cygdrive/c/temp/ud CC=/bin/gcc \
        CPPFLAGS='"-I/cygwin/c/Program Files (x86)/Expat 2.2.0/Include"' \
        LIBS='"-L/cygwin/c/Program Files (x86)/Expat 2.2.0/Lib" -lexpat' \
        >configure.log 2>&1

You'll probably have to play around with quoting and escaping.
Alternatively, rename the directories to remove the spaces in their

Steve Emmerson

Ticket Details
Ticket ID: MZK-350035
Department: Support UDUNITS
Priority: Normal
Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.