<div dir="ltr">Regarding files like <span style="font-family:arial,sans-serif;font-size:13px">lex.priv_gst_parse_yy.c, flex/bison is required (link <a href="http://sourceforge.net/projects/winflexbison/">here</a>). </span><div>
<ol><li style="font-family:arial,sans-serif;font-size:13px">Add win_bison/win_flex bin path to PATH environment variable.<br></li><li><font face="arial, sans-serif">Modify {root}\win32\vs10\generated\generated.vcxproj bison/flex to win_bison/winflex<br>
</font><span id="docs-internal-guid--4b295b6-5662-394e-f6ad-5dc3bd477341"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br>
</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"></span><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:bold;vertical-align:baseline;white-space:pre-wrap">win_bison</span><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> -d -v -ppriv_gst_parse_yy $(GstProjectRoot)gst\parse\grammar.y -o $(GstProjectRoot)gst\parse\grammar.tab.c</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></span><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:bold;vertical-align:baseline;white-space:pre-wrap">win_flex</span><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> -Ppriv_gst_parse_yy -o$(GstProjectRoot)gst\parse\lex.priv_gst_parse_yy.c $(GstProjectRoot)gst\parse\parse.l</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></Command></span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span><span class="" style="white-space:pre"> </span> <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"></span><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:bold;vertical-align:baseline;white-space:pre-wrap">win_bison</span><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> -d -v -ppriv_gst_parse_yy $(GstProjectRoot)gst\parse\grammar.y -o $(GstProjectRoot)gst\parse\grammar.tab.c</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></span><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:bold;vertical-align:baseline;white-space:pre-wrap">win_flex </span><span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> -Ppriv_gst_parse_yy -o$(GstProjectRoot)gst\parse\lex.priv_gst_parse_yy.c $(GstProjectRoot)gst\parse\parse.l</span></p>
<span style="font-size:12px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></Command></span></span><br></li>
<li><font color="#000000" face="Arial"><span style="font-size:12px;white-space:pre-wrap">In Common.props, modify </span><span style="font-size:12px;white-space:pre-wrap">GstProjectRoot and GstPrefix to absolute path for now. Flex/bison on relative path does not work in my case.</span><br>
<span style="font-size:12px;white-space:pre-wrap">
<GstProjectRoot>C:\src\gstreamer\gstreamer\</GstProjectRoot>
<GstPrefix>$(GstProjectRoot)$(PlatformName)\vs10\</GstPrefix></span>
</font></li></ol><div><font face="arial, sans-serif">Best regards,</font></div></div><div><font face="arial, sans-serif">Sau Ming</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 24 September 2013 14:23, Hugo MACHEFER <span dir="ltr"><<a href="mailto:hugo.machefer@gmail.com" target="_blank">hugo.machefer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am extremely interested by what your team managed to do across Visual<br>
Studio 2010. Indeed: when I start to build .sln projects by VC++, compiler<br>
immediately starts to complain about missing /source/ files :<br>
<br>
2>------ Build started: Project: gstreamer, Configuration: Debug Win32<br>
------<br>
2> lex.priv_gst_parse_yy.c<br>
2>c1 : fatal error C1083: Cannot open source file:<br>
'..\..\..\gst\parse\lex.priv_gst_parse_yy.c': No such file or directory<br>
2> grammar.tab.c<br>
2>c1 : fatal error C1083: Cannot open source file:<br>
'..\..\..\gst\parse\grammar.tab.c': No such file or directory<br>
...<br>
This kind of file: <lex.priv_gst_parse_yy.c> can't be furnished AS IS,<br>
manifestly They can't have been generated by Visual Studio (2010) either.<br>
You confirm ? So how to get hold ot it. Probably "made" by LEX parser (but<br>
out of Visual C++) ... But which way exactly ?<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/GStreamer-in-Visual-Studio-2010-tp4662160p4662189.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/GStreamer-in-Visual-Studio-2010-tp4662160p4662189.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<div>Sau Ming</div>
</div>