xpra icon
Bug tracker and wiki

Opened 7 years ago

Last modified 7 years ago

#413 closed defect

fix csc_nvcuda compilation on win32 — at Version 1

Reported by: Antoine Martin Owned by: ahuillet
Priority: major Milestone: 0.11
Component: core Version:
Keywords: Cc:

Description (last modified by Antoine Martin)

Assuming that this module can be made to work reliably, we want the build to succeed on win32 too. The module can then be used for win32 shadow servers, or for client side csc (with video encodings on non-gl windows).

At the moment, it does not (r is needed for setting up the build path):

C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 \
    /GS- /DNDEBUG -IE:\xpra\trunk\src\win32 -IC:\NVIDIA\CUDA\CUDAToolkit\include \
    -IC:\Python27\include -IC:\Python27\PC \
    /Tcxpra/codecs/csc_nvcuda/csc_nvcuda.c \
xpra/codecs/csc_nvcuda/csc_nvcuda.c(69) : error C2059: syntax error : '['
xpra/codecs/csc_nvcuda/csc_nvcuda.c(76) : error C2059: syntax error : '['
xpra/codecs/csc_nvcuda/csc_nvcuda.c(83) : error C2059: syntax error : '['
xpra/codecs/csc_nvcuda/csc_nvcuda.c(112) : warning C4034: sizeof returns 0
xpra/codecs/csc_nvcuda/csc_nvcuda.c(129) : warning C4034: sizeof returns 0
xpra/codecs/csc_nvcuda/csc_nvcuda.c(131) : warning C4034: sizeof returns 0
xpra/codecs/csc_nvcuda/csc_nvcuda.c(141) : error C2275: 'va_list' : illegal use of this type as an expression

Looks like MSVC is being a bit behind the times again?

Change History (1)

comment:1 Changed 7 years ago by Antoine Martin

Description: modified (diff)
Note: See TracTickets for help on using tickets.