Code: Select all
Input Line Too Long
mingw32-make.exe: *** [../../bin/Debug/glue_wxd.dll] Error 255
Code: Select all
Input Line Too Long
mingw32-make.exe: *** [../../bin/Debug/glue_wxd.dll] Error 255
Code: Select all
obj/Debug/WX
Code: Select all
objd/WX
Code: Select all
../../src/WX/src/
Code: Select all
src/WX/src/
Code: Select all
../../src/WX/src/$(IntermediateDirectory)/AboutDialogInfoClass$(ObjectSuffix)
Code: Select all
$(IntermediateDirectory)/AboutDialogInfoClass$(ObjectSuffix)
Nope.fbronx wrote:Is this possible?
I think it's better to keep projects in separate folders of the workspace folder. Then object files are in separate folders too, so they can't conflict with other projects.eranif wrote:Doing so will prevent codelite from working with projects which has files with the same file name but under different directories.fbronx wrote:Is this possible?
For example:
path_one/file.cpp
path_two/file.cpp
Using your approach, both object files will be generated under the same intermediate directory so they will override each other which will cause link error.
Using the current approach, this is possible.
I haven't tried it, but this is a temporary solution, because there are still a lot of classes to add.eranif wrote: Btw, did u try to rename the intermediate directory like I suggested?
Eran
Code: Select all
$(CompilerName) $(SourceSwitch) "$(FileFullPath)" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/$(FileName)$(ObjectSuffix) $(IncludePath)
Code: Select all
../../src/WX/src/$(IntermediateDirectory)/AboutDialogInfoClass$(ObjectSuffix): ../../src/WX/src/AboutDialogInfoClass.cpp
@makedir "../../src/WX/src/obj/WX/Debug"
$(CompilerName) $(SourceSwitch) "C:/development/GLUEscript/src/WX/src/AboutDialogInfoClass.cpp" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/AboutDialogInfoClass$(ObjectSuffix) $(IncludePath)
I agree with you. However, what do you do when you got the same file name under the same project?fbronx wrote:I think it's better to keep projects in separate folders of the workspace folder. Then object files are in separate folders too, so they can't conflict with other projects.
Even if we will place all the objects under the same directory, it is also a temporary solution, since eventually the linker will complain again (once it will hit its limit). The correct solution is to break your project into sub-projects.fbronx wrote: I haven't tried it, but this is a temporary solution, because there are still a lot of classes to add.
I had this problem when I imported cURL into my source tree and had two files: curl.c and curl.cpp with resulted into the same object file. I solved this problem by renaming my files following the POCO C++ standard (meaning my curl.cpp was renamed into CurlClass.cpp, the suffix Class is because this file implements a JavaScript Class).I agree with you. However, what do you do when you got the same file name under the same project?
Can't we use wildcards then?Even if we will place all the objects under the same directory, it is also a temporary solution, since eventually the linker will complain again (once it will hit its limit). The correct solution is to break your project into sub-projects.
I use the latest official releaseBtw, are you using SVN version of codelite? or an official release?