I've searched google, the forum, the wiki... and following the instructions I'm still getting an error, files are in the right place but it's just not working... and I don't know what else to try but I'm open to suggestions. First time I've tried to get a dev env up on windows that wasn't the default ms2k8 vis studio crap and... (o_O) my god and they say Linux is hard? I've not had 1/100th the trouble there I'm having here (nor on mac...)
I click "Code::Blocks" -> File -> New -> Project -> SDL Project
Project Title: SDLTest
Folder to Create Project In: C:\Users\Darkwolf\Programming\
Project Filename: SDLTest.cbp
Resulting Filename: C:\Users\Darkwolf\Programming\SDLTest\SDLTest.cbp
Next
Please Select SDL's location: $(#sdl) [ Tried C:\MinGW also, default was is $(#sdl) ]
Next
Script Error
The path you entered seems valid, but this wizard can't locate the following SDL's include file: SDL.h in it.
Ok
Here are some paths that seem relevant from the other tutorials I've read on getting this to work...
C:\MinGW>dir /s sdl.dll
Volume in drive C has no label.
Volume Serial Number is 3E27-C38D
Directory of C:\MinGW\bin
10/17/2009 01:25 PM 324,096 SDL.dll
1 File(s) 324,096 bytes
Total Files Listed:
1 File(s) 324,096 bytes
0 Dir(s) 401,578,897,408 bytes free
C:\MinGW>
C:\MinGW>dir sdl.h /s
Volume in drive C has no label.
Volume Serial Number is 3E27-C38D
Directory of C:\MinGW\include\SDL
10/17/2009 01:27 PM 3,233 SDL.h
1 File(s) 3,233 bytes
Total Files Listed:
1 File(s) 3,233 bytes
0 Dir(s) 401,578,889,216 bytes free
C:\MinGW>
C:\MinGW\include>dir SDL
Volume in drive C has no label.
Volume Serial Number is 3E27-C38D
Directory of C:\MinGW\include\SDL
09/21/2010 10:15 PM <DIR> .
09/21/2010 10:15 PM <DIR> ..
10/17/2009 01:27 PM 5,128 begin_code.h
10/17/2009 01:27 PM 1,482 close_code.h
10/17/2009 01:27 PM 37,206 doxyfile
10/17/2009 01:27 PM 3,233 SDL.h
10/17/2009 01:27 PM 1,933 SDL_active.h
10/17/2009 01:27 PM 11,215 SDL_audio.h
10/17/2009 01:27 PM 986 SDL_byteorder.h
10/17/2009 01:27 PM 6,048 SDL_cdrom.h
10/17/2009 01:27 PM 9,064 SDL_config.h
10/17/2009 01:27 PM 869 SDL_copying.h
10/17/2009 01:27 PM 2,221 SDL_cpuinfo.h
10/17/2009 01:27 PM 5,873 SDL_endian.h
10/17/2009 01:27 PM 1,874 SDL_error.h
10/17/2009 01:27 PM 13,041 SDL_events.h
10/17/2009 01:27 PM 979 SDL_getenv.h
10/17/2009 01:27 PM 5,532 SDL_joystick.h
10/17/2009 01:27 PM 4,098 SDL_keyboard.h
10/17/2009 01:27 PM 7,492 SDL_keysym.h
10/17/2009 01:27 PM 2,739 SDL_loadso.h
10/17/2009 01:27 PM 2,866 SDL_main.h
10/17/2009 01:27 PM 4,754 SDL_mouse.h
10/17/2009 01:27 PM 5,860 SDL_mutex.h
10/17/2009 01:27 PM 183 SDL_name.h
10/17/2009 01:27 PM 336,292 SDL_opengl.h
10/17/2009 01:27 PM 2,708 SDL_platform.h
10/17/2009 01:27 PM 2,009 SDL_quit.h
10/17/2009 01:27 PM 4,958 SDL_rwops.h
10/17/2009 01:27 PM 16,473 SDL_stdinc.h
10/17/2009 01:27 PM 6,266 SDL_syswm.h
10/17/2009 01:27 PM 4,494 SDL_thread.h
10/17/2009 01:27 PM 4,527 SDL_timer.h
10/17/2009 01:27 PM 979 SDL_types.h
10/17/2009 01:27 PM 2,637 SDL_version.h
10/17/2009 01:27 PM 38,018 SDL_video.h
34 File(s) 554,037 bytes
2 Dir(s) 401,578,889,216 bytes free
C:\MinGW\include>
C:\MinGW\lib>dir libsdl*.*
Volume in drive C has no label.
Volume Serial Number is 3E27-C38D
Directory of C:\MinGW\lib
10/17/2009 01:28 PM 123,944 libSDL.dll.a
10/17/2009 01:35 PM 926 libSDL.la
10/17/2009 01:29 PM 208,386 libSDLmain.a
3 File(s) 333,256 bytes
0 Dir(s) 401,578,889,216 bytes free
C:\MinGW\lib>
C:\Users\Darkwolf>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.0 (GCC)
C:\Users\Darkwolf>g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.0 (GCC)
C:\Users\Darkwolf>
EDIT: Code::Blocks is default install, MinGW is default install (with G++ added), and SDL I followed directions on "the good" on wiki. I've also tried to follow some older suggestions of adding the inc/lib paths to the search paths. I'm at a loss.
EDIT 2: A simple hello world that is non-sdl compiles fine in c::b
EDIT3: Running Windows 7 64-bit Ultimate.