I'm new to C:B so please be patient. I'm using C:B and the VC 2003 compiler. I did a sample exe program and sorted out all the libraries I needed. It eventually worked fine. I now want to create an API-based DLL which I have converted from a VC6 project. I got this error:
"fatal error C1083: Cannot open compiler generated file: 'D:\Documents and Settings\James\Mes documents\.objs\C:\ezife\ezife7.1\ezife.obj': Invalid argument Process terminated with status 1 (0 minutes, 0 seconds)"
This seemed a simple problem with the default file directories in the projects/targets box, but I could not alter the source file paths within the IDE, so I edited the cbp file to remove the paths of ezife.cpp, api_grid.cpp and languagefile.cpp which led to this error:
"fatal error LNK1181 cannot open input file 'D:\Documents and Settings\James\Mes documents\.objs\ezife.obj"
Well Of course the file ezife.obj hasn't been created yet. I used Build/clean to attempt to force the ide to start from scratch but it still reports the same error. I cannot see what to try next because there is no apparent logic to this problem; I hope it makes sense to someone else though. Can anyone help?
here is the cbp file:
<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_project_file>
<CodeBlocks_project_file>
<FileVersion major="1" minor="1"/>
<Project>
<Option title="Win32 Application"/>
<Option makefile="Makefile"/>
<Option makefile_is_custom="0"/>
<Option active_target="0"/>
<Option compiler="1"/>
<Build>
<Target title="default">
<Option output="femtools.dll"/>
<Option working_dir="."/>
<Option object_output="D:\Documents and Settings\James\Mes documents\.objs"/>
<Option deps_output="D:\Documents and Settings\James\Mes documents\.deps"/>
<Option type="0"/>
<Option compiler="1"/>
<Option includeInTargetAll="0"/>
<Option projectResourceIncludeDirsRelation="0"/>
<Compiler>
<Add option="/MT"/>
<Add option="/GA"/>
<Add option="/G7"/>
<Add option="/Ox"/>
<Add option="/W1"/>
</Compiler>
</Target>
</Build>
<Compiler>
<Add option="/MT"/>
<Add option="/DAPI_INTERFACE"/>
</Compiler>
<Linker>
<Add library="gdi32"/>
<Add library="user32"/>
<Add library="kernel32"/>
</Linker>
<Unit filename="C:\ezife\ezife7.1\api_grid.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="C:\ezife\ezife7.1\ezife.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="C:\ezife\ezife7.1\languagefile.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
</Project>
</CodeBlocks_project_file>