The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL 2
Leon Moctezuma
Guest

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 2
nokturnal


Joined: 19 Aug 2014
Posts: 1
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:

Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2
Doug
Guest

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:
Quote:
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:

Quote:
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


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2
Jonny D


Joined: 12 Sep 2009
Posts: 932
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 wrote:
Quote:
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:
Quote:
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:

Quote:
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


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org






_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL 2
Neil White
Guest

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:
Quote:
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 wrote:
Quote:

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:
Quote:

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:

Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2
Neil White
Guest

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 wrote:
Quote:
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:
Quote:
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 wrote:
Quote:

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:
Quote:

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:

Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2
j_post
Guest

On Tuesday 26 August 2014 14:06:52 Neil White wrote:
Quote:
i have an idea, lets make compiling anything as complicated as heck
for no real reason

Isn't that why autotools were created? :-)

https://www.sourceware.org/autobook/

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL 2
Mason Wheeler
Guest

Would that be Northern or Southern California? Razz


Mason




On 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 hardcoregame/app dev? i am loving being a claifornia bum right now but need tostretch my brain at some point Wink
SDL 2
Joseph Carter


Joined: 20 Sep 2013
Posts: 279
Compiling anything IS that complicated. What is masterful is making it look otherwise.

Joseph
Sent via mobile

Quote:
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 )

Quote:
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



Quote:
On Mon, Aug 25, 2014 at 8:41 PM, Doug 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:
Quote:

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:

Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________
SDL mailing list

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

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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org