Code::Blocks Forums

User forums => Help => Topic started by: PhyloGenesis on July 21, 2006, 10:12:56 am

Title: Compiling SDL
Post by: PhyloGenesis 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.
Title: Re: Compiling SDL
Post by: tiwag 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)
Title: Re: Compiling SDL
Post by: PhyloGenesis 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.