[Mplayer-users] compile troubles

Jacek Popławski jp at ulgo.koti.com.pl
Tue Jun 26 23:50:00 CEST 2001


On Tue, Jun 26, 2001 at 11:07:56PM +0200, Arpi wrote:
> If not work, try to fix it!

diff -Naur main2/loader/DirectShow/DS_AudioDec.cpp main/loader/DirectShow/DS_AudioDec.cpp
--- main2/loader/DirectShow/DS_AudioDec.cpp     Tue Jun 26 23:43:33 2001
+++ main/loader/DirectShow/DS_AudioDec.cpp      Tue Jun 26 23:42:42 2001
@@ -30,7 +30,7 @@
 #include <sys/mman.h>

 #include <registry.h>
-#include <wine/winreg.h>
+#include <winreg.h>

 #include "guids.h"
 #include "interfaces.h"
diff -Naur main2/loader/DirectShow/DS_VideoDec.cpp main/loader/DirectShow/DS_VideoDec.cpp
--- main2/loader/DirectShow/DS_VideoDec.cpp     Tue Jun 26 23:43:33 2001
+++ main/loader/DirectShow/DS_VideoDec.cpp      Tue Jun 26 23:43:03 2001
@@ -31,7 +31,7 @@
 #include <sys/mman.h>

 #include <registry.h>
-#include <wine/winreg.h>
+#include <winreg.h>

 #include "guids.h"
 #include "interfaces.h"

> The problem is that gcc is searching for headers (#include) first at
> /usr/local/include/wine instead of loader/wine
> but we don't know why :(

becouse -I/usr/local/include is before -I.
and becouse you include "wine/something" and not "something"

-- 
Now the best steel goes through the fire
And you seem to burn
The dead man's always a liar                              "Hide In The Rainbow"
Look out! there's another one learning!                     - Ronnie James Dio

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list