Discussion:
[Yafray-devel] Re: Yafray-devel Digest, Vol 18, Issue 2
victor montesinos
2007-02-08 17:05:56 UTC
Permalink
----- Original Message ----
From: "yafray-devel-***@nongnu.org" <yafray-devel-***@nongnu.org>
To: yafray-***@nongnu.org
Sent: Thursday, February 8, 2007 10:09:19 AM
Subject: Yafray-devel Digest, Vol 18, Issue 2


Send Yafray-devel mailing list submissions to
yafray-***@nongnu.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.nongnu.org/mailman/listinfo/yafray-devel
or, via email, send a message with subject or body 'help' to
yafray-devel-***@nongnu.org

You can reach the person managing the list at
yafray-devel-***@nongnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Yafray-devel digest..."


Today's Topics:

1. Re: Compiling yafray, error in basictex.cc (Andrea Carbone)
2. Re: Compiling yafray, error in basictex.cc (Mathias Wein)
3. RE: Compiling yafray, error in basictex.cc (Laurence Mehlhorn)
4. Re: Compiling yafray, error in basictex.cc (Laurence Mehlhorn)


----------------------------------------------------------------------

Message: 1
Date: Thu, 8 Feb 2007 09:57:21 +0100
From: "Andrea Carbone" <***@gmail.com>
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc
To: "Yafray development mailing list" <yafray-***@nongnu.org>
Message-ID:
<***@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Photorealistic Rendering in ETHz ... interesting!

I haven't quite well understood the reference to Maxwell Render ....

Is this some spamming?
I know Maxwell, used its testversion some time ago. But as I studying
computer science and we implemented a simple raytracer in c++, I'm more
interested in a opensource project. For sure my problem is not really a
serious one, but I have to start somewhere.
I was also wondering about platform compatibility, and thought this
problem could interest someone, as read of the goal to make
yafray compile without any interaction of the user. Hope I didnt bother
you,
Mario
-----Original Message-----
Laurence Mehlhorn
Sent: Thu 2/8/2007 3:41 AM
To: Yafray development mailing list
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc
Try Maxwell Render, It quite far ahead of Yafray, There is a Free test
download for the software.
It retails a 900 dollers US>
L.M
Hi there,
as I got very interested in the topic of photorealistic rendering and
raytracing in a course at my university, I want
to take a closer look on yafray. First step would be to compile the
char *ext = strrchr(filename, '.');
cl : Command line warning D9035 : option 'Og' has been deprecated and
will be re
moved in a future release
cl : Command line warning D9002 : ignoring unknown option '/Op'
basictex.cc
src\shaders\basictex.cc(262) : error C2440: 'initializing' : cannot
convert from
'const char *' to 'char *'
Conversion loses qualifiers
scons: *** [src\shaders\basictex.obj] Error 2
scons: building terminated because of errors.
As I look up a reference on strrchr, this error makes sense, because
at http://www.cplusplus.com/reference/clibrary/cstring/strrchr.html,
const char * strrchr ( const char * str, int character );
char * strrchr ( char * str, int character );
I tried to add a const: "const char *ext = strrchr(filename, '.');" but
then I get errors with the jpeg_librabry.
To keep it short, I would just be happy, if someone could tell me what
to do to get it compiled.
thanks, Mario
_______________________________________________
Yafray-devel mailing list
http://lists.nongnu.org/mailman/listinfo/yafray-devel
char *ext = strrchr( (char*) filename, '.');
_______________________________________________
Yafray-devel mailing list
http://lists.nongnu.org/mailman/listinfo/yafray-devel
_______________________________________________
Yafray-devel mailing list
http://lists.nongnu.org/mailman/listinfo/yafray-devel
--
capovolto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/yafray-devel/attachments/20070208/bd460951/attachment.html

------------------------------

Message: 2
Date: Thu, 08 Feb 2007 14:47:47 +0100
From: Mathias Wein <***@aspect-design.de>
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc
To: Yafray development mailing list <yafray-***@nongnu.org>
Message-ID: <***@aspect-design.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

