Author Topic: Compiling SDL  (Read 4444 times)

Offline PhyloGenesis

  • Multiple posting newcomer
  • *
  • Posts: 10
  • PhyloGenesis
Compiling SDL
« on: July 21, 2006, 10:12:56 am »
(WinXP Pro - Code::Blocks - GCC)
I just imported an MSVC++ program, I added the SLD folder with all the header files in it to the include directory and SDL.lib and SDLmain.lib to the lib directory.

I right-click->(ManagementPane)ProgName->Build Options->Linker(Tab)->(Link Libraries Pane)Add->Browse->SDL.lib(in the lib directory)->Yes(Relative path)->Add->Browse->SDLmain.lib->Yes->OK->F9

It compiles but tells me "Warning: .drective `/DEFAULTLIB "uuid.lib" /DEFAULTLIB "uuid.lib" /DEFAULTLIB "MSVCRT" /DEFAULTLIB "OLDNAMES"' unrecognized."

I didn't add any other libraries.  Why is it trying to default adding these and how can I prevent it?



Forum:
I suggest adding OS and Compiler to profiles, but hopefully allow more than one to be selected.
Also, your Insert Table Column button only has the top-left square colored instead of (I assume) the left column.
« Last Edit: July 21, 2006, 10:25:03 am by PhyloGenesis »
PhyloGenesis

"For every programmer, there is an equal and opposite programmer who can't stand to read the first programmers code." - Snook's first law of (game) programming

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Compiling SDL
« Reply #1 on: July 21, 2006, 10:16:22 am »
you've imported these compiler directives from the VS project and need them to edit
for your used compiler (MinGW gcc i assume)

Offline PhyloGenesis

  • Multiple posting newcomer
  • *
  • Posts: 10
  • PhyloGenesis
Re: Compiling SDL
« Reply #2 on: July 21, 2006, 10:21:46 am »
you've imported these compiler directives from the VS project and need them to edit
for your used compiler (MinGW gcc i assume)

How do I edit them?
(Yes MinGW GCC as I just got Code::Blocks and got IDE+Compiler)
(I encourage posters to include their OS and Compiler at the beginning of the post)

Now that I think about it, include IDE's that you use as well, in case questions involve imporation and such or similarities.
« Last Edit: July 21, 2006, 10:24:15 am by PhyloGenesis »
PhyloGenesis

"For every programmer, there is an equal and opposite programmer who can't stand to read the first programmers code." - Snook's first law of (game) programming