Thread: compiling sdl with free borland

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    380

    compiling sdl with free borland

    I'm trying to get SDL to compile with the borland command-line compiler and have been unsuccessful. I was wondering if someone could post the command-lines they've used.

    I have read and tried to follow the FAQ at the SDL website, but I get errors like when using implib I get a message that says something like "unkown type" and when linking I get the "WinMain" error.


    thanks

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    I've had problems trying to compile an SDL application in Release Mode in Visual Studio 6 Pro. It compiles and runs fine in debug mode, though...strange.
    Away.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    380
    I just tried that but it didn't help either.

    The sdl faq says to get SDL to compile with free borland the first step is to:
    Run the IMPLIB utility on SDL.DLL to make a new SDL.LIB import library. Use the -a and -c switches.
    But when I use the command:
    implib -a -c sdl.lib sdl.dll I get the error message:

    Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation
    Error SDL.dll: unknown file type

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL compilation problems
    By OnionKnight in forum C Programming
    Replies: 7
    Last Post: 01-07-2006, 05:58 PM
  2. good free ide for borland
    By lambs4 in forum C Programming
    Replies: 3
    Last Post: 03-20-2003, 04:22 AM
  3. how to compile a dll with free borland compiler.
    By richgi in forum C Programming
    Replies: 0
    Last Post: 10-13-2001, 09:04 AM
  4. Borland Free 5.5
    By RSever in forum C++ Programming
    Replies: 0
    Last Post: 09-29-2001, 03:40 PM