<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Regarding files like </span><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/" target="_blank">here</a>).  </span><div style="font-family:arial,sans-serif;font-size:13px">
<ol><li style="margin-left:15px">Add win_bison/win_flex bin path to PATH environment variable.<br></li><li style="margin-left:15px"><font face="arial, sans-serif">Modify {root}\win32\vs10\generated\generated.vcxproj bison/flex to win_bison/winflex<br>
</font><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial"><br>
</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial"><Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"></span><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial;font-weight:bold">win_bison</span><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial"> -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="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial">      </span><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial;font-weight:bold">win_flex</span><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial">  -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="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial">      </Command></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt">
<span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial">                 <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"></span><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial;font-weight:bold">win_bison</span><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial"> -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="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial">      </span><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial;font-weight:bold">win_flex </span><span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial"> -Ppriv_gst_parse_yy -o$(GstProjectRoot)gst\parse\lex.priv_gst_parse_yy.c $(GstProjectRoot)gst\parse\parse.l</span></p>
<span style="vertical-align:baseline;font-size:12px;white-space:pre-wrap;background-color:transparent;font-family:Arial">       </Command></span><br></li><li style="margin-left:15px"><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 style="font-family:arial,sans-serif;font-size:13px">
<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<br clear="all"><div><br></div>-- <br>Best regards,<div>Sau Ming</div>
</a></blockquote></div>
</div>