Author Topic: ar.exe: \;: No such file or directory  (Read 13102 times)

Offline Acki

  • Multiple posting newcomer
  • *
  • Posts: 100
ar.exe: \;: No such file or directory
« on: February 01, 2006, 08:23:49 pm »
Hi,
now I have a problem with ar.exe...
I'm creating a static lib.
All files are compiling well.
At the end of the compiling process I get this error:
Code
Linking static library: out\libIrrlicht.a
ar.exe: creating out\libIrrlicht.a
ar.exe: \;: No such file or directory
Process terminated with status 1 (2 minutes, 52 seconds)
0 errors, 0 warnings
No files are created !!! :(
But I didn't set any path to \; !!!
I checked all settings and it seems all to be correct...

What could cause this error ???

I often compiled this lib as static and had never problems...
So it's over my head - what's wrong now...
I'm using W2k(sp3)...

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: ar.exe: \;: No such file or directory
« Reply #1 on: February 01, 2006, 08:37:12 pm »
Hello,

which version of C::B are you using? Could you post your project? That would help.

Best wishes,
Michael

Offline Acki

  • Multiple posting newcomer
  • *
  • Posts: 100
Re: ar.exe: \;: No such file or directory
« Reply #2 on: February 01, 2006, 08:41:19 pm »
I'm using C::B V1.0rc2...
What do you mean by posting my project ???
If you see, this project is verry huge - compiling time more than 2 minutes (on Celeron 2.66 GH)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: ar.exe: \;: No such file or directory
« Reply #3 on: February 01, 2006, 08:48:03 pm »
I'm using C::B V1.0rc2...

If you can/want, I would advice to give a try to the latest nightly build. May be your problem is already solved.

What do you mean by posting my project ???
If you see, this project is verry huge - compiling time more than 2 minutes (on Celeron 2.66 GH)

Yes, I was thinking it was relatively huge. May be just the project file, i.e., .cbp would sufficient to check if all is ok.

Best wishes,
Michael

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: ar.exe: \;: No such file or directory
« Reply #4 on: February 01, 2006, 08:54:25 pm »
follow up the advice from Michael, very good advice (switch to nightly) and let us have a look at the cbp file.

Offline Acki

  • Multiple posting newcomer
  • *
  • Posts: 100
Re: ar.exe: \;: No such file or directory
« Reply #5 on: February 01, 2006, 08:55:24 pm »
Where do I get the nightly build ???

Here is my project file (also preatty huge):
Code
<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_project_file>
<CodeBlocks_project_file>
<FileVersion major="1" minor="1"/>
<Project>
<Option title="Irrlicht"/>
<Option makefile="Makefile"/>
<Option makefile_is_custom="0"/>
<Option default_target="-1"/>
<Option compiler="0"/>
<Build>
<Target title="default">
<Option output="out\libIrrlicht.a"/>
<Option working_dir=""/>
<Option object_output=".obj"/>
<Option deps_output=".deps"/>
<Option type="2"/>
<Option compiler="0"/>
<Option createDefFile="1"/>
<Option projectResourceIncludeDirsRelation="2"/>
</Target>
</Build>
<Compiler>
<Add option="-fexpensive-optimizations"/>
<Add option="-Os"/>
<Add option="-O3"/>
<Add option="-O"/>
<Add option="-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DIRRLICHT_EXPORTS"/>
<Add directory=".\include"/>
<Add directory=".\zlib"/>
<Add directory="C:\CodeBlocks\include"/>
</Compiler>
<Linker>
<Add option="-s"/>
<Add option="C:\CodeBlocks\lib\libd3dx9.a"/>
<Add option="C:\CodeBlocks\lib\libd3dx8.a"/>
<Add library="kernel32"/>
<Add library="user32"/>
<Add library="gdi32"/>
<Add library="winspool"/>
<Add library="comdlg32"/>
<Add library="advapi32"/>
<Add library="shell32"/>
<Add library="ole32"/>
<Add library="oleaut32"/>
<Add library="uuid"/>
<Add library="odbc32"/>
<Add library="odbccp32"/>
<Add library="glu32"/>
<Add library="opengl32"/>
<Add directory="C:\CodeBlocks\lib"/>
</Linker>
<Unit filename="BuildInFont.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="C3DSMeshFileLoader.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="C3DSMeshFileLoader.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CAnimatedMeshMD2.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CAnimatedMeshMD2.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CAnimatedMeshMS3D.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CAnimatedMeshMS3D.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CAnimatedMeshSceneNode.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CAnimatedMeshSceneNode.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CBillboardSceneNode.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CBillboardSceneNode.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CCSMLoader.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CCSMLoader.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CCameraFPSSceneNode.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CCameraFPSSceneNode.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CCameraMayaSceneNode.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CCameraMayaSceneNode.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CCameraSceneNode.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CCameraSceneNode.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CColladaFileLoader.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CColladaFileLoader.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CColorConverter.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CColorConverter.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8Driver.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8Driver.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8MaterialRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8NormalMapRenderer.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8NormalMapRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8ParallaxMapRenderer.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8ParallaxMapRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8ShaderMaterialRenderer.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8ShaderMaterialRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8Texture.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D8Texture.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9Driver.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9Driver.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9HLSLMaterialRenderer.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9HLSLMaterialRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9MaterialRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9NormalMapRenderer.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9NormalMapRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9ParallaxMapRenderer.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9ParallaxMapRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9ShaderMaterialRenderer.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9ShaderMaterialRenderer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9Texture.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CD3D9Texture.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CDMFLoader.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CDMFLoader.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CDefaultMeshFormatLoader.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CDefaultMeshFormatLoader.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CDummyTransformationSceneNode.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CDummyTransformationSceneNode.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CEmptySceneNode.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CEmptySceneNode.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CFPSCounter.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CFPSCounter.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CFileList.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CFileList.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CFileSystem.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CFileSystem.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIButton.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIButton.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIChatBox.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIChatBox.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUICheckbox.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUICheckbox.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIComboBox.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIComboBox.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIContextMenu.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIContextMenu.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIEditBox.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIEditBox.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIEnvironment.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIEnvironment.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIFileOpenDialog.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIFileOpenDialog.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIFont.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIFont.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIImage.H">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIImage.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIInOutFader.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIInOutFader.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIListBox.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIListBox.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIMenu.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIMenu.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIMeshViewer.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIMeshViewer.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIMessageBox.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="CGUIMessageBox.h">
<Option compilerVar="CPP"/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>

sethjackson

  • Guest
Re: ar.exe: \;: No such file or directory
« Reply #6 on: February 01, 2006, 08:58:21 pm »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: ar.exe: \;: No such file or directory
« Reply #7 on: February 01, 2006, 08:59:30 pm »
in the forum , section nightly build :
http://forums.codeblocks.org/index.php?board=20.0

looking at your cbp file, don't see anything strange for the moment (the only thing I have never seen, is default target being -1), but that could be just limited knowledge from my side.

[EDIT] : Seth beat me to it  :D

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: ar.exe: \;: No such file or directory
« Reply #8 on: February 01, 2006, 09:09:34 pm »
looking at your cbp file, don't see anything strange for the moment (the only thing I have never seen, is default target being -1), but that could be just limited knowledge from my side.

Yes, I agree with killerbot. That -1 is strange. I have checked some C::B projects, but none of them has -1... :?

Michael

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: ar.exe: \;: No such file or directory
« Reply #9 on: February 01, 2006, 09:19:33 pm »
Suggestions :
1) download and install nightly
2) create a new static lib project (of the irrlight type) , start with adding just 1 file and see if it builds fine. Then compare manually the 2 cbp files, just xml, some things have changed. After the environment, compiler, linker options are done, well you could copy/paste all those Units (the actual source files) and see if still works. If it already fails with the small project with 1 file, things might be easier to spot.

