From: Ali M. <so...@sy...> - 2004-05-24 14:04:46
|
Arjen, I get the following error messages when I try to compile. I guess I donot know how to properly compile either. Please advise C:\arjen>cl -IC:\plplot\include -IC:\plplot\libltdl *.c *.cpp Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8141 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. plcore.c plcore.c(1609) : error C2146: syntax error : missing ')' before identifier 'DATA _DIR' plcore.c(1609) : error C2059: syntax error : ')' plcore.c(1610) : error C2065: 'DATA_DIR' : undeclared identifier plcore.c(1610) : warning C4047: '=' : 'char *' differs in levels of indirection from 'int ' plcore.c(1610) : error C2143: syntax error : missing ';' before 'string' plcore.c(1610) : error C2146: syntax error : missing ';' before identifier 'DRV_ DIR' plcore.c(1610) : error C2065: 'DRV_DIR' : undeclared identifier plcore.c(1648) : error C2065: 'DIR' : undeclared identifier plcore.c(1648) : error C2065: 'dp_drvdir' : undeclared identifier plcore.c(1648) : warning C4047: '=' : 'int ' differs in levels of indirection fr om 'void *' plcore.c(1648) : error C2106: '=' : left operand must be l-value plcore.c(1649) : error C2143: syntax error : missing ';' before 'type' plcore.c(1650) : error C2275: 'lt_dlhandle' : illegal use of this type as an exp ression C:\plplot\libltdl\ltdl.h(153) : see declaration of 'lt_dlhandle' plcore.c(1650) : error C2146: syntax error : missing ';' before identifier 'dlha nd' plcore.c(1650) : error C2065: 'dlhand' : undeclared identifier plcore.c(1659) : warning C4047: '==' : 'int ' differs in levels of indirection f rom 'void *' plcore.c(1665) : error C2065: 'entry' : undeclared identifier plcore.c(1665) : warning C4047: '!=' : 'int ' differs in levels of indirection f rom 'void *' plcore.c(1667) : error C2223: left of '->d_name' must point to struct/union plcore.c(2397) : error C2065: 'VERSION' : undeclared identifier plcore.c(2397) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int ' plcore.c(2397) : warning C4024: 'strcpy' : different types for formal and actual parameter 2 plcore.c(2426) : error C2039: 'external_display' : is not a member of 'PLStream' C:\plplot\include\plstrm.h(422) : see declaration of 'PLStream' plcore.c(2445) : error C2039: 'pixmap_id' : is not a member of 'PLStream' C:\plplot\include\plstrm.h(422) : see declaration of 'PLStream' plcore.c(2464) : error C2039: 'printer_dev' : is not a member of 'PLStream' C:\plplot\include\plstrm.h(422) : see declaration of 'PLStream' Generating Code... Compiling... win3.cpp Generating Code... ----- Original Message ----- From: "Arjen Markus" <arj...@wl...> To: "Ali Muhammad" <so...@sy...> Cc: <plp...@li...> Sent: Monday, May 24, 2004 9:29 AM Subject: Re: [Plplot-devel] graphics and windows management > Ali Muhammad wrote: > > > > Hi Arjen, > > > > Yes, I used MSVC for compiling the dll. Now I am using the example java > > programs. I guess the example programs are not sophisticated. I will > > appreciate if you could provide me with some guideline. > > > > The thing is the drivers are taking care of all window management. > So the examples do not have to bother with it - luckily. > > I can imagine, however, that on Windows the Java environment interferes > with receiving the window events ... In that case you would need to > open a window in Java and let it handle the events. I will send you > my version of a few source files so you can see how I handle these > matters in my program. (I need to get them into CVS real soon). > > Regards, > > Arjen > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |