Ohh, and maybe change Your .cpp File to some different then timer.cpp,<br>
maybe mytimer.cpp.<br>
<br>
This shouldn&#39;t make any conflict, but I&#39;m away of my pc do I&#39;m guessing a<br>
little.<br>
1 maj 2016 11:24 &quot;Grzegorz Krajewski&quot; &lt;krajekg@gmail.com&gt; napisał(a):<br>
<br>
&gt; Try to link against mlpack and I&#39;m not sure about order of cmds.<br>
&gt;<br>
&gt; Try like this:<br>
&gt;<br>
&gt; g++ timer.cpp -lmlpack -std=c++11<br>
&gt; 30 kwi 2016 22:23 &quot;Keon Kim&quot; &lt;notifications@github.com&gt; napisał(a):<br>
&gt;<br>
&gt;&gt; Files are installed successfully and are located in<br>
&gt;&gt; /usr/local/nclude/mlpack with path configured.<br>
&gt;&gt; command line applications work perfectly.<br>
&gt;&gt;<br>
&gt;&gt; I ran the timer example to see if mlpack is installed,<br>
&gt;&gt; but I am getting the following error on my new Ubuntu 16.04 machine:<br>
&gt;&gt;<br>
&gt;&gt; keon@buntu:~/projects/test$ g++ -std=c++11 timer.cpp<br>
&gt;&gt; In file included from /usr/local/include/mlpack/core.hpp:199:0,<br>
&gt;&gt;                  from timer.cpp:1:<br>
&gt;&gt; /usr/local/include/mlpack/core/util/log.hpp:11:27: fatal error: mlpack_export.h: No such file or directory<br>
&gt;&gt;<br>
&gt;&gt; I tried with other simple examples and not being able to import<br>
&gt;&gt; mlpack_export.h seems to be the problem because when I manually<br>
&gt;&gt; commented line in log.hpp:11:27 out, same error occurred in other file when<br>
&gt;&gt; it tried to import mlpack_export.h.<br>
&gt;&gt;<br>
&gt;&gt; I tried manually adding mlpack_export.h to the PATH but it didn&#39;t seem to<br>
&gt;&gt; work.<br>
&gt;&gt;<br>
&gt;&gt; —<br>
&gt;&gt; You are receiving this because you are subscribed to this thread.<br>
&gt;&gt; Reply to this email directly or view it on GitHub<br>
&gt;&gt; &lt;https://github.com/mlpack/mlpack/issues/633&gt;<br>
&gt;&gt;<br>
&gt;<br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/633#issuecomment-216030522">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJ4rp8TUnur8cbzGyQhg4tKjr2rXks5p9HIKgaJpZM4ITevn.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/633#issuecomment-216030522"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>