[vlc-devel] Re: Compile VLC on windows
Gildas Bazin
gbazin at altern.org
Thu Jan 15 01:08:28 CET 2004
On Wednesday 14 January 2004 15:45, dominique.papin wrote:
>
> then, the make process returns on an error when compiling
modules/gui/wxwindows :
>
>
> if g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../..
-I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long
-DSYS_MINGW32 -I../../../include
`top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwindows`
-Wsign-compare -Wsign-compare -Wall -mms-bitfields -finline-limit-30000
-pipe -MT libwxwindows_plugin_a-wxwindows.o -MD -MP -MF
".deps/libwxwindows_plugin_a-wxwindows.Tpo" \
> -c -o libwxwindows_plugin_a-wxwindows.o `test -f 'wxwindows.cpp' ||
echo './'`wxwindows.cpp; \
> then mv -f ".deps/libwxwindows_plugin_a-wxwindows.Tpo"
".deps/libwxwindows_plugin_a-wxwindows.Po"; \
> else rm -f ".deps/libwxwindows_plugin_a-wxwindows.Tpo"; exit 1; \
> fi
> wxwindows.cpp: In member function `virtual bool Instance::OnInit()':
> wxwindows.cpp:264: error: `LC_NUMERIC' undeclared (first use this
function)
> wxwindows.cpp:264: error: (Each undeclared identifier is reported only
once for
> each function it appears in.)
> wxwindows.cpp:264: error: `setlocale' undeclared (first use this
function)
>
> Are this build error and the warning raised by configure related ? Has
someone an hint to solve this ?
> Thanks and forgive me if it's not the right place to ask.
>
Thanks for the report, this is now fixed in the CVS.
The fix was just to add an "#include <locale.h>" in
modules/gui/wxwindows/wxwindows.cpp.
--
Gildas
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list