News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Compiling SDL

Started by PhyloGenesis, July 21, 2006, 10:12:56 AM

Previous topic - Next topic

PhyloGenesis

(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.
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

tiwag

you've imported these compiler directives from the VS project and need them to edit
for your used compiler (MinGW gcc i assume)

PhyloGenesis

#2
Quote from: 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)

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.
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