Offline Acki

  • Multiple posting newcomer
  • *
  • Posts: 100
Re: ar.exe: \;: No such file or directory
« Reply #10 on: February 01, 2006, 10:48:39 pm »
Well, I got it working now...
But I still don't know what was the cause...
Because I previously had no problems to recompile this project, I thought it only could be something about the settings of C::B...
Now I deleted the whole C::B registry key "HKEY_CURRENT_USER\Software\Code::Blocks" (the one with all the settings)...
After starting C::B it sets all values to default and now I can compile the project again...  :)

And because the default target: it doesn't matter if it's -1, 0 or 1 - all the same ???
« Last Edit: February 01, 2006, 10:50:43 pm by Acki »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: ar.exe: \;: No such file or directory
« Reply #11 on: February 01, 2006, 10:50:47 pm »
well done, with the nightlies we have to do this also from time to time, then we don't delete stuff in the registry but we delete our default.conf, now it is in an conf (xml) file.
oh oh , where are the days that just rebooting the pc would fix things  :mrgreen:

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: ar.exe: \;: No such file or directory
« Reply #12 on: February 02, 2006, 11:15:39 am »
oh oh , where are the days that just rebooting the pc would fix things  :mrgreen:

Yeah...soft reset, hard reset...And all woked again :D...Or broken forever :(...What for a time it was... :D

Michael