|
From: Lark <lar...@un...> - 2000-12-22 21:31:00
|
Bones (a new Scribia developer :-) sent me these instructions on compiling
Scribia on CW6. I'll make these changes to the CVS tree over the weekend,
but I'd like to post it here in case people would like to play with CW6
beforehand.
It looks like we could simply use a second project file for CW6, and our
code could compile under both 5.3 and 6. That'd be nice.
--
Lark <lar...@un...>
----------
Date: Mon, 18 Dec 2000 02:57:03 -0800
To: lar...@un...
Subject: Scribia with CW6
First error with CW6 is:
Error : declaration syntax error
CScribiaDoc.h line 59 typedef map<string, UInt32> TCounter;
with "string" highlighted. CW6 wants std::string, so i added
using namespace std;
at line 58 of CScribiaDoc.h, which makes it happy. Or you could make
them all std::string. Same effect.
....
After that, the next error is:
Error : ambiguous access to overloaded function
'StResource::StResource(unsigned long, const unsigned char *,
unsigned char, unsigned char)'
'StResource::StResource(unsigned long, short, unsigned char, unsigned char)'
CTimeField.cp line 103 StResource timeFormat('itl0', 0);
so i changed CTimeField.cp line 103 from:
StResource timeFormat('itl0', 0);
to
StResource timeFormat('itl0', (ResIDT) 0);
....
To link with PP 2.1, I had to:
* Add
- UScrap.cp
- UPrinting.cp
- UProcessMgr.cp
- LAMImageWellImp.cp
to project, per 2.1 release notes.
Amm.. i think thats it...
So, what is needed - basically to make the interface work? :)
|