Building QtGstreamer AUTOMOC4_EXECUTABLE-NOTFOUND
George Kiagiadakis
kiagiadakis.george at gmail.com
Fri Jan 27 01:24:50 PST 2012
On Thu, Jan 26, 2012 at 7:16 PM, Matthias Dodt <MDodt at xion-medical.com> wrote:
> Hey guys!
>
> I can't really build QtGstreamer on Windows. I followed the wiki
> instructions, but i get a bunch of errors. The main problem is that
> automoc4 cannot be found - but i got it in my %PATH%!
>
> Another weired thing is that if i just run "automoc4" from the same
> command line it just crashes (i don't know if this application is
> supposed to run without arguments though-).
>
> The cmake command was:
> cmake -G "Visual Studio 9 2008"
> -DCMAKE_INSTALL_PREFIX="d:/SDKs/qt-gstreamer/install"
> -DBOOST_ROOT="d:/SDKs/boost_1_48_0"
> -DCMAKE_INCLUDE_PATH="d:/entwicklung/ossbuild/Shared/MSVC/Include"
> -DCMAKE_PREFIX_PATH="d:/entwicklung/ossbuild/Build/Windows/Win32/Release
> ;d:/entwicklung/ossbuild/Shared/Build/Windows/Win32;d:/entwicklung/tools
> /automoc" ..
>
> Automoc is located in d:/entwicklung/tools/automoc/install/bin, which is
> within %PATH%-
Hi,
cmake looks for a certain file called Automoc4Config.cmake, not for
the executable directly.
On my linux system this is in /usr/lib/automoc4/Automoc4Config.cmake,
with automoc4 being in /usr/bin. I guess that all you need to do is to
put "d:/entwicklung/tools/automoc/install/" in your CMAKE_PREFIX_PATH
in the command line above, instead of just
"d:/entwicklung/tools/automoc", and assuming that Automoc4Config.cmake
is in d:/entwicklung/tools/automoc/install/lib/automoc4/, it should
find it.
Regards,
George
More information about the gstreamer-devel
mailing list