Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

textpad help

Name: Anonymous 2009-01-07 20:13

I had taken a couple college class on programing and had worked with sdl a bit with Microsoft visual studios and used text pad for the most part in the other bits. So I have textpad on my laptop and would like to make a few tools in sdl for my gaming sessions but I can't seem to get it to work I have a development kit for c++ and the downloaded the sdl one but I don't know how to get it to work for textpad and can't find anything online.

Name: Anonymous 2009-01-07 20:43

>>7
Yeah I have it set up for basic c++. As the thread in /g/ suggested I moved the include files into my compiler but I come up with this shit.

c:/djgpp/tmp/cck5XaP1.o(.text+0x11):test.cpp: undefined reference to `_SDL_Init'
c:/djgpp/tmp/cck5XaP1.o(.text+0x16):test.cpp: undefined reference to `_SDL_Quit'
djgpp is the compiler the college gave me to work with so I've been useing it. Any clues on this bit?

code if you need it

#include <SDL.h>

using namespace std;

int main( int argc, char* args[] ) {
    SDL_Init( SDL_INIT_EVERYTHING );
    SDL_Quit();
    return 0;
}

Just trying to test to see if it's working and nothing special at this point.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List