Codelite/Wxwidgets/MinGW installed from "codelite-4.1.5770-mingw4.6.1-wx2.9.4.exe"
Since upgrading to Codelite 4.1, I haven't been able to link a static library that depends on another static library. (This worked fine prior to the upgrade)
The issue appears to be that the linker isn't finding the dependant static library
I've tried several different ways of specifying the Library Path in the Settings such as
Code: Select all
$(WorkspacePath)/WxReusablesLib/Debug
../WxReusablesLib/Debug
D:/CodeLiteWorkspaces/ActiveProjects/WxReusablesLib/Debug
Code: Select all
----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -e -j 2 -f "ActiveProjects_wsp.mk""
----------Building project:[ WxReusablesLib - Debug ]----------
mingw32-make.exe[1]: Entering directory `D:/CodeLiteWorkspaces/ActiveProjects/WxReusablesLib'
mingw32-make.exe[1]: Nothing to be done for `all'.
mingw32-make.exe[1]: Leaving directory `D:/CodeLiteWorkspaces/ActiveProjects/WxReusablesLib'
----------Building project:[ WxSudokuSolverLib - Debug ]----------
mingw32-make.exe[1]: Entering directory `D:/CodeLiteWorkspaces/ActiveProjects/WxSudokuSolverLib'
ar rcus ./Debug/libWxSudokuSolverLib.a @"D:\CodeLiteWorkspaces\ActiveProjects\WxSudokuSolverLib\WxSudokuSolverLib.txt" "libWxReusablesLib.a"
ar: libWxReusablesLib.a: No such file or directory
mingw32-make.exe[1]: *** [Debug/libWxSudokuSolverLib.a] Error 1
mingw32-make.exe: *** [All] Error 2
WxSudokuSolverLib.mk:80: recipe for target `Debug/libWxSudokuSolverLib.a' failed
mingw32-make.exe[1]: Leaving directory `D:/CodeLiteWorkspaces/ActiveProjects/WxSudokuSolverLib'
ActiveProjects_wsp.mk:4: recipe for target `All' failed
----------Build Ended----------
0 errors, 0 warnings
Thanks, Colin