Code: Select all
----------Build Started--------
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "HelloWorld_wsp.mk""
----------Building project:[ HelloWorld - Debug ]----------
process_begin: CreateProcess(NULL, wx-config --cxxflags --unicode=yes --static=no --universal=no --debug=yes, ...) failed.
process_begin: CreateProcess(NULL, wx-config --rcflags, ...) failed.
process_begin: CreateProcess(NULL, wx-config --debug=yes --libs --unicode=yes --static=no --universal=no, ...) failed.
mingw32-make.exe[1]: Entering directory `E:/program/Cpp_practice/HelloWorld/HelloWorld'
'makedir' is not recognized as an internal or external command,
operable program or batch file.
'makedir' is not recognized as an internal or external command,
operable program or batch file.
mingw32-make.exe[1]: *** [makeDirStep] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
mingw32-make.exe[1]: *** [Debug/helloworld.o.d] Error 1
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory `E:/program/Cpp_practice/HelloWorld/HelloWorld'
----------Build Ended----------
0 errors, 0 warnings
here is the project makefile:
Code: Select all
##
## Auto Generated makefile, please do not edit
##
UNIT_TEST_PP_SRC_DIR:=C:\UnitTest++-1.3
SHELL:=CMD.EXE
PATH:=C:\MinGW-4.4.0\bin;C:\MinGW-4.4.0\libexec\gcc\mingw32\4.4.0;C:\msys\1.0\bin
WXWIN:=C:\wxWidgets-2.8.10
WXCFG:=gcc_dll\mswu
ProjectName:=HelloWorld
## Debug
ConfigurationName :=Debug
IntermediateDirectory :=./Debug
OutDir := $(IntermediateDirectory)
WorkspacePath := "E:\program\Cpp_practice\HelloWorld"
ProjectPath := "E:\program\Cpp_practice\HelloWorld\HelloWorld"
CurrentFileName :=
CurrentFulePath :=
CurrentFileFullPath :=
User :=GXJ
Date :=03/05/10
CodeLitePath :="C:\Program Files\CodeLite"
LinkerName :=g++
ArchiveTool :=ar rcus
SharedObjectLinkerName :=g++ -shared -fPIC
ObjectSuffix :=.o
DependSuffix :=.o.d
PreprocessSuffix :=
DebugSwitch :=-gstab
IncludeSwitch :=-I
LibrarySwitch :=-l
OutputSwitch :=-o
LibraryPathSwitch :=-L
PreprocessorSwitch :=-D
SourceSwitch :=-c
CompilerName :=g++
OutputFile :=$(IntermediateDirectory)/HelloWorld
Preprocessors :=$(PreprocessorSwitch)__WX__
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=
CmpOptions := -g $(shell wx-config --cxxflags --unicode=yes --static=no --universal=no --debug=yes ) $(Preprocessors)
RcCmpOptions := $(shell wx-config --rcflags)
RcCompilerName :=windres
LinkOptions := $(shell wx-config --debug=yes --libs --unicode=yes --static=no --universal=no ) -mwindows
IncludePath := "$(IncludeSwitch)C:/wxWidgets-2.8.10/include" "$(IncludeSwitch)."
RcIncludePath :=
Libs :=
LibPath :="$(LibraryPathSwitch)C:/wxWidgets-2.8.10/lib" "$(LibraryPathSwitch)."
Objects=$(IntermediateDirectory)/helloworld$(ObjectSuffix) $(IntermediateDirectory)/resources.rc$(ObjectSuffix)
##
## Main Build Tragets
##
all: $(OutputFile)
$(OutputFile): makeDirStep $(Objects)
@makedir $(@D)
$(LinkerName) $(OutputSwitch)$(OutputFile) $(Objects) $(LibPath) $(Libs) $(LinkOptions)
makeDirStep:
@makedir "./Debug"
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/helloworld$(ObjectSuffix): helloworld.cpp $(IntermediateDirectory)/helloworld$(DependSuffix)
@makedir "./Debug"
$(CompilerName) $(SourceSwitch) "E:/program/Cpp_practice/HelloWorld/HelloWorld/helloworld.cpp" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/helloworld$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/helloworld$(DependSuffix): helloworld.cpp
@makedir "./Debug"
@$(CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/helloworld$(ObjectSuffix) -MF$(IntermediateDirectory)/helloworld$(DependSuffix) -MM "E:/program/Cpp_practice/HelloWorld/HelloWorld/helloworld.cpp"
$(IntermediateDirectory)/resources.rc$(ObjectSuffix): resources.rc
@makedir "./Debug"
$(RcCompilerName) -i "E:/program/Cpp_practice/HelloWorld/HelloWorld/resources.rc" $(RcCmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/resources.rc$(ObjectSuffix) $(RcIncludePath)
##
## Clean
##
clean:
$(RM) $(IntermediateDirectory)/helloworld$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/helloworld$(DependSuffix)
$(RM) $(IntermediateDirectory)/helloworld$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/resources.rc$(ObjectSuffix)
$(RM) $(OutputFile)
$(RM) $(OutputFile).exe
-include $(IntermediateDirectory)/*$(DependSuffix)
thanks ahead for any help...