Re: [Mesa-dev] Compiling llvm windows name mangled

2014-12-12 Thread Brian Paul
On 12/11/2014 09:20 AM, Jose Fonseca wrote: On 11/12/14 08:40, Emil Velikov wrote: Hi Jose, On 10/12/14 14:18, Jose Fonseca wrote: I never tried, but it doesn't surprise that ?USE_MGL_NAMESPACE doesn't work properly on Windows. At very least the src/mesa/drivers/windows/gdi and src/gallium/ta

Re: [Mesa-dev] Compiling llvm windows name mangled

2014-12-11 Thread Jose Fonseca
On 11/12/14 08:40, Emil Velikov wrote: Hi Jose, On 10/12/14 14:18, Jose Fonseca wrote: I never tried, but it doesn't surprise that ?USE_MGL_NAMESPACE doesn't work properly on Windows. At very least the src/mesa/drivers/windows/gdi and src/gallium/targets/libgl-gdi targets will fail because t

Re: [Mesa-dev] Compiling llvm windows name mangled

2014-12-11 Thread Emil Velikov
Hi Jose, On 10/12/14 14:18, Jose Fonseca wrote: > I never tried, but it doesn't surprise that ?USE_MGL_NAMESPACE doesn't work > properly on Windows. > > > At very least the src/mesa/drivers/windows/gdi and > src/gallium/targets/libgl-gdi targets will fail because the .DEF files there > explici

Re: [Mesa-dev] Compiling llvm windows name mangled

2014-12-10 Thread Jason Anderssen
esa-dev@lists.freedesktop.org<mailto:mesa-dev@lists.freedesktop.org> Subject: [Mesa-dev] Compiling llvm windows name mangled Hi All, I am trying to compile osmesa on linux with llvm for win32. I added the CFLAGS += -DUSE_MGL_NAMESPACE to the environment of the SConstruct, and the build proce

Re: [Mesa-dev] Compiling llvm windows name mangled

2014-12-10 Thread Jose Fonseca
ls, since unlike Unixes, DLLs exports are not dumped into a global namespace. Jose From: mesa-dev on behalf of Jason Anderssen Sent: 09 December 2014 21:45 To: mesa-dev@lists.freedesktop.org Subject: [Mesa-dev] Compiling llvm windows name mangled Hi All, I

[Mesa-dev] Compiling llvm windows name mangled

2014-12-09 Thread Jason Anderssen
Hi All, I am trying to compile osmesa on linux with llvm for win32. I added the CFLAGS += -DUSE_MGL_NAMESPACE to the environment of the SConstruct, and the build process seems to be ok until the end when it tries to link the opengl32.dll, basically a lot of symbol not defined errors. Was wonde