const char *ext = strrchr(filename, '.');
should indeed be correct, if load_jpeg produces errors it has nothing to do
with the ext pointer...if you tell me the error, i could probably help you.
Right now i don't see anything obvious there...

casting away a const is rarely a good idea...and you can cast '.' to int and
back just fine...
Hi there,
as I got very interested in the topic of photorealistic rendering and
raytracing in a course at my university, I want
to take a closer look on yafray. First step would be to compile the
char *ext = strrchr(filename, '.');
cl : Command line warning D9035 : option 'Og' has been deprecated and
will be re
moved in a future release
cl : Command line warning D9002 : ignoring unknown option '/Op'
basictex.cc
src\shaders\basictex.cc(262) : error C2440: 'initializing' : cannot
convert from
'const char *' to 'char *'
Conversion loses qualifiers
scons: *** [src\shaders\basictex.obj] Error 2
scons: building terminated because of errors.
As I look up a reference on strrchr, this error makes sense, because
at http://www.cplusplus.com/reference/clibrary/cstring/strrchr.html,
const char * strrchr ( const char * str, int character );
char * strrchr ( char * str, int character );
I tried to add a const: "const char *ext = strrchr(filename, '.');"
but then I get errors with the jpeg_librabry.
To keep it short, I would just be happy, if someone could tell me
what to do to get it compiled.
thanks, Mario
_______________________________________________
Yafray-devel mailing list
http://lists.nongnu.org/mailman/listinfo/yafray-devel
Also, the 'int character' may not work either with '.'
_______________________________________________
Yafray-devel mailing list
http://lists.nongnu.org/mailman/listinfo/yafray-devel
------------------------------

Message: 3
Date: Thu, 8 Feb 2007 11:05:46 -0500 (EST)
From: Laurence Mehlhorn <***@yahoo.ca>
Subject: RE: [Yafray-devel] Compiling yafray, error in basictex.cc
To: Yafray development mailing list <yafray-***@nongnu.org>
Message-ID: <***@web52814.mail.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

I think User interation is good, It alows for creativity,
What about Partical Rendering, So It can be used in the Game engine?.
And other game engines.
L.m

Deuss Mario <***@student.ethz.ch> wrote:

I know Maxwell, used its testversion some time ago. But as I studying computer science and we implemented a simple raytracer in c++, I'm more interested in a opensource project. For sure my problem is not really a serious one, but I have to start somewhere.
I was also wondering about platform compatibility, and thought this problem could interest someone, as read of the goal to make
yafray compile without any interaction of the user. Hope I didnt bother you,

Mario


-----Original Message-----
From: yafray-devel-bounces+mdeuss=***@nongnu.org on behalf of Laurence Mehlhorn
Sent: Thu 2/8/2007 3:41 AM
To: Yafray development mailing list
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc

Try Maxwell Render, It quite far ahead of Yafray, There is a Free test download for the software.
It retails a 900 dollers US>
L.M
Hi there,
as I got very interested in the topic of photorealistic rendering and raytracing in a course at my university, I want
char *ext = strrchr(filename, '.');
cl : Command line warning D9035 : option 'Og' has been deprecated and will be re
moved in a future release
cl : Command line warning D9002 : ignoring unknown option '/Op'
basictex.cc
src\shaders\basictex.cc(262) : error C2440: 'initializing' : cannot convert from
'const char *' to 'char *'
Conversion loses qualifiers
scons: *** [src\shaders\basictex.obj] Error 2
scons: building terminated because of errors.
const char * strrchr ( const char * str, int character );
char * strrchr ( char * str, int character );
I tried to add a const: "const char *ext = strrchr(filename, '.');" but then I get errors with the jpeg_librabry.
To keep it short, I would just be happy, if someone could tell me what to do to get it compiled.
thanks, Mario
_______________________________________________
Yafray-devel mailing list
http://lists.nongnu.org/mailman/listinfo/yafray-devel
Try casting filename to char*. Like this:

