postscript >> sample c++ project using postscript c library ?

by Richard Yu » Fri, 01 Aug 2003 06:29:01 GMT

anyone can supply or tell where I can find a
sample c++ project or VC project using postscript c library ?

I have PS 707, I included all the required h header files, and include the
required c files, it still give me "unresolved externals

thanks for any help.

postscript >> sample c++ project using postscript c library ?

by lsiddens » Sat, 09 Aug 2003 03:41:35 GMT

This sounds like a setup problem instead of not having the corect
items. I'm guessing that the libraries where gs_setrgbcolor are
defined somewhere within the library path?! Or, have you verified
that these items are within the correct libraries?

Just checking.... Good Luck!


Similar Threads

1. "using namespace std" in VS C++ Class Library (.NET) project

2. using Matlab c-shared library in Visual C++ .NET (2003) project

I'm trying to use Matlab C-shared library inside Visual C++ project and can't do it, 
so I tried the libmatrix exmaple provided in the documentation. 

When I build it using mbuild it works perfectly, but when I try to build it in the Microsoft Visual C++ environmet, compilation goes well, but I get the following exception at runtime, before reaching the first line in the main 
(it breaks at crt0.c, line 158):

"Unhandled exception at 0x000305aa in matrixdriver.exe: 0xC0000005: Access violation reading location 0x000305aa."

Any help would be very much appreciated.

3. Memory leak using Matlab library in C++ project - MATLAB

4. using fis.c in a c++ project

Hi to all,
I'm a newbie with the c++, I have the preparation of base given from
the Deitel & Deitel... I am trying to use the fis.c class of matlab
fuzzy toolbox in my c++ project.
Watching the fismain.c I have thought that it was corrected to use the
preprocessor #includes "fis.c" but when I compile give errors on the
fis.c.  I think because it's a class written in C.  How I can make in
order to use in my c++ project the functions of the class fis?  I pray
to you you help me... I use eclipse...  thanks to all

5. Using GNAT project files and libraries

6. Linking a C program to a C++ library which uses STL


I tried to link a C program to a library which is written by me in C+
I read some posts about linking a C program to C++ libraries. It seems
doable by adding extern "C" to the C++ head file and to the function
body modifier. However, in my test, it still doesn't work. The linking
error messages are like undefined reference for new operator, and
undefined reference from dequeue.tcc. ( sorry I don't know how to copy
lines from terminals under solaris.)

I used STL vector and queue in the library, and I guess they uses new
operator to put items inside them.
The C program fails to link if gcc is used.
If I use g++ to build the file, there's no problem.

So I thought the code in the C++ library should also be recognized in
C. Keywords like "new," " delete," and "vector" are not allowed.
But then I thought if the code is recognized in C is the first place,
what is extern "C" for?

Can somebody explain this to me? Thanks.

7. Wrapping a C++ library using ?FFI

8. using swig and c++ template library


I'm trying to add a tcl/tk interface for a program written in c++,
which uses c++ standard template libraries. Is it doable with swig? I
don't want to spend a lot of time on a dead end. Thanks in advance.