Sdl 2

Hi I’m Leon Moctezuma this is the first time that I write to the developer
mailing list.

I’m trying to compile SDL-2.0.3-9108 but I’m having some problems on
windows 7. I generate the solution for VS 2013 with CMake 3.0.1 and when I
try to compile seems like the following symbols are not defined:

LPDIRECTSOUND
LPDIRECTSOUNDBUFFER

within the following structure

/* The DirectSound objects */
struct SDL_PrivateAudioData
{
LPDIRECTSOUND sound;
LPDIRECTSOUNDBUFFER mixbuf;
int num_buffers;
int mixlen;
DWORD lastchunk;
Uint8 *locked_buf;
};

I had to modify the SDL_window.h file to add the following line

#include “SDL_config_windows.h”

I’m sure I’m missing something to avoid adding that line but even that I
was able to compile I also had several linkage problems

LNK2019: unresolved external symbol _SDL_EGL_GetProcAddress
LNK2001: unresolved external symbol _SDL_XInputGetCapabilities

Can someone help me with this issues?

Is there any documentation on how to build sdl on windows?

Best regards,

Le?n Moctezuma

Hi,

I’ve fixed it by adding on top of header files:
#include "SDL_config_windows.h"
in
src/core/SDL_xinput.h
and in
src/core/SDL_directx.h

Cheers,–
Pawe? G?ralski
e-mail: @Pawel_Goralski

Hi I’m Leon Moctezuma this is the first time that I write to the developer
mailing list.

I’m trying to compile SDL-2.0.3-9108 but I’m having some problems on
windows 7. I generate the solution for VS 2013 with CMake 3.0.1 and when I
try to compile seems like the following symbols are not defined:

LPDIRECTSOUND
LPDIRECTSOUNDBUFFER

within the following structure

/* The DirectSound objects */
struct SDL_PrivateAudioData
{
LPDIRECTSOUND sound;
LPDIRECTSOUNDBUFFER mixbuf;
int num_buffers;
int mixlen;
DWORD lastchunk;
Uint8 *locked_buf;
};

I had to modify the SDL_window.h file to add the following line

#include “SDL_config_windows.h”

I’m sure I’m missing something to avoid adding that line but even that I
was able to compile I also had several linkage problems

LNK2019: unresolved external symbol _SDL_EGL_GetProcAddress
LNK2001: unresolved external symbol _SDL_XInputGetCapabilities

Can someone help me with this issues?

Is there any documentation on how to build sdl on windows?

Best regards,

Le?n Moctezuma


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

We should seriously consider removing the cmake files from the code base,
or moving them into some sub repository; they aren’t maintained and don’t
work.~
Doug.

On Mon, Aug 25, 2014 at 11:15 PM, “Pawe? G??ralski” wrote:

Hi,

I’ve fixed it by adding on top of header files:
#include "SDL_config_windows.h"
in
src/core/SDL_xinput.h
and in
src/core/SDL_directx.h

Cheers,

Pawe? G?ralski
e-mail: nokturnal at nokturnal.pl

Hi I’m Leon Moctezuma this is the first time that I write to the
developer
mailing list.

I’m trying to compile SDL-2.0.3-9108 but I’m having some problems on
windows 7. I generate the solution for VS 2013 with CMake 3.0.1 and when
I
try to compile seems like the following symbols are not defined:

LPDIRECTSOUND
LPDIRECTSOUNDBUFFER

within the following structure

/* The DirectSound objects */
struct SDL_PrivateAudioData
{
LPDIRECTSOUND sound;
LPDIRECTSOUNDBUFFER mixbuf;
int num_buffers;
int mixlen;
DWORD lastchunk;
Uint8 *locked_buf;
};

I had to modify the SDL_window.h file to add the following line

#include “SDL_config_windows.h”

I’m sure I’m missing something to avoid adding that line but even that I
was able to compile I also had several linkage problems

LNK2019: unresolved external symbol _SDL_EGL_GetProcAddress
LNK2001: unresolved external symbol _SDL_XInputGetCapabilities

Can someone help me with this issues?

Is there any documentation on how to build sdl on windows?

Best regards,

Le?n Moctezuma


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

Maybe there’s a bug to be fixed? I occasionally test my build setup with
Code::Blocks (MinGW), Make (gcc), and XCode (clang) with no issues, so I
think removing the CMake files is a bad idea unless we have a proper
alternative in place.

Jonny DOn Mon, Aug 25, 2014 at 8:41 PM, Doug <douglas.linder at gmail.com> wrote:

We should seriously consider removing the cmake files from the code base,
or moving them into some sub repository; they aren’t maintained and don’t
work.

~
Doug.

