Hey everyone:
Sorry if this has been solved elsewhere. This forum is running WAY too slow for me this morning + I'm desparite, Ticked-off, and kinda in a hurry.
I've been enjoying developing for Ubuntu (8.10) and C:B (8.02) since Jan 1st. Until last night everything was going smooth until I installed intel C/C++.
I have a workspace going with a few statc lib projects, and a console app to test the libs. I installed intel c as per the instructions and just to see if it worked I changed the compiler of my test project to intel c. The compiler did not work (invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]), so I quit C:B without saving changes, and spent about 3 hours with google. I pieced it all together bit by bit, and finialy was able to create a SDL project from the new project templates and compile it and run it. Naturally I was excited, so I loaded up my workspace and it crashed during loading. So I went to my Dropbox (online backup) and tried loading yesterdays workspace and still a crash. It does get right to the end of the load 'cause i can see my source teasing me behind the crash report.
I did try loading each project into a blank workspace one at a time, and it realy does seem to crash only on my test app project.
I can provide the crash report if it helps. For now I thought I'd supply a few files of intrest to see if someone knows something...
Heres a block of text that I had to add to .bashrc and .profile. This same block is at the bottom of each file:
# Intel Compiler
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/Compiler/11.0/083/lib/ia32
export PATH=$PATH:/opt/intel/Compiler/11.0/083/bin/ia32
export LANG=C
export LC_ALL=C
...Don't know if it means much to C:B, but it does make Intel C work. And here's my .CBP file that won't load...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="TestICD" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/TestICD" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option external_deps="../Lib/Debug/libICD.a;" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-pg" />
<Add option="-g" />
</Compiler>
<Linker>
<Add option="-pg" />
<Add library="../ScriptEngine/DebugLib/libScriptEngine.a" />
<Add library="../Lib/Debug/libICD.a" />
<Add library="../TinyXML/Lib/Debug/libTinyXML.a" />
</Linker>
</Target>
<Target title="Release">
<Option output="bin/Release/TestICD" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option external_deps="../Lib/Release/libICD.a;" />
<Option type="1" />
<Option compiler="gcc" />
<Option use_console_runner="0" />
<Compiler>
<Add option="-march=pentium4" />
<Add option="-fexpensive-optimizations" />
<Add option="-O3" />
<Add option="-O2" />
<Add option="-O1" />
<Add option="-O" />
</Compiler>
<Linker>
<Add option="-s" />
<Add library="../ScriptEngine/ReleaseLib/libScriptEngine.a" />
<Add library="../Lib/Release/libICD.a" />
<Add library="../TinyXML/Lib/Release/libTinyXML.a" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="`sdl-config --cflags`" />
</Compiler>
<Linker>
<Add option="`sdl-config --libs –cflags`" />
<Add library="GL" />
<Add library="X11" />
</Linker>
<Unit filename="ICDMain.cpp">
<Option weight="100" />
</Unit>
<Unit filename="cb.bmp" />
<Extensions>
<envvars />
<code_completion />
<debugger>
<search_path add="../bin/Debug" />
<search_path add="bin/Debug" />
<search_path add="obj/Debug" />
<search_path add="../Lib/Debug" />
<search_path add="../obj/Debug" />
</debugger>
<lib_finder disable_auto="1">
<lib name="gl" />
</lib_finder>
</Extensions>
</Project>
</CodeBlocks_project_file>
...Looks fine to me!!! and here's the .xml
<?xml version="1.0" ?>
<ICDConfig>
<!-- Settings for ICD -->
<ScreenMode>
<Window name="MainFrame" x="5" y="15" w="400" h="250" />
</ScreenMode>
<Connection ip="xxx.xxx.x.x" timeout="123.456000" />
</ICDConfig>
...Connection ip was edited. .The .depend is long and boring so I'll skip that. Here's the last few lines from
debug report.
<frame level="30" function="g_main_context_dispatch" offset="000001e8"/>
<frame level="31"/>
<frame level="32" function="g_main_loop_run" offset="000001d2"/>
<frame level="33" function="gtk_main" offset="000000b9"/>
<frame level="34" function="wxEventLoop::Run()" offset="00000045"/>
<frame level="35" function="wxAppBase::MainLoop()" offset="0000004e"/>
<frame level="36" function="wxAppBase::OnRun()" offset="00000021"/>
<frame level="37" file="/build/buildd/codeblocks-8.02/src/src/appglobals.h" line="589"/>
</stack>
</report>
...And the .layout file:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_layout_file>
<ActiveTarget name="Debug" />
<File name="ICDMain.cpp" open="1" top="1" tabpos="1">
<Cursor position="6397" topLine="196" />
</File>
</CodeBlocks_layout_file>
...Cursor position is weird - if it's a line number I don't have 6397 lines yet. I did edit it and tried a few
smaller numbers and still no go-ski.
Any advice? I've reinstalled C:B and nothing. It will load, compile and run other console apps like mine with either GnuC or IntelC - it just don't like the one that I've spent the last 3 months working on anymore!
Of course I can make a new project, but I think it's important to bust this ghost. If I can't I don't know if I can continue using C:B knowing that it may break at anytime. The fact that it wont load yesterdays backup before any changes (that I didn't save) is spooky to me!
Thanks for any and all help - I always seem to need lots of it!