[cam-users] CGD Forums

phpbb at cgd.ucar.edu phpbb at cgd.ucar.edu
Sat Jan 22 09:00:00 MST 2005


Dear cam-users, 

As you requested, here is the latest digest of messages posted on CGD Forums forums. Please come and join the discussion!


<<  Compiling SCAM using gcc 3.4.2 on Fedora Core 3, http://bb.cgd.ucar.edu//viewtopic.php?t=101 >>

PosterdposseltPostedFri Jan 21, 2005 10:05 pm MST, http://bb.cgd.ucar.edu//viewtopic.php?p=294#294
Message: Greetings,
<br />
<br />I have successfully compiled SCAM (version 3.0) in the past on a Linux machine running Redhat 9 with the following compilers and versions:
<br />
<br />pgf77 and pgf90 version 5.2
<br />gcc version 3.2.2
<br />
<br />I recently upgraded to Fedora Core 3 (gcc version 3.4.2, PGI version 5.2) and am now getting an error when I try to compile SCAM (error text attached to the end of this message). The offending file is ncfile.h in the scam/ui/ directory, lines 657, 671, 685, and 699.
<br />
<br />Has anyone compiled SCAM using gcc 3.4.2?
<br />
<br />Thanks,
<br />
<br />--Derek
<br />
<br />-------------------------
<br />In file included from model.h:9,
<br />                 from manager.h:15,
<br />                 from plot.h:18,
<br />                 from ChangeAxisScaleDlgImpl.h:5,
<br />                 from ChangeAxisScaleDlgImpl.moc.cpp:11:
<br />ncfile.h: In member function `void ncfile::NcVariable&lt;T&gt;::operator*=(const T&amp;)':n!
 cfile.h:657: error: `v' undeclared (first use this function)
<br />ncfile.h:657: error: (Each undeclared identifier is reported only once for each function it appears in.)
<br />ncfile.h: In member function `void ncfile::NcVariable&lt;T&gt;::operator/=(const T&amp;)':ncfile.h:671: error: `v' undeclared (first use this function)
<br />ncfile.h: In member function `void ncfile::NcVariable&lt;T&gt;::operator+=(const T&amp;)':ncfile.h:685: error: `v' undeclared (first use this function)
<br />ncfile.h: In member function `void ncfile::NcVariable&lt;T&gt;::operator-=(const T&amp;)':ncfile.h:699: error: `v' undeclared (first use this function)
<br />gmake: ***  Error 1
<br />gmake: Leaving directory `/home/derek/CAM3/cam1/models/atm/cam/tools/scam/ui'gmake: ***  Error 2
<br />----------------------------

------------------------------




Format TEXT
Show Message Text YES
Show My Messages YES
Digest Frequency DAY
Show only new messages since last time I logged in FALSE
Send empty digests NO
Time of day to send digest 9 AM
Maximum characters per message in digest 32000





More information about the cam-users mailing list