<div dir="ltr">I would like to use the NCAR graphics but from a C++ interface, that<div>is by using the C interface.<br><div><br></div><div>The commands to compile the binaries is &quot;nhlcc&quot; and it works for</div><div>most examples. However, for some of them, there are missing</div><div>symbols. For example:</div><div><div>mathieu@mathieu-N56VJ:~/opt/ncl_ncarg-6.2.1/lib/ncarg/examples$ nhlcc c_csex01.c</div><div>gcc -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -ansi -fPIC -fopenmp -O c_csex01.c -L/home/mathieu/opt/ncl_ncarg-6.2.1/lib -L/usr/X11R6/lib64 -I/home/mathieu/opt/ncl_ncarg-6.2.1/include -I/usr/X11R6/include -lhlu -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2 -lgfortran -lm</div><div>/tmp/ccJ9Y1tK.o: In function `main&#39;:</div><div>c_csex01.c:(.text+0x7d6): undefined reference to `c_csa1s&#39;</div><div>c_csex01.c:(.text+0x831): undefined reference to `c_csa1s&#39;</div><div>c_csex01.c:(.text+0x88c): undefined reference to `c_csa1s&#39;</div></div><div>I can fix some of those errors, however, there are many libraries in the</div><div>lib directory and it is not so easy to get it right.</div><div><br></div><div>Secondly, in .ncl I can produce the pictures directly in .eps, .pdf or</div><div>.png but the examples (67 of them!) gives the examples as &quot;gmeta&quot;</div><div>file. What would be the command for creating .eps files.</div><div><br></div><div>Lastly, I would like to be able to use NCL in parallel. However, some</div><div>command such as</div><div>c_frame();</div><div>make it clear that the library has some global variables and so is not</div><div>thread-safe. As anybody managed to use NCAR graphics in parallel?</div><div><br></div></div></div>