Re: Cant get Quantlib to work with fedora 5 and gcc 4.1.1
Posted by
Max Giolitti on
URL: http://quantlib.414.s1.nabble.com/Cant-get-Quantlib-to-work-with-fedora-5-and-gcc-4-1-1-tp5020p5024.html
I get an error also with the simple program luigi suggests.
luigi.c:1:19: error: utility: No such file or directory
.the original error was with the simple program
#include <stdio.h>
#include <ql/quantlib.hpp>
main()
{
printf ("Hello Linux World!\n");
}
I looked inside the include directories, and I do see a utility directory. Given that to get this far it had to see the boost includes.
this is from config.hpp:
// if we don't have a std library config set, try and find one:
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <boost/config/select_stdlib_config.hpp>
#endif
now select stdlib has this:
#include <utility>
I didn't want to modify the boost core files by putting a path, I assume there is something I havent configured.
thanks for the
help!
Luigi Ballabio <[hidden email]> wrote:
On Fri, 2006-09-08 at 07:51 -0700, Max Giolitti wrote:
> Thank you Eric. (ccing all the alias) I am using 0.3.13 (although yum
> says .14...) for boost I am using the version in fedora or the 33, i
> tried both.
> This is the error:
> In file included from /usr/include/boost/config.hpp:40,
> from /usr/include/ql/qldefines.hpp:28,
> from QL.c:18:
> /usr/include/boost/config/select_stdlib_config.hpp:20:19: error:
> utility: No such file or directory
Strange. is a standard header---it should come with your
compiler. What happens if you write a simple file, say,
======test.cpp====
#include
int main() { return 0; }
==================
and
execute `g++ test.cpp` from a shell?
Later,
Luigi
----------------------------------------
The purpose of abstraction is not to be vague, but to create a new
semantic level in which one can be absolutely precise.
-- W.E. Dijkstra
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.
Great rates starting at 1¢/min.