POV-Ray : Newsgroups : povray.general : CSDL 0.5 (alpha 5) released Server Time
6 Aug 2024 19:35:05 EDT (-0400)
  CSDL 0.5 (alpha 5) released (Message 1 to 10 of 14)  
Goto Latest 10 Messages Next 4 Messages >>>
From: Christopher James Huff
Subject: CSDL 0.5 (alpha 5) released
Date: 6 Apr 2002 13:30:57
Message: <chrishuff-2DC1C7.13322306042002@netplex.aussie.org>
This version fixes some bugs with evaluating expressions mixing scalars 
and vectors, and plugs a fairly big memory leak. I've also added a lot 
of other goodies...new functions, more operators, a random number 
generator using the Mersene Twister algorithm, graphing tools, several 
particle simulation demos...
Still need a Unix makefile, any volunteers?

Feedback, please! Questions, comments, suggestions, flames, anything...

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: GrimDude
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 6 Apr 2002 22:49:21
Message: <3cafc1c1@news.povray.org>
Location of same? :)

Grim
"Christopher James Huff" <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...
> This version fixes some bugs with evaluating expressions mixing scalars
> and vectors, and plugs a fairly big memory leak. I've also added a lot
> of other goodies...new functions, more operators, a random number
> generator using the Mersene Twister algorithm, graphing tools, several
> particle simulation demos...
> Still need a Unix makefile, any volunteers?
>
> Feedback, please! Questions, comments, suggestions, flames, anything...
>
> --
> Christopher James Huff <chr### [at] maccom>
> POV-Ray TAG e-mail: chr### [at] tagpovrayorg
> TAG web site: http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 6 Apr 2002 22:52:09
Message: <chrishuff-46CC31.22533606042002@netplex.aussie.org>
In article <3cafc1c1@news.povray.org>,
 "GrimDude" <gri### [at] arkansasusacom> wrote:

> Location of same? :)

Same as before:
http://homepage.mac.com/chrishuff/csdl/csdl.html

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: GrimDude
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 6 Apr 2002 22:58:16
Message: <3cafc3d8@news.povray.org>
Thank you, missed the last posting I guess ;)

Grim


Post a reply to this message

From: Christoph Hormann
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 7 Apr 2002 05:48:20
Message: <3CB015E3.65C0F697@gmx.de>
Christopher James Huff wrote:
> 
> This version fixes some bugs with evaluating expressions mixing scalars
> and vectors, and plugs a fairly big memory leak. I've also added a lot
> of other goodies...new functions, more operators, a random number
> generator using the Mersene Twister algorithm, graphing tools, several
> particle simulation demos...
> Still need a Unix makefile, any volunteers?
> 
> Feedback, please! Questions, comments, suggestions, flames, anything...
> 

After having the previously mentioned troubles downloading the files i had
errors compiling 'csdl_engine.cpp',  'csdl_streams.cpp' and
'csdl_stdlib.cpp':

g++ -c -Wall -o csdl_engine.o csdl_engine.cpp
csdl_engine.cpp: In method `class istream *
csdl::CSDL_Engine::OpenFile(const string &)':
csdl_engine.cpp:82: no matching function for call to
`vector<basic_string<char,string_char_traits<char>,__default_alloc_template<false,0>
>,allocator<basic_string<char,string_char_traits<char>,__default_alloc_template<false,0>
> > >::at (int &)'

