compiling sdl with free borland

This is a discussion on compiling sdl with free borland within the Game Programming forums, part of the General Programming Boards category; I'm trying to get SDL to compile with the borland command-line compiler and have been unsuccessful. I was wondering if ...

  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, 10:04 AM
  4. Borland Free 5.5
    By RSever in forum C++ Programming
    Replies: 0
    Last Post: 09-29-2001, 04:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21