<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; 3.4.0</li>
<li>Operating System / Platform =&gt;windows 7</li>
<li>Compiler =&gt; vs c/c++ compiler</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Hellow!<br>
I am trying to make an interface with a button to load an image.<br>
I am writing in C and and i tried to use <strong>cvCreateButton</strong> as described <a href="https://docs.opencv.org/3.4.0/d0/d28/group__highgui__c.html#gad00fc9d8e67c595dcfff75aab7fd4046" rel="nofollow">here</a>.<br>
But after building I am getting this error:<br>
Severity	Code	Description	Project	File	Line	Suppression State Error	LNK2001	unresolved external symbol cvCreateButton</p>
<p dir="auto"><strong>I wrote this :</strong><br>
void ButtonCall(int state, void *userdata) {<br>
printf("ok");<br>
}<br>
<strong>And this in another function :</strong><br>
cvCreateButton("button", ButtonCall, NULL, CV_PUSH_BUTTON, 1);</p>
<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; :4.1.2:</li>
<li>Operating System / Platform =&gt; :Windows 7:</li>
<li>Compiler =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji>(I amusing python)</li>
<li>Openvino =&gt; :2019.3:</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">While loading pretrained model face-detection-adas-0001 , it thrown an error,<br>
I found similar question answer but not working <a href="https://github.com/opencv/opencv/issues/14409#issuecomment-486605244" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/14409/hovercard">Failed to initialize Inference Engine backend: Unsupported primitive of type:</a><br>
By the answer,<br>
I have build the <strong>cpu_extension.dll</strong> available in build ,  As i copied it to<br>
<strong>C:\Program Files (x86)\IntelSWTools\openvino\bin\intel64\Release</strong> there was no folder , i created ans pasted.</p>
<p dir="auto">I again ran model using code</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def load_to_IE(model_xml):
    plugin = IECore()
    model_bin = os.path.splitext(model_xml)[0] + '.bin'
    net = IENetwork(model=model_xml, weights=model_bin)
    plugin.load_network(net, &quot;CPU&quot;)
    print(&quot;IR loaded successfully&quot;)
    return True


load_to_IE('C:\\Users\\ra\\Desktop\\projects\\Entertainment\\age-gender-face-detection-project\\models\\face-detection-adas-0001\\FP16\\face-detection-adas-0001.xml')"><pre class="notranslate"><code class="notranslate">def load_to_IE(model_xml):
    plugin = IECore()
    model_bin = os.path.splitext(model_xml)[0] + '.bin'
    net = IENetwork(model=model_xml, weights=model_bin)
    plugin.load_network(net, "CPU")
    print("IR loaded successfully")
    return True


load_to_IE('C:\\Users\\ra\\Desktop\\projects\\Entertainment\\age-gender-face-detection-project\\models\\face-detection-adas-0001\\FP16\\face-detection-adas-0001.xml')
</code></pre></div>
<p dir="auto">Again throws error</p>
<blockquote>
<blockquote>
<p dir="auto">Traceback (most recent call last):<br>
File "feed_network.py", line 50, in <br>
load_to_IE('C:\Users\ra\Desktop\projects\Entertainment\age-gender-face-detection-project\models\face-detection-adas-0001\FP16\face-detection-adas-0001.xml')<br>
File "feed_network.py", line 45, in load_to_IE<br>
plugin.load_network(net, "CPU")<br>
File "ie_api.pyx", line 85, in openvino.inference_engine.ie_api.IECore.load_network<br>
File "ie_api.pyx", line 92, in openvino.inference_engine.ie_api.IECore.load_network<br>
RuntimeError: Unsupported primitive of type: PriorBox name: fc7_mbox_priorbox</p>
</blockquote>
</blockquote>
<p dir="auto">but other pretrained models works however.</p>

<h5 dir="auto">Steps to reproduce</h5>