[aspectc-user] First test of AspectC++ and error
Olaf Spinczyk
os at aspectc.org
Tue Mar 1 14:07:53 CET 2016
Hi!
Have you installed g++ on your machine? If you have, execute ag++
--gen_config -o parser.cfg and check whether the paths to the system
include directories at the end of the generated file parser.cfg are correct.
Olaf Spinczyk
On 03/01/2016 14:02, Guillaume Tisserant wrote:
> Hello everybody.
> I'm new to this list, my name is Guillaume Tisserant, I'm french
> computer scientist, and I'm very interested by AspectC++.
> I tried to test AspectC++ by downloading the x86_64 package at
> http://www.aspectc.org/Download.php, and do a "make", but I have this
> error :
>
> make -C examples/profiling
> make[1]: Entering directory
> '/home/dworkin/Téléchargements/aspectc++/examples/profiling'
> Compiling main.cc
> @/home/dworkin/Téléchargements/aspectc++/ag++ -x c++ -c main.cc -o
> Junk/main.o
> In file included from <built-in>:6:
> In file included from <command line>:255:
> ./genericprofiler.ah:4:10: fatal error: 'iostream' file not found
> #include <iostream>
> ^
> error: ./genericprofiler.ah:6:17: 'std' is not a known namespace.
> error: ./profiler.ah:6:17: 'std' is not a known namespace.
> error: Execution failed:
> "/home/dworkin/Téléchargements/aspectc++/ac++" --system-config
> "/tmp/agxx_pcfgpXyN6D" -p. -c "main.cc" -o "/tmp/main.cc_agxx_pGpWDZ"
> ../Makefile.generic:28: recipe for target 'Junk/main.o' failed
> make[1]: *** [Junk/main.o] Error 1
> make[1]: Leaving directory
> '/home/dworkin/Téléchargements/aspectc++/examples/profiling'
> Makefile:18: recipe for target 'profiling.make' failed
> make: *** [profiling.make] Error 2
>
> I use a Fedora 23 x86_64.
> Does I forget to do someting?
> Can someone help me?
> Thanks a lot
> Guillaume Tisserant
>
>
>
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20160301/f9eefb6a/attachment.html>
More information about the aspectc-user
mailing list