char *ext = strrchr( (char*) filename, '.');





_______________________________________________
Yafray-devel mailing list
Yafray-***@nongnu.org
http://lists.nongnu.org/mailman/listinfo/yafray-devel




_______________________________________________
Yafray-devel mailing list
Yafray-***@nongnu.org
http://lists.nongnu.org/mailman/listinfo/yafray-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/yafray-devel/attachments/20070208/f1e66455/attachment.html

------------------------------

Message: 4
Date: Thu, 8 Feb 2007 11:08:37 -0500 (EST)
From: Laurence Mehlhorn <***@yahoo.ca>
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc
To: Yafray development mailing list <yafray-***@nongnu.org>
Message-ID: <***@web52805.mail.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Maxwell Render is now for sale on the Market Place, They are implementing Parital Rendering and Plugins for the Game engines and Light Bakeing.

I think User interation is good, It alows for creativity,
What about Partical Rendering, So It can be used in the Game engine?.
And other game engines.
L.m



Andrea Carbone <***@gmail.com> wrote:
Photorealistic Rendering in ETHz ... interesting!

I haven't quite well understood the reference to Maxwell Render ....

Is this some spamming?

On 2/8/07, Deuss Mario <***@student.ethz.ch> wrote:
I know Maxwell, used its testversion some time ago. But as I studying computer science and we implemented a simple raytracer in c++, I'm more interested in a opensource project. For sure my problem is not really a serious one, but I have to start somewhere.
I was also wondering about platform compatibility, and thought this problem could interest someone, as read of the goal to make
yafray compile without any interaction of the user. Hope I didnt bother you,

Mario


-----Original Message-----
From: yafray-devel-bounces+mdeuss=***@nongnu.org on behalf of Laurence Mehlhorn
Sent: Thu 2/8/2007 3:41 AM
To: Yafray development mailing list
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc

Try Maxwell Render, It quite far ahead of Yafray, There is a Free test download for the software.
It retails a 900 dollers US>
L.M
Hi there,
as I got very interested in the topic of photorealistic rendering and raytracing in a course at my university, I want
char *ext = strrchr(filename, '.');
cl : Command line warning D9035 : option 'Og' has been deprecated and will be re
moved in a future release
cl : Command line warning D9002 : ignoring unknown option '/Op'
basictex.cc
src\shaders\basictex.cc(262) : error C2440: 'initializing' : cannot convert from
'const char *' to 'char *'
Conversion loses qualifiers
scons: *** [src\shaders\basictex.obj] Error 2
scons: building terminated because of errors.
const char * strrchr ( const char * str, int character );
char * strrchr ( char * str, int character );
I tried to add a const: "const char *ext = strrchr(filename, '.');" but then I get errors with the jpeg_librabry.
To keep it short, I would just be happy, if someone could tell me what to do to get it compiled.
thanks, Mario
_______________________________________________
Yafray-devel mailing list
http://lists.nongnu.org/mailman/listinfo/yafray-devel
Try casting filename to char*. Like this:

char *ext = strrchr( (char*) filename, '.');





_______________________________________________
Yafray-devel mailing list
Yafray-***@nongnu.org
http://lists.nongnu.org/mailman/listinfo/yafray-devel




_______________________________________________
Yafray-devel mailing list
Yafray-***@nongnu.org
http://lists.nongnu.org/mailman/listinfo/yafray-devel
--
capovolto _______________________________________________
Yafray-devel mailing list
Yafray-***@nongnu.org
http://lists.nongnu.org/mailman/listinfo/yafray-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/yafray-devel/attachments/20070208/4c2e0092/attachment.html

------------------------------

_______________________________________________
Yafray-devel mailing list
Yafray-***@nongnu.org
http://lists.nongnu.org/mailman/listinfo/yafray-devel


End of Yafray-devel Digest, Vol 18, Issue 2
*******************************************



____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
Loading...