From: sdflemin <sdf...@cs...> - 2005-01-30 04:41:22
|
Hi Sheng, The problem you describe here looks like an occ bug found in version 2.8. Basically, certain occ command-line options are not passed to the C++ preprocessor as they should be (in your case, the -I option). A fix for this problem was described in: http://sourceforge.net/mailarchive/message.php?msg_id=9785370 I have used this fix myself, and it has been quite helpful. Cheers, Scott > Hi, > > I got some problems while tying using it. > > I tried to run the Verbose example, at > examples/verbose, > but I got : > > [sheng@truth opencxx-2.8]$ ./occ > -I/home/sheng/software/opencxx-2.8 -m > examples/verbose/VerboseClass.mc > EXECUTING: g++ g++ -D__opencxx -E -o VerboseClass.occ > -x c++ examples/verbose/VerboseClass.mc > examples/verbose/VerboseClass.mc:38:25: opencxx/mop.h: > No such file or directory > > [sheng@truth opencxx-2.8]$ ./occ2 > -I/home/sheng/software/opencxx-2.8 -m > examples/verbose/VerboseClass.mc > libtool: unrecognized option `--tag=CXX" > Try `libtool --help" for more information. > occ2: command failed: libtool --tag=CXX --mode=compile > --silent g++ -c VerboseClass.2.ii -o VerboseClass.lo > > I checked ./opencxx directory, mop.h is there. Is > there something wrong with my usage? > > Here is another question about openC++, does it > support all features of ISO/C++ standard? I am > thinking whether I can use it to check some large C++ > source repostories such as Mozilla or KDE. > > Thanks a lot! > > Best wishes, > Sheng > |