POV-Ray : Newsgroups : povray.beta-test : Error compiling beta 41 in Ubuntu Server Time
22 Dec 2024 20:13:37 EST (-0500)
  Error compiling beta 41 in Ubuntu (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Anthony D  Baye
Subject: Error compiling beta 41 in Ubuntu
Date: 31 Dec 2010 22:55:00
Message: <web.4d1ea49923d9f629507e8a090@news.povray.org>
terminal output:

Making install in source
make[1]: Entering directory `/home/abaye/povray-3.7.0.beta.41/source'
Making install in backend
make[2]: Entering directory `/home/abaye/povray-3.7.0.beta.41/source/backend'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
-I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT  -pthread -I/usr/include  -I/usr/include  -pipe
-Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math
-malign-double -march=native -pthread -MT fnpovfpu.o -MD -MP -MF
..deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' || echo
'./'`vm/fnpovfpu.cpp
In file included from ../../source/backend/control/renderbackend.h:101,
                 from ../../source/backend/control/messagefactory.h:100,
                 from ../../source/backend/frame.h:117,
                 from vm/fnpovfpu.cpp:296:

token


make[2]: *** [fnpovfpu.o] Error 1
make[2]: Leaving directory `/home/abaye/povray-3.7.0.beta.41/source/backend'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/abaye/povray-3.7.0.beta.41/source'
make: *** [install-recursive] Error 1
abaye@localhost:povray-3.7.0.beta.41$

there seems to be an error in line 114 of povray.h, I found an unclosed
parentheses, but it still won't build.

Any help would be appreciated, I can't do anything until I get the new beta.

A.D.B.


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 1 Jan 2011 00:05:00
Message: <web.4d1eb5f24070ff1507e8a090@news.povray.org>
"Anthony D. Baye" <Sha### [at] spamnomorehotmailcom> wrote:
> terminal output:
>
> Making install in source
> make[1]: Entering directory `/home/abaye/povray-3.7.0.beta.41/source'
> Making install in backend
> make[2]: Entering directory `/home/abaye/povray-3.7.0.beta.41/source/backend'
> g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
> -I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT  -pthread -I/usr/include  -I/usr/include  -pipe
> -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math
> -malign-double -march=native -pthread -MT fnpovfpu.o -MD -MP -MF
> ..deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' || echo
> './'`vm/fnpovfpu.cpp
> In file included from ../../source/backend/control/renderbackend.h:101,
>                  from ../../source/backend/control/messagefactory.h:100,
>                  from ../../source/backend/frame.h:117,
>                  from vm/fnpovfpu.cpp:296:

> token


> make[2]: *** [fnpovfpu.o] Error 1
> make[2]: Leaving directory `/home/abaye/povray-3.7.0.beta.41/source/backend'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/abaye/povray-3.7.0.beta.41/source'
> make: *** [install-recursive] Error 1
> abaye@localhost:povray-3.7.0.beta.41$
>
> there seems to be an error in line 114 of povray.h, I found an unclosed
> parentheses, but it still won't build.
>
> Any help would be appreciated, I can't do anything until I get the new beta.
>
> A.D.B.

Well, I thought it was an unclosed parentheses...

I compared the current version with the two previous, and it seems that the
function definition for povray_init has changed from

void povray_init(POVMSAddress *addr = NULL);

to

boost::thread *povray_init(const boost::function0<void>& threadExit,
POVMSAddress *addr = NULL);

I have to admit I'm a little out of my depth here, I know hardly anything about
the boost libraries, and nothing at all about using threads.

At any rate, this would not appear to be a problem my skills can debug, so I
leave it to the experts.

Regards, and Happy New Year

A.D.B.


Post a reply to this message

From: Le Forgeron
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 1 Jan 2011 06:23:19
Message: <4d1f0ea7@news.povray.org>
> Well, I thought it was an unclosed parentheses...
> 
> I compared the current version with the two previous, and it seems that the
> function definition for povray_init has changed from
> 
> void povray_init(POVMSAddress *addr = NULL);
> 
> to
> 
> boost::thread *povray_init(const boost::function0<void>& threadExit,
> POVMSAddress *addr = NULL);
> 

It's a mac's story...
Have you installed libboost-thread-dev package ?

> I have to admit I'm a little out of my depth here, I know hardly anything about
> the boost libraries, and nothing at all about using threads.
> 
> At any rate, this would not appear to be a problem my skills can debug, so I
> leave it to the experts.

Attached is my boost matching packages.
I compiled beta 41 fine a few days ago.
(And it has expired now, as we are 2011-01-01).


Post a reply to this message


Attachments:
Download 'capture.png' (50 KB)

Preview of image 'capture.png'
capture.png


 

From: Anthony D  Baye
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 1 Jan 2011 10:00:00
Message: <web.4d1f407d4070ff1507e8a090@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> > Well, I thought it was an unclosed parentheses...
> >
> > I compared the current version with the two previous, and it seems that the
> > function definition for povray_init has changed from
> >
> > void povray_init(POVMSAddress *addr = NULL);
> >
> > to
> >
> > boost::thread *povray_init(const boost::function0<void>& threadExit,
> > POVMSAddress *addr = NULL);
> >
>
> It's a mac's story...
> Have you installed libboost-thread-dev package ?
>
> > I have to admit I'm a little out of my depth here, I know hardly anything about
> > the boost libraries, and nothing at all about using threads.
> >
> > At any rate, this would not appear to be a problem my skills can debug, so I
> > leave it to the experts.
>
> Attached is my boost matching packages.
> I compiled beta 41 fine a few days ago.
> (And it has expired now, as we are 2011-01-01).

I'm running Ubuntu 10.04 on a Fujitsu Lifebook T5010 with an Intel Core2 Duo
processor.  I will try updating to 10.10.

The latest boost repositories available to me (according to package manager) are
1.40 not 1.42


A.D.B.


Post a reply to this message

From: Jim Holsenback
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 1 Jan 2011 10:26:36
Message: <4d1f47ac$1@news.povray.org>
On 01/01/2011 10:55 AM, Anthony D. Baye wrote:
> The latest boost repositories available to me (according to package manager) are
> 1.40 not 1.42
FYI: I've been building against 1.42 for a bit now WAS using 1.39 before
that ... never used 1.40


Post a reply to this message

From: geep999
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 1 Jan 2011 11:55:01
Message: <web.4d1f5b834070ff1380f8080@news.povray.org>
Jim Holsenback <jho### [at] povrayorg> wrote:
> On 01/01/2011 10:55 AM, Anthony D. Baye wrote:
> > The latest boost repositories available to me (according to package manager) are
> > 1.40 not 1.42
> FYI: I've been building against 1.42 for a bit now WAS using 1.39 before
> that ... never used 1.40
Boost seems to install libraries differently for different versions.
On Slackware-13.0 with boost 1.38 I use:
../configure \
--with-boost-thread=boost_thread-mt \
COMPILED_BY="Beta41 (expires 2020)"

and on Slackware-Current with boost-1.45
../configure \
 --with-boost-thread=boost_thread \
COMPILED_BY="Beta41 (expires 2020)"

Cheers,
Peter


Post a reply to this message

From: zierke
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 3 Jan 2011 09:30:01
Message: <web.4d21dc9a4070ff1a6af51070@news.povray.org>
"Anthony D. Baye" <Sha### [at] spamnomorehotmailcom> wrote:

> token



I had a similar error message.  Seems an include line in source/backend/povray.h
is missing:

#include <boost/function.hpp>

Reinhard


Post a reply to this message

From: Adam Crume
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 6 Jan 2011 22:00:01
Message: <web.4d2680934070ff16999947f0@news.povray.org>
This is still an issue in RC2.  Adding the include seems to fix it.

"zierke" <zie### [at] informatikuni-hamburgde> wrote:
> "Anthony D. Baye" <Sha### [at] spamnomorehotmailcom> wrote:

> > token


>
> I had a similar error message.  Seems an include line in source/backend/povray.h
> is missing:
>
> #include <boost/function.hpp>
>
> Reinhard


Post a reply to this message

From: Chris Cason
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 6 Jan 2011 22:05:24
Message: <4d2682f4@news.povray.org>
On 7/01/2011 13:55, Adam Crume wrote:
> This is still an issue in RC2.  Adding the include seems to fix it.

Not sure why it happens on some systems and not others (builds fine on our
test system), but in any case I've updated the source archive with the
appropriate change.

-- Chris


Post a reply to this message

From: waggy
Subject: Re: Error compiling beta 41 in Ubuntu
Date: 6 Jan 2011 22:20:01
Message: <web.4d2685ec4070ff19726a3c10@news.povray.org>
"Adam Crume" <nomail@nomail> wrote:
> This is still an issue in RC2.  Adding the include seems to fix it.
>
Confirmed here, too.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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