Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the best way to compile and link my NCAR Graphics program?

best graphics link NCAR program
0
Posted

Whats the best way to compile and link my NCAR Graphics program?

0

You can use one of two scripts provided in $NCARG_ROOT/bin. The commands ncargcc and ncargf77 are for compiling C and Fortran programs. Make sure the environment variable NCARG_ROOT is set and that $NCARG_ROOT/bin is on your search path before you try to execute these commands. For example, if your program is called program.f then you would compile it with the following command: ncargf77 -o program program.f On some systems that also have a Fortran 90 compiler, the script ncargf90 may be available. It works in the same manner as ncargf77. • I’m trying to compile an NCAR Graphics program, but I am getting some undefined references. What am I doing wrong? It’s possible you are not linking in all the necessary libraries. Make sure you are linking in the ncarg_c library which is required for both C and Fortran programs. See the question for commands you can use to help you compile your program. • How can I change the default name of the metafile (gmeta) and/or PostScript file in my C or Fo

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123