From: <se...@in...> - 2007-04-25 07:52:29
|
On Mon, 2007-04-23 at 19:06 +0530, Lazy Land wrote: > Hello all, > > Just a quick problem i'm facing with the command line. > I've built OpenC++ using cygwin, and I'm trying to use the occ > compiler in the command line. > Here's how it goes : > > $ occ -m VerboseClass.mc -I../include > EXECUTING: g++ g++ -D__opencxx -E -o VerboseClass.occ -x c++ VerboseClass.mc > VerboseClass.mc:38:25: opencxx/mop.h: No such file or directory > > I'm using opencxx-2.8, and apparently g++ is not getting the include path. > Has anybody else had this issue ? you do not have given enough clues if you have install or not. The most difficult build should be let suppose your configuration is /home1/p0/opencxx \-- build # where we build the package \-- opencxx28 # where the untar or cvs is from here, obviously the make install command has not been done. We are checking if the thing work before install here we have build from /home1/p0/opencxx/build then /home1/p0/opencxx/build/occ2 is the script used to produce VerboseClass.occ check that in occ2 script we have macro pointing to right place abs_top_builddir=/home1/p0/opencxx/build abs_top_srcdir=/home1/p0/opencxx/build/../opencxx28 from /home1/p0/opencxx/build/examples/verbose directory $ echo $PATH $ export PATH=/home1/p0/opencxx/build:$PATH $ LD_LIBRARY_PATH=/home1/p0/opencxx/build/.libs make VerboseClass.exe should work that should be equivalent to but with added --verbose option to have more details $ occ2 --verbose \ ../../../opencxx28/examples/verbose/VerboseClass.mc \ -o VerboseClass.exe if from cvs, opencxx-2.9 is preferable because we do not add fix to opencxx |