[mlpack-git] [mlpack/mlpack] mlpack_export.h: No such file or directory (#633)

Grzegorz Krajewski notifications at github.com
Sun May 1 05:24:19 EDT 2016


Try to link against mlpack and I'm not sure about order of cmds.

Try like this:

g++ timer.cpp -lmlpack -std=c++11
30 kwi 2016 22:23 "Keon Kim" <notifications at github.com> napisał(a):

> Files are installed successfully and are located in
> /usr/local/nclude/mlpack with path configured.
> command line applications work perfectly.
>
> I ran the timer example to see if mlpack is installed,
> but I am getting the following error on my new Ubuntu 16.04 machine:
>
> keon at buntu:~/projects/test$ g++ -std=c++11 timer.cpp
> In file included from /usr/local/include/mlpack/core.hpp:199:0,
>                  from timer.cpp:1:
> /usr/local/include/mlpack/core/util/log.hpp:11:27: fatal error: mlpack_export.h: No such file or directory
>
> I tried with other simple examples and not being able to import
> mlpack_export.h seems to be the problem because when I manually commented
> line in log.hpp:11:27 out, same error occurred in other file when it tried
> to import mlpack_export.h.
>
> I tried manually adding mlpack_export.h to the PATH but it didn't seem to
> work.
>
>> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub
> <https://github.com/mlpack/mlpack/issues/633>
>


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/633#issuecomment-216030381
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160501/c078a184/attachment.html>


More information about the mlpack-git mailing list