Created
May 8, 2015 16:48
-
-
Save mprymek/e9c1623753a17d946ecd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc48 -I /usr/local/include -L/usr/local/lib -lboost_program_options boost_test.cpp | |
/usr/local/bin/ld: /tmp//ccauzjzJ.o: undefined reference to symbol '_ZSt17__throw_bad_allocv' | |
//usr/lib/libc++.so.1: error adding symbols: DSO missing from command line | |
collect2: error: ld returned 1 exit status | |
$ /usr/bin/c++ -I /usr/local/include -L/usr/local/lib -lboost_program_options boost_test.cpp | |
$ ./a.out --help | |
Basic Command Line Parameter App | |
Options: | |
--help Print help messages | |
--add additional options | |
--like this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment