yes, I have read this post, still could not fix the problem
http://forums.codeblocks.org/index.php?topic=2218.0when I try to built a static library, new nightly build, Winxp-pro
this is error output when I compile a static lib project (a simple static lib project auto-generated by cb)
-------------- Build: Debug in slib ---------------
Compiling: main.c
Linking static library: libslib.a
ar.exe: libslib.a: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
"no such file or directory", what does this mean? could not find ar.exe or the object files?
(1) the problem occurred after I manually delete all keys of code::blocks in registry table when I tried to have a clean new install.
also cleaned the confiugreation folder under the "document and setting\ ... " folder,
(2)cannot repeat this problem in another machine, I compared the cbp files, exact the same,
I guess the problem is caused some setting saved in registry table. just wonder how to clean cb completely from the system,
(3) the following is a project file generate by creating a new static lib, don't know if something wrong here
(4) when I re-install the
rc2, no such problem,
thanks
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="5" />
<Project>
<Option title="slib" />
<Option pch_mode="2" />
<Option default_target="" />
<Option compiler="gcc" />
<Option virtualFolders="" />
<Build>
<Target title="Debug">
<Option output="libslib.a" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj\Debug\" />
<Option type="2" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="libslib.a" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj\Release\" />
<Option type="2" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
</Compiler>
<Unit filename="main.c">
<Option compilerVar="CC" />
<Option target="Debug" />
<Option target="Release" />
</Unit>
<Extensions />
</Project>
</CodeBlocks_project_file>