Problems building QtGStreamer release build on Windows
Chris Boucher
chris at thebouchers.com
Thu Dec 13 05:43:45 PST 2012
Hi Dinesh,
Good to hear that it can work.
I tried your cmake command line, but I get the same results - no
import entries in the QtGStreamer DLLs - which means that they don't
load the gstreamer dlls and so I get a crash (access error) when I
call QGst::init(). All works fine for the debug builds, which is even
more confusing.
Here are the steps I used to build it (the QtGStreamer source is in a
directory called qtgstreamer):
md build-release
cd build-release
cmake -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX="C:/QtGStreamer/release"
-DQTGSTREAMER_STATIC=OFF -DBOOST_ROOT="C:/boost"
-DCMAKE_PREFIX_PATH="%GSTREAMER_SDK_ROOT_X86%"
-DUSE_GST_PLUGIN_DIR=OFF -DUSE_QT_PLUGIN_DIR=OFF ../qtgstreamer
cmake --build . --target install --config Release
How does that compare to your build?
Which version of Visual Studio are you using?
Many thanks,
Chris.
On 13 December 2012 13:05, Dinesh Kumar <dineshkpadmanaban at gmail.com> wrote:
> Hi Chris,
>
> I have build the QtGstreamer successfully and am using it.
>
> Here are the steps I have followed.
>
> I have used cmake to build the QtGstreamer and the compiler is Visual
> Studio.
>
> To create release build, please use cmake --build . --target install
> --config Release
>
> Regards
> Dinesh P
>
>
>
>
>
>
> On Fri, Dec 7, 2012 at 8:00 PM, Chris Boucher <chris at thebouchers.com> wrote:
>>
>> Hi,
>>
>> I'm trying to build QtGStreamer on Windows against the gstreamer.com
>> SDK. I've applied the recent git changes (the setenv and
>> GL_CLAMP_TO_EDGE fixes), followed the instructions on the wiki and it
>> builds and works fine.
>>
>> However, when I try to make a release build by adding
>> -DCMAKE_BUILD_TYPE=Release to the cmake command line, it still
>> generates debug dlls - the files are the same size and the build log
>> says "Build started: Project: QtGStreamer, Configuration: Debug
>> Win32".
>>
>> Is there some trick I'm missing?
>>
>> Thanks in advance,
>> Chris.
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list