User forums > Help
begginer having hard time with "hello world"
stahta01:
My post of build log for bcc 5.5
--- Code: ----------------- Build: Debug in Test ---------------
bcc32.exe -q -w -x -v -IC:\Apps\BCC55\include -IF:\SourceCode\Projects\IDEs\CodeBlocks\Test\Test -oobj\Debug\main.obj -c main.cpp
main.cpp:
ilink32.exe -q -ap -v -LC:\Apps\BCC55\lib c0x32 obj\Debug\main.obj ,bin\Debug\Test.exe,,cw32mt.lib import32.lib ,,
Output size is 119.00 KB
--- End code ---
Based on your output above, your search directory is wrong for the linker or a library is missing.
Does the folder "C:\Borland\BCC55\lib" exist?
It looks like library cw32mt is not on the linker command line.
Try adding it.
How to add libraries
"Project" -> "Build Options"
Select "Linker Settings"
Add Libraries under "Link Libraries"
Mine shows these two
cw32mt.lib
import32.lib
Note, the library order may matter; mine was in the order shown above.
What version of Code::Blocks are you using?
I am using SVN 4697.
What is your bcc install base folder? The one that contains sub-folders of bin, lib and include.
Tim S
MegaManZZ:
thanks, your a lifesaver. i get this now -
++++++++++++++++++++++++++++++++++++
Project : Console application
Compiler : Borland C++ Compiler 5.5 (called directly)
Directory : C:\Documents and Settings\toshiba\My Documents\Programs\
--------------------------------------------------------------------------------
Switching to target: default
ilink32.exe -ap -L"C:\Borland\BCC55\lib" c0x32 .objs\main.obj ,"C:\Documents and Settings\toshiba\My Documents\Programs\console.exe",, "C:\Borland\BCC55\Lib\cw32mt.lib" "C:\Borland\BCC55\Lib\import32.lib" "C:\Borland\BCC55\Lib\cw32mt.lib" "C:\Borland\BCC55\Lib\import32.lib" ,,
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
+++++++++++++++++++++++++++++++++++++++++++++++
using ver: 1.0rc2 (wasn't able to find any version numbers that start with SVN?)
folder "C:\Borland\BCC55\lib" does exist.
my install base folder is "C:\Borland\BCC55"
Im just starting to learn programming so there very well be something i missed when installing. Altho i do know i've tried many tutorials.
stahta01:
I suggest updating to a nightly build.
Most people assume you are using an recent Nightly Build; I would use one that works for at most 3 to 6 months.
They can be found in this forum.
http://forums.codeblocks.org/index.php/board,20.0.html
Tim S
MegaManZZ:
problem solved!!!!!
It was a problem when i was creating the bcc32.cfg and the link32.cfg in the bin.
needed to be more specific with the caps!.. :?
MegaManZZ:
the nightly build is intriguing:.. i will investigate further.
Navigation
[0] Message Index
[*] Previous page
Go to full version