[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Yafray-devel] Re: Yafray-devel Digest, Vol 18, Issue 2
From: |
victor montesinos |
Subject: |
[Yafray-devel] Re: Yafray-devel Digest, Vol 18, Issue 2 |
Date: |
Thu, 8 Feb 2007 09:05:56 -0800 (PST) |
----- Original Message ----
From: "address@hidden" <address@hidden>
To: address@hidden
Sent: Thursday, February 8, 2007 10:09:19 AM
Subject: Yafray-devel Digest, Vol 18, Issue 2
Send Yafray-devel mailing list submissions to
address@hidden
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
address@hidden
You can reach the person managing the list at
address@hidden
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" <address@hidden>
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc
To: "Yafray development mailing list" <address@hidden>
Message-ID:
<address@hidden>
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?
On 2/8/07, Deuss Mario <address@hidden> 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: address@hidden 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
>
>
>
> Austin Benesh <address@hidden> wrote:
> Deuss Mario wrote:
> > 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
> source, but I get problems with "line 262 in basictex.cc":
> >
> > char *ext = strrchr(filename, '.');
> >
> > I`m compiling it with visual studio 2005, and get the error:
> >
> > 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
> filename is a const char*:
> >
> > at http://www.cplusplus.com/reference/clibrary/cstring/strrchr.html,
> strrchr is declared as following:
> >
> > 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
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/yafray-devel
> >
> >
> Try casting filename to char*. Like this:
>
> char *ext = strrchr( (char*) filename, '.');
>
>
>
>
>
> _______________________________________________
> Yafray-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/yafray-devel
>
>
>
>
> _______________________________________________
> Yafray-devel mailing list
> address@hidden
> 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 <address@hidden>
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc
To: Yafray development mailing list <address@hidden>
Message-ID: <address@hidden>
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...
> Deuss Mario wrote:
>> 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
>> source, but I get problems with "line 262 in basictex.cc":
>>
>> char *ext = strrchr(filename, '.');
>>
>> I`m compiling it with visual studio 2005, and get the error:
>> 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
>> filename is a const char*:
>>
>> at http://www.cplusplus.com/reference/clibrary/cstring/strrchr.html,
>> strrchr is declared as following:
>>
>> 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
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/yafray-devel
>>
>>
> Also, the 'int character' may not work either with '.'
>
>
> _______________________________________________
> Yafray-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/yafray-devel
------------------------------
Message: 3
Date: Thu, 8 Feb 2007 11:05:46 -0500 (EST)
From: Laurence Mehlhorn <address@hidden>
Subject: RE: [Yafray-devel] Compiling yafray, error in basictex.cc
To: Yafray development mailing list <address@hidden>
Message-ID: <address@hidden>
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 <address@hidden> 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: address@hidden 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
Austin Benesh wrote:
Deuss Mario wrote:
> 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 source,
> but I get problems with "line 262 in basictex.cc":
>
> char *ext = strrchr(filename, '.');
>
> I`m compiling it with visual studio 2005, and get the error:
>
> 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 filename
> is a const char*:
>
> at http://www.cplusplus.com/reference/clibrary/cstring/strrchr.html, strrchr
> is declared as following:
>
> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/yafray-devel
>
>
Try casting filename to char*. Like this:
char *ext = strrchr( (char*) filename, '.');
_______________________________________________
Yafray-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/yafray-devel
_______________________________________________
Yafray-devel mailing list
address@hidden
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 <address@hidden>
Subject: Re: [Yafray-devel] Compiling yafray, error in basictex.cc
To: Yafray development mailing list <address@hidden>
Message-ID: <address@hidden>
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 <address@hidden> 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 <address@hidden> 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: address@hidden 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
Austin Benesh <address@hidden> wrote:
Deuss Mario wrote:
> 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 source,
> but I get problems with "line 262 in basictex.cc":
>
> char *ext = strrchr(filename, '.');
>
> I`m compiling it with visual studio 2005, and get the error:
>
> 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 filename
> is a const char*:
>
> at http://www.cplusplus.com/reference/clibrary/cstring/strrchr.html, strrchr
> is declared as following:
>
> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/yafray-devel
>
>
Try casting filename to char*. Like this:
char *ext = strrchr( (char*) filename, '.');
_______________________________________________
Yafray-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/yafray-devel
_______________________________________________
Yafray-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/yafray-devel
--
capovolto _______________________________________________
Yafray-devel mailing list
address@hidden
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
address@hidden
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Yafray-devel] Re: Yafray-devel Digest, Vol 18, Issue 2,
victor montesinos <=