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