|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi, all
I download povwin-3.6, unzip to POVRAY_ROOT, open povray.sln and compile project
'povray', it's OK. But when i compile the project 'codemax', it complains:
editview.cpp(395) : error C2001: newline in constant
editview.cpp(395) : fatal error C1057: unexpected end of file in macro expansion
here is the code in POVRAY_ROOT\windows\codemax\source\editview.cpp:
L392: if ( bMBCS )
L393: { chTab = _T('^'); chSpace = _T('`'); }
L394: else
L395: { chTab = _T('?); chSpace = _T('?); }
The chars must be unziped error. Then I try 7zip to unzip the source package,
but fail again.
So, Is there anyone can tell me the correct chars on line 395 of editview.cpp?
Thank you.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"yaoyansi2" <yao### [at] yahoocomcn> wrote:
> here is the code in POVRAY_ROOT\windows\codemax\source\editview.cpp:
> L392: if ( bMBCS )
> L393: { chTab = _T('^'); chSpace = _T('`'); }
> L394: else
> L395: { chTab = _T('?); chSpace = _T('?); }
Correction (notice the extra quotes):
> L395: { chTab = _T('?'); chSpace = _T('?'); }
At least that's what I get decompressing the source, albeit not on Windows.
- Ricky
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"triple_r" <nomail@nomail> wrote:
> "yaoyansi2" <yao### [at] yahoocomcn> wrote:
> > here is the code in POVRAY_ROOT\windows\codemax\source\editview.cpp:
> > L392: if ( bMBCS )
> > L393: { chTab = _T('^'); chSpace = _T('`'); }
> > L394: else
> > L395: { chTab = _T('?); chSpace = _T('?); }
>
> Correction (notice the extra quotes):
>
> > L395: { chTab = _T('?'); chSpace = _T('?'); }
>
> At least that's what I get decompressing the source, albeit not on Windows.
>
> - Ricky
Thanks for your reply,Ricky.
But how can I confirm whehter it is '?' or not?
Because I have met the similar problem in another project:
charData[(i<<8)|((unsigned char)'?)].glyphMetrics.gmCellIncX=0;
charData[(i<<8)|((unsigned char)'?)].glyphMetrics.gmCellIncX=0;
Fortunately, the source code of that porject can be viewed on web, and it is
found out to be:
charData[(i<<8)|((unsigned char)'<')].glyphMetrics.gmCellIncX=0;
charData[(i<<8)|((unsigned char)'>')].glyphMetrics.gmCellIncX=0;
So, Does the source code of pov-ray can be viewed on web? and how?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
yaoyansi2 wrote:
> So, Does the source code of pov-ray can be viewed on web? and how?
I would rather recommend you get yourself a working unzip utility...
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"triple_r" <nomail@nomail> wrote in message
news:web.49948e0a385abde2ef2b9ba40@news.povray.org...
> "yaoyansi2" <yao### [at] yahoocomcn> wrote:
>> here is the code in POVRAY_ROOT\windows\codemax\source\editview.cpp:
>> L392: if ( bMBCS )
>> L393: { chTab = _T('^'); chSpace = _T('`'); }
>> L394: else
>> L395: { chTab = _T('?); chSpace = _T('?); }
>
> Correction (notice the extra quotes):
>
>> L395: { chTab = _T('?'); chSpace = _T('?'); }
Bob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |