Hi,
I know that it is easy for you but ..., so please help me!
I checked out the Apache APR source from the
http://svn.apache.org/repos/asf/apr/apr/trunkinto the D:\temp\asf\apr\apr\trunk local folder. Then, using CodeBlocks 10.05's MS Visual C++
workspace importer I imported the D:\temp\asf\apr\trunk\apr.dsw.
There are more projects inside this workspace but only two of them are relevant: apr and libapr.
The first one is a static library and after setting the up the environmet it builds fine,
without errors and produces an .a file as it is specified in the target options:
D:\temp\asf\apr\trunk\LibR\libapr.a
The second project fails with the follwing message and do not produces the DLL:
Linking dynamic library: D:\temp\asf\apr\trunk\Release\libapr-2.dll
mingw32-g++.exe: 0x6EEC0000: No such file or directory
mingw32-g++.exe: Release\libapr-2: No such file or directory
Process terminated with status 1 (0 minutes, 25 seconds)
0 errors, 20 warnings
The target looks like this:
<Target title="Win32 Release">
<Option output="D:\temp\asf\apr\trunk\Release\libapr-2.dll" prefix_auto="0" extension_auto="0" />
<Option object_output="D:\temp\asf\apr\trunk\Release" />
<Option type="3" />
<Option compiler="gcc" />
<Option createDefFile="1" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-W" />
<Add option="-O2" />
<Add option="-DWIN32" />
<Add option="-DNDEBUG" />
<Add option="-D_WINDOWS" />
<Add option="-g" />
<Add option="-DAPR_DECLARE_EXPORT" />
<Add option="-DWINNT" />
<Add directory="D:\temp\asf\apr\trunk\include" />
<Add directory="D:\temp\asf\apr\trunk\include\private" />
<Add directory="D:\temp\asf\apr\trunk\include\arch\win32" />
<Add directory="D:\temp\asf\apr\trunk\include\arch\unix" />
<Add directory="D:\temp\expat\expat-2.0.1\lib" />
</Compiler>
<ResourceCompiler>
<Add directory=".\include" />
</ResourceCompiler>
<Linker>
<Add option="--image-base 0x6EEC0000" />
<Add library="kernel32" />
<Add library="advapi32" />
<Add library="ws2_32" />
<Add library="mswsock" />
<Add library="ole32" />
<Add library="shell32" />
<Add library="rpcrt4" />
<Add library="libexpat" />
<Add directory="D:\temp\expat\expat-2.0.1\win32\bin\Release" />
</Linker>
<ExtraCommands>
<Add after="if exist $(TargetPath).manifest mt.exe -manifest $(TargetPath).manifest -outputresource:$(TargetPath);2" />
</ExtraCommands>
</Target>
The linker is looking for an existing libapr-2.dll file or will create it?
SK