Community
Participate
Working Groups
Hi, Eclipse SDK : Version: 3.2.0, Build id: M20060629-1905 CDT: 3.1.0.200606261600 (Install/Update wizard: http://download.eclipse.org/tools/cdt/releases/eclipse3.1) I create a managed make C++ project and one .cpp file with a main function. If i open the context menu for the project and select "build project" i get a error: Build error (Exec error:Launching failed) After i controled the makefile i have noticed that there is a error in the following line: g++ -o"Test.exe" $(OBJS) $(USER_OBJS) $(LIBS) ( context: # Tool invocations Test.exe: $(OBJS) $(USER_OBJS) @echo 'Building target: $@' @echo 'Invoking: GCC C++ Linker' g++ -o"Test.exe" $(OBJS) $(USER_OBJS) $(LIBS) @echo 'Finished building target: $@' @echo ' ' ) The blank is missing after the parameter "-o". (Thats why the build break off !??) The same error occurs in the subdir.mk file: g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" but this i can fix on my own by changing the project configuration (project->build->Tool Settings->Comand line pattern) ${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} <-old ${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS} <-new I hope the description is correct and all needed information are present. regards Michael