Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Managed build on Windows fails with linked folders

Hi folks,
 
I tried to create a managed make project which has sources in a linked
folder. To my surprise the build stopped immediately with the message
(snippet from console)
 
===============================
**** Build of configuration Debug for project quill-managed ****
 
make -k all 
qhull-src/subdir.mk:94: *** target pattern contains no `%'.  Stop.
Build complete for project quill-managed

===============================
 
The cause is probably that the MBS translates paths for resources in a
linked folder into Windows-style absolute paths like so (snippet from
subdir.mk)
 
=============================== 
########################################################################
########
# Automatically-generated file. Do not edit!
########################################################################
########
 
# Add inputs and outputs from these tool invocations to the build
variables 
C_SRCS += \
D:/Temp/Workshop/qhull-2003.1/src/geom.c \
D:/Temp/Workshop/qhull-2003.1/src/geom2.c \
...
===============================
 
The paths contain the ':' special character, and cygwin make chokes on
them. I found a message in a cygwin mailing list
 
http://www.cygwin.com/ml/cygwin/2006-07/msg00373.html
 
which indicates that this was not always so, but that make stopped to
recognize Windows-style paths in it's latest version.
 
Any comments on this? Can anybody show a workaround? Shall we make this
a bugzilla?
 
 
Greetings,
 
 
 
Norbert
 


Back to the top