From giling@tpd.tno.nl Tue May 16 14:37:05 1995 Received: from festival.ed.ac.uk (festival.edinburgh.ac.uk) by aiai.ed.ac.uk; Tue, 16 May 95 14:37:01 BST Received: from frontier.tno.nl by festival.ed.ac.uk id aa08525; 16 May 95 14:37 BST Received: from tpdusv.tpd.tno.nl by frontier.tno.nl (4.1/1.53) id AA13994; Tue, 16 May 95 15:37:27 +0200 Received: by tpdusv.tpd.tno.nl (5.65/DEC-Ultrix/4.3/GVA) id AA17812; Tue, 16 May 1995 15:37:12 +0200 Received: by tpdkgb.tpd.tno.nl (5.0/SMI-SVR4) id AA16596; Tue, 16 May 1995 15:37:03 +0200 From: Erwin Giling Message-Id: <9505161337.AA16596@tpdkgb.tpd.tno.nl> Subject: wxwindows 1.62a impressions To: j.smart@ed.ac.uk Date: Tue, 16 May 1995 15:37:03 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2336 Status: RO Hi Julian, I thought you'd appreciate to hear about some wxWindows install experience. Finally, I managed to get 1.62a to compile. 1.60 was not a problem at all, but 1.62a needs several manual touch-ups on our Sun with native CC (c++) and cc compilers. I'm rather new to c++ and unix system programming, but managed to get everything compiled. I'm not sure though if I did the right things, because I do not fully understand the code. Summarized, I did the following things: 1. utils/prologio/y_tab.c does not compile with CC, but does with cc 2. contrib/wxxpm/*.c does not compile with CC, but does with cc 3. utils/wx_image.cc line 669: used " NUL); " line as with VMS define to avoid error 4. src/x/wx_clipb.cc line 201: long* passed as unsinged long*, I casted to long* by changing line to (long *) length_return 5. src/x/wx_utils.cc line 296: incorrect formal argument to passed function, solved by changing defined(__SUPRO_CC) by !defined(__SUPRO_CC) (bad??) line 622: compiler complains about multiple decalarion for sigset_t. Removed "struct" keyword. 6. src/x/wx_dialg.cc line 1017: wxDialogBox::Show(int) expected to return a value. Changed line to return TRUE; 7. src/x/wx_ipc.cc line 240: bzero/bcopy undefined. These are old functions and because of warnings in the man pages, I used the mem??? macros also used for VMS. 8. Had to add -L/usr/ccs/lib -lgen to linker because regex/regcmp functions could not be found for all sample apps 9. For the ipc demo I had to supply the libsocket.a library to the linker, and the linbnsl.a library for the gethostbyname function. server_motif and client_motif now linked allright, but after firing up the server, the client says it can not find the server and dies. There was no problem with 1.60. Next I did was to try out wxbuilder. It is getting better and better! Only, there is still a bug in the right-button selection, which frequently crashes the app when you want to edit properties by using the right mouse button. The new class hierachy for wxCanvas is not implemented yet (?). I tried to put a button on a canvas but this failed. Well, time to really get into typing some code I suppose! The constraints sample program is nice too by the way. Any luck with the vertical slider yet ?? All the best, Erwin Giling