When I try to build a C++ project I get the error message in the title line. I am trying to help my son move his development from a unix cluster to his laptop. He is running Windows XP Pro and has installed the Eclipse IDE for C/C++ Developers. The version is Helios Repease 20100617-1415. He also has installed cygwin 1.7.7. The problem is (I think) related to ticpp. The error message from the compiler is
make: ***target pattern contains no '%'. Stop.
When I click on the error message it takes me to the following section of subdir.mk
# Each subdirectory must supply rules for building sources it contributes
ticpp-read-only/ticpp.o: D:/FRODAN/frodaN_home/ticpp-read-only/ticpp.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cygwin C++ Compiler'
g++ -IE:/cygwin/lib/gcc/i686-pc-cygwin/3.4.4/include -I"D:\FRODAN\frodaN_home\frodaN" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<"
@echo 'Finished building: $<'
@echo ' '
Can anyone tell me what this error message means and what I can do to resolve it? I have done most of my development in (many years of coding) with a simple text editor. Any projects developed under a GUI were in Visual Studio so I know very little about eclipse.