[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Yafray-devel] Re: Yafray-devel Digest, Vol 18, Issue 1
From: |
victor montesinos |
Subject: |
[Yafray-devel] Re: Yafray-devel Digest, Vol 18, Issue 1 |
Date: |
Thu, 8 Feb 2007 09:05:23 -0800 (PST) |
----- Original Message ----
From: "address@hidden" <address@hidden>
To: address@hidden
Sent: Thursday, February 8, 2007 2:51:37 AM
Subject: Yafray-devel Digest, Vol 18, Issue 1
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. Compiling yafray, error in basictex.cc (Deuss Mario)
2. Re: Compiling yafray, error in basictex.cc (Austin Benesh)
3. Re: Compiling yafray, error in basictex.cc (Austin Benesh)
4. Re: Compiling yafray, error in basictex.cc (Laurence Mehlhorn)
5. Re: Compiling yafray, error in basictex.cc (Laurence Mehlhorn)
6. RE: Compiling yafray, error in basictex.cc (Deuss Mario)
----------------------------------------------------------------------
Message: 1
Date: Wed, 7 Feb 2007 23:54:56 +0100
From: "Deuss Mario" <address@hidden>
Subject: [Yafray-devel] Compiling yafray, error in basictex.cc
To: <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"
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
------------------------------
Message: 2
Date: Wed, 07 Feb 2007 18:39:46 -0800
From: Austin Benesh <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
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, '.');
------------------------------
Message: 3
Date: Wed, 07 Feb 2007 18:40:26 -0800
From: Austin Benesh <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
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 '.'
------------------------------
Message: 4
Date: Wed, 7 Feb 2007 21:40:06 -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"
Try Maxwell Render. Its Quite far ahead of Yafray.
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
>
>
Also, the 'int character' may not work either with '.'
_______________________________________________
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/20070207/4edace52/attachment.html
------------------------------
Message: 5
Date: Wed, 7 Feb 2007 21:41:53 -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"
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/yafray-devel/attachments/20070207/e37d3c69/attachment.html
------------------------------
Message: 6
Date: Thu, 8 Feb 2007 09:50:56 +0100
From: "Deuss Mario" <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 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
End of Yafray-devel Digest, Vol 18, Issue 1
*******************************************
____________________________________________________________________________________
Have a burning question?
Go to www.Answers.yahoo.com and get answers from real people who know.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Yafray-devel] Re: Yafray-devel Digest, Vol 18, Issue 1,
victor montesinos <=