Thread: Rookie in need of some compiler startup help

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    4

    Rookie in need of some compiler startup help

    Ok, I've been battling with this for 2 days now. I'm using UltraEdit and Borland's free compiler. I'm new to all this. I've been trying to compile this simple template:

    Code:
    // C++ code template
    #include <iostream.h>
    void main()
    	{
    	  // code goes here!!!
    	}
    I continue getting errors in my command window. I created the correct files in bin directory, but I am clueless. Right now I am getting Error E2133. And the error says "Unable to execute command 'ilink32.exe'"

    Hopefully I provide enough info for someone to help me. Thanks for your time.

  2. #2
    The Reel Thing
    Join Date
    Jun 2005
    Posts
    44
    Do you need to set the path to the linker? Do you have ilink32.exe?
    Bagpipes – putting the fun back in funeral.

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Use <iostream>, not <iostream.h>.

    main returns int.

    Did you properly configure the command line tools?
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    Registered User
    Join Date
    Jul 2006
    Posts
    4
    yes, ilink32.exe is in the bin folder but for some reason it is not being executed. Any suggestions?

  5. #5
    Registered User
    Join Date
    Jul 2006
    Posts
    4
    How do you properly configure the command line tools?

  6. #6
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    You just click on the link with the words 'configure the command line tools' cunningly concealed in plain view in my post above and follow the instructions.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  7. #7
    Registered User
    Join Date
    Jul 2006
    Posts
    4

    Thumbs up

    Thanks a lot. I figured the problem out. I just started over at the beginning. I think I had the path directory wrong. Anyways, thanks a ton

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  2. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  3. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  4. Help With finding a compiler
    By macman in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-15-2005, 08:15 AM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM