-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear example for compiling example programs #815
Comments
I was able to get it working on ubuntu by installing
and compiled using
and switching the Log statements to |
Hi Alex, Sorry that you had trouble. One of the reasons that we don't give the GCC commands or a Makefile is because the particular command we give might not work for every Linux distribution or environment that a user might be on, and that could result in more confusion. I see that the way that the sample program is written, no output will actually be given (because by default Feel free to file more issues if you have any more problems. Thanks, |
I followed Alex's apt-get commands and it seemed to install for me on Ubuntu 16.04. I took the example file and tried to compile it just like Alex compiled nnserach.cpp:
However, it is giving me lots of errors about not finding declarations: It seems to be finding the includes, but I have no clue as to what other compile and link flags I need to get things built. What IDE do you guys use to build projects on Linux? Or, do you just use text editors and CMake. Thanks. |
Hi Tony, You need to add the Personally I don't use an IDE to develop mlpack, just vim + GNU screen + command-line. I am sure some others do use IDEs but I have never set one up for my own use. I hope this is helpful. Let me know if there is anything else I can clarify. Thanks, |
That worked. Thanks so much. -Tony |
I apologize if I'm overlooking something. Is there an example somewhere for compiling the programs on this page: http://www.mlpack.org/docs/mlpack-git/doxygen.php?doc=sample.html
Maybe this is obvious to some, but I've been digging through issues and google for an hour now trying to get the second program to compile and run on Ubuntu 16.04. It would be great if the necessary
g++
commands or a makefile were made available.Thanks
The text was updated successfully, but these errors were encountered: