<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
					xmlns:content="http://purl.org/rss/1.0/modules/content/"
					xmlns:wfw="http://wellformedweb.org/CommentAPI/"
					xmlns:atom="http://www.w3.org/2005/Atom"
				  >
<channel>
<atom:link rel="self"  type="application/rss+xml"  href="http://rulinux.net/rss_from_sect_4_subsect_6_thread_38556"  />
<title>rulinux.net - Форум - Development - А шарит здесь кто-нибудь в вижуал-студии?</title>
<link>http://rulinux.net/</link>
<description><![CDATA[Портал о GNU/Linux и не только]]></description>
<image><title>rulinux.net - Форум - Development - А шарит здесь кто-нибудь в вижуал-студии?</title>
<link>http://rulinux.net/</link>
<url>http://rulinux.net/rss_icon.png</url>
</image>
<item>
<title>Re:А шарит здесь кто-нибудь в вижуал-студии?</title>
<link>https://rulinux.net/message.php?newsid=38556&amp;page=1#161833</link>
<guid>https://rulinux.net/message.php?newsid=38556&amp;page=1#161833</guid>
<pubDate>Sun, 23 Dec 2012 23:04:18 +0400</pubDate>
<description><![CDATA[<p>Фиг там. Он хотел using namespace std. </p>]]></description>
</item>
<item>
<title>Re:А шарит здесь кто-нибудь в вижуал-студии?</title>
<link>https://rulinux.net/message.php?newsid=38556&amp;page=1#161579</link>
<guid>https://rulinux.net/message.php?newsid=38556&amp;page=1#161579</guid>
<pubDate>Fri, 21 Dec 2012 09:26:05 +0400</pubDate>
<description><![CDATA[<p>На 4 открывающие фигурные скобки - 5 закрывающих. Последняя закрывающая после определения Mat my_opencv_read_image( void ) - лишняя.</p>]]></description>
</item>
<item>
<title>Re:А шарит здесь кто-нибудь в вижуал-студии?</title>
<link>https://rulinux.net/message.php?newsid=38556&amp;page=1#161545</link>
<guid>https://rulinux.net/message.php?newsid=38556&amp;page=1#161545</guid>
<pubDate>Thu, 20 Dec 2012 15:27:03 +0400</pubDate>
<description><![CDATA[<p>А что такое &quot;Мат&quot;? Проверь заодно баланс фигурных скобок.</p>]]></description>
</item>
<item>
<title>А шарит здесь кто-нибудь в вижуал-студии?</title>
<link>https://rulinux.net/message.php?newsid=38556&amp;page=1#161543</link>
<guid>https://rulinux.net/message.php?newsid=38556&amp;page=1#161543</guid>
<pubDate>Thu, 20 Dec 2012 15:05:21 +0400</pubDate>
<description><![CDATA[<p>Просто мэднесс какая-то.<br><br>Код такой:<br><br><fieldset><legend></legend><code><span style="color: #009900;">&#91;</span>c<span style="color: #009900;">&#93;</span><br />
<br />
<span style="color: #339933;">#include&lt; stdlib.h &gt;</span><br />
<span style="color: #666666; font-style: italic;">//#include&lt; stdbool.h &gt;</span><br />
<span style="color: #339933;">#include &lt;cv.h&gt;</span><br />
<br />
<span style="color: #339933;">#include &quot;qd.h&quot;</span><br />
<br />
<span style="color: #339933;">#define camera_in_use true</span><br />
<br />
Mat my_opencv_read_image<span style="color: #009900;">&#40;</span> <span style="color: #993333;">void</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<br />
<span style="color: #993333;">int</span> main<span style="color: #009900;">&#40;</span> <span style="color: #993333;">int</span> argc<span style="color: #339933;">,</span> <span style="color: #993333;">char</span><span style="color: #339933;">**</span> argv<span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
<br />
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> camera_in_use <span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//write_file( true );</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span><span style="color: #009900;">&#40;</span>0<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #b1b100;">else</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Mat img <span style="color: #339933;">=</span> my_opencv_read_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//result = viola_jones( img );</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//write_file( &amp;result );</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #b1b100;">return</span><span style="color: #009900;">&#40;</span>0<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
Mat my_opencv_read_image<span style="color: #009900;">&#40;</span> <span style="color: #993333;">void</span> <span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">null</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #009900;">&#125;</span><br />
<br />
&nbsp;</code></fieldset><br><br>А цомпилятор выдает мне какие-то бешеные ошибки:<br><br>d:\ocv\opencv\build\include\opencv2\flann\logger.h(66) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s inste ad. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />         C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(234) : see declaration of 'fopen'<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(9) : error C2146: syntax error : missing ';' before identifier 'my_opencv_read_im age'<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(9) : error C4430: missing type specifier - int assumed. Note: C++ does not suppor t default-int<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(9) : error C4430: missing type specifier - int assumed. Note: C++ does not suppor t default-int<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(22) : error C2146: syntax error : missing ';' before identifier 'img'<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(22) : error C2065: 'img' : undeclared identifier<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(30) : error C2146: syntax error : missing ';' before identifier 'my_opencv_read_i mage'<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(30) : error C4430: missing type specifier - int assumed. Note: C++ does not suppo rt default-int<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(30) : error C2086: 'int Mat' : redefinition&#92;         D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(9) : see declaration of 'Mat'<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(31) : error C4430: missing type specifier - int assumed. Note: C++ does not suppo rt default-int<br /> D:\Development\Gestus\gestus\Work_by_group_794_2012\src\detector.cpp(32) : error C2065: 'null' : undeclared identifier<br /> NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' : return code '0x2' Stop.<br /> NMAKE : fatal error U1077: '&quot;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.exe&quot;' : return code '0x2' Stop.<br /> NMAKE : fatal error U1077: '&quot;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.exe&quot;' : return code '0x2' Stop.<br /><br><br> Может, я что-то в C++ подзабыл?<br><br>но на что он, вообще, блин, ругается?</p>]]></description>
</item>
</channel>
</rss>