Talk:Streaming DRM protected content/Pipelight

Trouble compiling pipelight
make[1]: Leaving directory `/var/tmp/portage/www-plugins/pipelight-9999/work/pipelight-9999/src/linux' mingw32-g++ -Wall -DXP_WIN=1 -std=gnu++0x -D_WIN32_WINNT=0x0502 -O2 -pipe -march=athlon64-sse3 pluginloader.c communication.o handlemanager.o npclass.o npnfunctions.o apihook.o -lversion -lgdi32 -lole32 -o pluginloader.exe pluginloader.c: In function 'int main(int, char**)': pluginloader.c:371:31: error: '_CW_DEFAULT' was not declared in this scope pluginloader.c:371:44: error: 'MCW_PC' was not declared in this scope pluginloader.c:371:50: error: '_controlfp_s' was not declared in this scope make[1]: *** [pluginloader.exe] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-plugins/pipelight-9999/work/pipelight-9999/src/windows' make: *** [src/windows] Error 2

Any suggestions to whats wrong and how to fix?

EDIT: I think is has something to do with which float.h pluginloader uses.

Response: This is because you were using the MinGW 32-bit windows compiler, instead of the MinGW-w64 32-bit windows compiler which is required by pipelight. I've fixed the instructions accordingly.

PS. I moved your question into its own topic.

Missing dependency
corefonts are required for the plugin to work.

Wine fails compiling
I downloaded the latest wine version 1.7.11 I did everything the guide said to, but when I do the make command it goes good until it reaches the ws_232 dll. I get the following errors, and it stops compiling:

socket.c:2550:9: error: 'union generic_request' has no member named 'reuse_socket_request' socket.c:2550:9: error: 'union generic_reply' has no member named 'reuse_socket_reply' socket.c:2550:1: error: 'REQ_reuse_socket' undeclared (first use in this function) socket.c:2550:1: note: each undeclared identifier is reported only once for each function it appears in socket.c:2552:16: error: dereferencing pointer to incomplete type make[1]: *** [socket.o] Error 1 make[1]: Leaving directory `/home/voncloft/Downloads/wine-1.7.11/dlls/ws2_32' make: *** [dlls/ws2_32] Error 2

Im not sure what step it was in this procedure but my home directory ended up be owned by user 1000 which does not exist on my system I think it may have chown'ed somwhere.

--James.cordell (talk) 09:00, 26 April 2014 (UTC)