Hi,

If someone is interested I am trying to build the vlc backend for phonon (in
replacement of the gstreamer one).
It needs at least libvlc 1.1 that you can found attached
(David I tested it and it works!. well not very smoothly at all but I think
it can be largely optimized. don't have the skill to do it plus here it is
for playing sound which interests me, not video :) )
I did a recipe (attached) but it needs automoc4 which is provided by
automoc-native to build.
And this is where I gets stuck :
automoc-native itself does not build.
(According to OE's log automoc-native is ~ 2 years old.)
Attached  my CMakeError.log => 'Q_WS_WIN' undeclared (first use in this
function)
which was defined in QtCore/glogal.h but not anymore now and I don't know
where it is supposed to be.
I don't know how to fix this properly.
If someone can help me.
thx by advance!

Sylvain (aka GarthPS)

Attachment: vlc_1.1.2.bb
Description: Binary data

Attachment: qt4-plugin-phonon-backend-vlc.bb
Description: Binary data

Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o
/usr/bin/gcc   -isystem/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/include   -I/usr/include/qt4   -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o   -c /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main':
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_WIN' undeclared (first use in this function)
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.)
make[1]: Leaving directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

File /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_WIN
  cmakeRequireSymbol(0,&Q_WS_WIN);
#endif
  return 0;
}

Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o
/usr/bin/gcc   -isystem/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/include   -I/usr/include/qt4   -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o   -c /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main':
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_QWS' undeclared (first use in this function)
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.)
make[1]: Leaving directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

File /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_QWS
  cmakeRequireSymbol(0,&Q_WS_QWS);
#endif
  return 0;
}

Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o
/usr/bin/gcc   -isystem/home/sylvain/dev/SHR-Build/shr-unstable/tmp/sysroots/x86_64-linux/usr/include   -I/usr/include/qt4   -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o   -c /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main':
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_MAC' undeclared (first use in this function)
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once
/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.)
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1
make[1]: Leaving directory `/home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2

File /home/sylvain/dev/SHR-Build/shr-unstable/tmp/work/x86_64-linux/automoc-native-4.1+svnr856719-r0/automoc/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_MAC
  cmakeRequireSymbol(0,&Q_WS_MAC);
#endif
  return 0;
}

_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to