Code::Blocks project file

I know I said in my other post about CMake that I wasn’t going to ask for this, but I’ve tried other things and have gotten nowhere. If anyone has a working Code::Blocks project file for SDL 1.3 they can post or email me, I would be extremely grateful. Even instructions on how to assemble my own working C::B project file would be awesome.

Note: I’ve tried importing the VS project files, doesn’t work.

Codeblocks should be able to open a VS project on the flyOn Thu, Feb 24, 2011 at 9:07 PM, Mako_energy <mako_energy02 at yahoo.com> wrote:

I know I said in my other post about CMake that I wasn’t going to ask for
this, but I’ve tried other things and have gotten nowhere. If anyone has a
working Code::Blocks project file for SDL 1.3 they can post or email me, I
would be extremely grateful. Even instructions on how to assemble my own
working C::B project file would be awesome.

Note: I’ve tried importing the VS project files, doesn’t work.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Does it also handle msbuild files? They are now the new project format since
VS 2010.On Fri, Feb 25, 2011 at 9:25 AM, Vittorio G. <vitto.giova at yahoo.it> wrote:

Codeblocks should be able to open a VS project on the fly

On Thu, Feb 24, 2011 at 9:07 PM, Mako_energy <mako_energy02 at yahoo.com> wrote:

I know I said in my other post about CMake that I wasn’t going to ask for
this, but I’ve tried other things and have gotten nowhere. If anyone has
a
working Code::Blocks project file for SDL 1.3 they can post or email me,
I
would be extremely grateful. Even instructions on how to assemble my own
working C::B project file would be awesome.

Note: I’ve tried importing the VS project files, doesn’t work.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Vittorio G. wrote:

Codeblocks should be able to open a VS project on the fly

Opening a project file and having it work are two different things.

Paulo Pinto wrote:

Does it also handle msbuild files? They are now the new project format since VS 2010.

I’m not sure, I did a quick look and couldn’t find where to do that.

I did manage to find out what I was doing wrong to get the MinGW command line steps to work. I have a few different tools that simulate the command line, and I was using the wrong one. So I don’t need the project file as much, but it would still be handy if someone has one…which is looking less and less like the case. :frowning:

What problems were you having with the Code::Blocks project? I just tried
importing the VS 2008 solution and everything seems okay so far. It didn’t
find the atomics automatically, but MinGW has the GCC ones. I don’t have
the DirectX SDK installed, so my build stopped at ddraw.h.

Jonny DOn Fri, Feb 25, 2011 at 9:43 AM, Mako_energy <mako_energy02 at yahoo.com>wrote:

Vittorio G. wrote:

Codeblocks should be able to open a VS project on the fly

Opening a project file and having it work are two different things.

Paulo Pinto wrote:

Does it also handle msbuild files? They are now the new project format
since VS 2010.

I’m not sure, I did a quick look and couldn’t find where to do that.

I did manage to find out what I was doing wrong to get the MinGW command
line steps to work. I have a few different tools that simulate the command
line, and I was using the wrong one. So I don’t need the project file as
much, but it would still be handy if someone has one…which is looking less
and less like the case. [image: Sad]


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Code:
Running target pre-build steps
echo Copying SDL_config_windows.h to SDL_config.h…
xcopy /d /q /y C:\Programming\SDL\VisualC\SDL\…\include\SDL_config_windows.h C:\Programming\SDL\VisualC\SDL\…\include\SDL_config.h

if exist C:\Programming\SDL\VisualC\SDL\…\include\SDL_revision.h goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file…
echo #define SDL_REVISION hg-0:baadf00d >C:\Programming\SDL\VisualC\SDL\…\include\SDL_revision.h
:SDLREVISIONOKAY

Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings

That is all it spits out before it stops.

Grab the latest snapshot, it shouldn’t have that step anymore.On Sat, Feb 26, 2011 at 1:16 PM, Mako_energy <mako_energy02 at yahoo.com>wrote:

Code:

Running target pre-build steps
echo Copying SDL_config_windows.h to SDL_config.h…
xcopy /d /q /y
C:\Programming\SDL\VisualC\SDL\…\include\SDL_config_windows.h
C:\Programming\SDL\VisualC\SDL\…\include\SDL_config.h

if exist C:\Programming\SDL\VisualC\SDL\…\include\SDL_revision.h goto
SDLREVISIONOKAY
echo Creating stub SDL_revision.h file…
echo #define SDL_REVISION hg-0:baadf00d

C:\Programming\SDL\VisualC\SDL\…\include\SDL_revision.h
:SDLREVISIONOKAY

Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings

That is all it spits out before it stops.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and CEO, Galaxy Gameworks