g++ -c -Wall -o csdl_streams.o csdl_streams.cpp
csdl_streams.cpp: In method `class csdl::Data *
csdl::Stream_Read_Fn::Run()':
csdl_streams.cpp:31: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int &)'
csdl_streams.cpp: In method `class csdl::Data *
csdl::Stream_Write_Fn::Run()':
csdl_streams.cpp:38: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int &)'
csdl_streams.cpp: In method `class csdl::Data *
csdl::Stream_Open_Fn::Run()':
csdl_streams.cpp:45: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_streams.cpp:46: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'

g++ -c -Wall -o csdl_stdlib.o csdl_stdlib.cpp
csdl_stdlib.cpp: In method `class csdl::Data * csdl::SystemFn::Run()':
csdl_stdlib.cpp:31: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp: In method `class csdl::Data * csdl::MinFn::Run()':
csdl_stdlib.cpp:39: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp:41: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int &)'
csdl_stdlib.cpp:41: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int &)'
csdl_stdlib.cpp: In method `class csdl::Data * csdl::MaxFn::Run()':
csdl_stdlib.cpp:49: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp:51: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int &)'
csdl_stdlib.cpp:51: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int &)'
csdl_stdlib.cpp: In method `class csdl::Data * csdl::VLengthFn::Run()':
csdl_stdlib.cpp:59: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp: In method `class csdl::Data * csdl::VLengthSqrFn::Run()':
csdl_stdlib.cpp:66: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp: In method `class csdl::Data * csdl::VNormalizeFn::Run()':
csdl_stdlib.cpp:73: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp: In method `class csdl::Data * csdl::VDotFn::Run()':
csdl_stdlib.cpp:80: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp:80: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp: In method `class csdl::Data * csdl::VCrossFn::Run()':
csdl_stdlib.cpp:87: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp:87: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.cpp: In method `class csdl::Data *
csdl::FnRNGObjectSeed::Run()':
csdl_stdlib.cpp:156: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.h: In method `class csdl::Data *
csdl::Fn2ScalarRtScalar<double>::Run()':
csdl_function.h:88:   instantiated from here
csdl_stdlib.h:129: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.h:129: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'
csdl_stdlib.h: In method `class csdl::Data *
csdl::Fn1ScalarRtScalar<double>::Run()':
csdl_function.h:88:   instantiated from here
csdl_stdlib.h:114: no matching function for call to `vector<csdl::Data
*,allocator<csdl::Data *> >::at (int)'


Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 18 Mar. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Christopher James Huff
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 7 Apr 2002 15:08:10
Message: <chrishuff-5478C4.15093907042002@netplex.aussie.org>
In article <3CB015E3.65C0F697@gmx.de>,
 Christoph Hormann <chr### [at] gmxde> wrote:

> After having the previously mentioned troubles downloading the files i had
> errors compiling 'csdl_engine.cpp',  'csdl_streams.cpp' and
> 'csdl_stdlib.cpp':

Ah, don't you just love template errors? :-/
It seems to be choking on the STL vector "at()" method...I have no idea 
why, it is standard. What version compiler and libraries are you using?
Anyone else have any ideas?
Try replacing "libPaths.at(j)" with "libPaths[j]" in csdl_engine.cpp, 
and "parameters->at(j)" with "(*parameters)[j]" in the others.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 7 Apr 2002 15:47:48
Message: <chrishuff-0FE96F.15491707042002@netplex.aussie.org>
In article <3CB015E3.65C0F697@gmx.de>,
 Christoph Hormann <chr### [at] gmxde> wrote:

> After having the previously mentioned troubles downloading the files
...snip...

Still having problems? :-(
What exactly were the problems? The line endings didn't give you any 
trouble, did they?
Well, at least you were still able to get them. Maybe I should get 
around to setting up my Earthlink account web site as a mirror...

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Warp
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 7 Apr 2002 16:32:03
Message: <3cb0acc3@news.povray.org>
Christopher James Huff <chr### [at] maccom> wrote:
> It seems to be choking on the STL vector "at()" method...I have no idea 
> why, it is standard. What version compiler and libraries are you using?

  At least gcc 2.x does not support the standard in this case (I haven't
the slightest idea why).
  I don't know about gcc 3.x (I haven't tried).

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Christopher James Huff
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 7 Apr 2002 16:57:07
Message: <chrishuff-0E78A9.16583807042002@netplex.aussie.org>
In article <3cb0acc3@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   At least gcc 2.x does not support the standard in this case (I haven't
> the slightest idea why).
>   I don't know about gcc 3.x (I haven't tried).

I'm developing it using Apple's modified version of gcc 2.95.2.
Obviously, vector::at() works here...maybe Apple fixed that part.

It seems like such a simple and basic thing that it would be surprising 
for even the least complete and compliant implementation to lack it. In 
the next version I'll use the [] operator instead...

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Christoph Hormann
Subject: Re: CSDL 0.5 (alpha 5) released
Date: 7 Apr 2002 17:02:25
Message: <3CB0B3DD.85E65962@gmx.de>
Christopher James Huff wrote:
> 
> Ah, don't you just love template errors? :-/
> It seems to be choking on the STL vector "at()" method...I have no idea
> why, it is standard. What version compiler and libraries are you using?

gcc 2.95.3-5

> Try replacing "libPaths.at(j)" with "libPaths[j]" in csdl_engine.cpp,
> and "parameters->at(j)" with "(*parameters)[j]" in the others.

It compiled correctly with that modifications.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 18 Mar. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

Goto Latest 10 Messages Next 4 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.