On Mon, Aug 25, 2014 at 11:15 PM, “Pawe? G??ralski” < nokturnal at nokturnal.pl> wrote:

Hi,

I’ve fixed it by adding on top of header files:
#include "SDL_config_windows.h"
in
src/core/SDL_xinput.h
and in
src/core/SDL_directx.h

Cheers,

Pawe? G?ralski
e-mail: nokturnal at nokturnal.pl

Hi I’m Leon Moctezuma this is the first time that I write to the
developer
mailing list.

I’m trying to compile SDL-2.0.3-9108 but I’m having some problems on
windows 7. I generate the solution for VS 2013 with CMake 3.0.1 and
when I
try to compile seems like the following symbols are not defined:

LPDIRECTSOUND
LPDIRECTSOUNDBUFFER

within the following structure

/* The DirectSound objects */
struct SDL_PrivateAudioData
{
LPDIRECTSOUND sound;
LPDIRECTSOUNDBUFFER mixbuf;
int num_buffers;
int mixlen;
DWORD lastchunk;
Uint8 *locked_buf;
};

I had to modify the SDL_window.h file to add the following line

#include “SDL_config_windows.h”

I’m sure I’m missing something to avoid adding that line but even that I
was able to compile I also had several linkage problems

LNK2019: unresolved external symbol _SDL_EGL_GetProcAddress
LNK2001: unresolved external symbol _SDL_XInputGetCapabilities

Can someone help me with this issues?

Is there any documentation on how to build sdl on windows?

Best regards,

Le?n Moctezuma


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


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

i have an idea, lets make compiling anything as complicated as heck
for no real reason

( the people that make build systems )On Mon, Aug 25, 2014 at 8:07 PM, Jonathan Dearborn wrote:

Maybe there’s a bug to be fixed? I occasionally test my build setup with
Code::Blocks (MinGW), Make (gcc), and XCode (clang) with no issues, so I
think removing the CMake files is a bad idea unless we have a proper
alternative in place.

Jonny D

On Mon, Aug 25, 2014 at 8:41 PM, Doug <douglas.linder at gmail.com> wrote:

We should seriously consider removing the cmake files from the code base,
or moving them into some sub repository; they aren’t maintained and don’t
work.

~
Doug.

On Mon, Aug 25, 2014 at 11:15 PM, “Pawe? G??ralski” wrote:

Hi,

I’ve fixed it by adding on top of header files:
#include "SDL_config_windows.h"
in
src/core/SDL_xinput.h
and in
src/core/SDL_directx.h

Cheers,

Pawe? G?ralski
e-mail: nokturnal at nokturnal.pl

Hi I’m Leon Moctezuma this is the first time that I write to the
developer
mailing list.

I’m trying to compile SDL-2.0.3-9108 but I’m having some problems on
windows 7. I generate the solution for VS 2013 with CMake 3.0.1 and
when I
try to compile seems like the following symbols are not defined:

LPDIRECTSOUND
LPDIRECTSOUNDBUFFER

within the following structure

/* The DirectSound objects */
struct SDL_PrivateAudioData
{
LPDIRECTSOUND sound;
LPDIRECTSOUNDBUFFER mixbuf;
int num_buffers;
int mixlen;
DWORD lastchunk;
Uint8 *locked_buf;
};

I had to modify the SDL_window.h file to add the following line

#include “SDL_config_windows.h”

I’m sure I’m missing something to avoid adding that line but even that
I
was able to compile I also had several linkage problems

LNK2019: unresolved external symbol _SDL_EGL_GetProcAddress
LNK2001: unresolved external symbol _SDL_XInputGetCapabilities

Can someone help me with this issues?

Is there any documentation on how to build sdl on windows?

Best regards,

Le?n Moctezuma


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


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

what ever happened to ‘punch it chewy’ if somputers are so damn smart,
(sorry vodka high tempartures in CA)

on that anyone in CA (california) wanna hook up for some hardcore
game/app dev? i am loving being a claifornia bum right now but need to
stretch my brain at some point ;)On Tue, Aug 26, 2014 at 2:06 PM, Neil White <@Neil_White> wrote:

i have an idea, lets make compiling anything as complicated as heck
for no real reason

( the people that make build systems )

On Mon, Aug 25, 2014 at 8:07 PM, Jonathan Dearborn wrote:

Maybe there’s a bug to be fixed? I occasionally test my build setup with
Code::Blocks (MinGW), Make (gcc), and XCode (clang) with no issues, so I
think removing the CMake files is a bad idea unless we have a proper
alternative in place.

Jonny D

On Mon, Aug 25, 2014 at 8:41 PM, Doug <douglas.linder at gmail.com> wrote:

We should seriously consider removing the cmake files from the code base,
or moving them into some sub repository; they aren’t maintained and don’t
work.

~
Doug.

On Mon, Aug 25, 2014 at 11:15 PM, “Pawe? G??ralski” wrote:

Hi,

I’ve fixed it by adding on top of header files:
#include "SDL_config_windows.h"
in
src/core/SDL_xinput.h
and in
src/core/SDL_directx.h

Cheers,

Pawe? G?ralski
e-mail: nokturnal at nokturnal.pl

Hi I’m Leon Moctezuma this is the first time that I write to the
developer
mailing list.

I’m trying to compile SDL-2.0.3-9108 but I’m having some problems on
windows 7. I generate the solution for VS 2013 with CMake 3.0.1 and
when I
try to compile seems like the following symbols are not defined:

LPDIRECTSOUND
LPDIRECTSOUNDBUFFER

within the following structure

/* The DirectSound objects */
struct SDL_PrivateAudioData
{
LPDIRECTSOUND sound;
LPDIRECTSOUNDBUFFER mixbuf;
int num_buffers;
int mixlen;
DWORD lastchunk;
Uint8 *locked_buf;
};

I had to modify the SDL_window.h file to add the following line

#include “SDL_config_windows.h”

I’m sure I’m missing something to avoid adding that line but even that
I
was able to compile I also had several linkage problems

LNK2019: unresolved external symbol _SDL_EGL_GetProcAddress
LNK2001: unresolved external symbol _SDL_XInputGetCapabilities

Can someone help me with this issues?

Is there any documentation on how to build sdl on windows?

Best regards,

Le?n Moctezuma


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


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

Isn’t that why autotools were created? :slight_smile:

https://www.sourceware.org/autobook/On Tuesday 26 August 2014 14:06:52 Neil White wrote:

i have an idea, lets make compiling anything as complicated as heck
for no real reason

Would that be Northern or Southern California? :stuck_out_tongue:

MasonOn Tuesday, August 26, 2014 2:08 PM, Neil White wrote:

what ever happened to ‘punch it chewy’ if somputers are so damn smart,
(sorry vodka high tempartures in CA)

on that anyone in CA (california) wanna hook up for some hardcore
game/app dev? i am loving being a claifornia bum right now but need to
stretch my brain at some point :wink:

Compiling anything IS that complicated. What is masterful is making it look otherwise.

JosephSent via mobile

On Aug 26, 2014, at 14:06, Neil White wrote:

i have an idea, lets make compiling anything as complicated as heck
for no real reason

( the people that make build systems )

On Mon, Aug 25, 2014 at 8:07 PM, Jonathan Dearborn wrote:
Maybe there’s a bug to be fixed? I occasionally test my build setup with
Code::Blocks (MinGW), Make (gcc), and XCode (clang) with no issues, so I
think removing the CMake files is a bad idea unless we have a proper
alternative in place.

Jonny D

On Mon, Aug 25, 2014 at 8:41 PM, Doug <douglas.linder at gmail.com> wrote:

We should seriously consider removing the cmake files from the code base,
or moving them into some sub repository; they aren’t maintained and don’t
work.

~
Doug.

On Mon, Aug 25, 2014 at 11:15 PM, “Pawe? G??ralski” wrote:

Hi,

I’ve fixed it by adding on top of header files:
#include "SDL_config_windows.h"
in
src/core/SDL_xinput.h
and in
src/core/SDL_directx.h

Cheers,

Pawe? G?ralski
e-mail: nokturnal at nokturnal.pl

Hi I’m Leon Moctezuma this is the first time that I write to the
developer
mailing list.

I’m trying to compile SDL-2.0.3-9108 but I’m having some problems on
windows 7. I generate the solution for VS 2013 with CMake 3.0.1 and
when I
try to compile seems like the following symbols are not defined:

LPDIRECTSOUND
LPDIRECTSOUNDBUFFER

within the following structure

/* The DirectSound objects */
struct SDL_PrivateAudioData
{
LPDIRECTSOUND sound;
LPDIRECTSOUNDBUFFER mixbuf;
int num_buffers;
int mixlen;
DWORD lastchunk;
Uint8 *locked_buf;
};

I had to modify the SDL_window.h file to add the following line

#include “SDL_config_windows.h”

I’m sure I’m missing something to avoid adding that line but even that
I
was able to compile I also had several linkage problems

LNK2019: unresolved external symbol _SDL_EGL_GetProcAddress
LNK2001: unresolved external symbol _SDL_XInputGetCapabilities

Can someone help me with this issues?

Is there any documentation on how to build sdl on windows?

Best regards,

Le?n Moctezuma


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


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


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