svn fails to build.

87 views
Skip to first unread message

gustav

unread,
Nov 6, 2011, 2:21:40 PM11/6/11
to G3D Users
using gcc 4.6.2 on ubuntu 11.10 the svn fails to build for me.

Building libG3Dd.a
Computing dependencies
Detected dependency on ../GLG3D.lib from inclusion of GLG3D/
glheaders.h by source/ImageFormat.cpp
Path ../temp/ffmpeg/native/install/include/ specified in configuration
file does not exist.

Compiling
source/GCamera.cpp
In file included from /home/gustav/stuff/g3d/G3D9/G3D.lib/source/
GCamera.cpp:17:0:
include/G3D/Any.h:380:14: error: ‘G3D::Any::Any(long int)’ cannot be
overloaded
include/G3D/Any.h:376:14: error: with ‘G3D::Any::Any(G3D::int64)’

Corey Taylor

unread,
Nov 6, 2011, 4:06:21 PM11/6/11
to g3d-...@googlegroups.com
What command did you use to build G3D?

If ffmpeg failed to configure or compile, it should have bailed before trying to build ImageFormat.cpp.

There shouldn't be a long int and int64 overload.  We will look into that.

corey

gustav

unread,
Nov 6, 2011, 4:17:27 PM11/6/11
to g3d-...@googlegroups.com
sudo ./buildg3d  clean lib

Corey Taylor

unread,
Nov 6, 2011, 4:21:16 PM11/6/11
to g3d-...@googlegroups.com
You should run:

./buildg3d all

To create a clean build.  Do you see any errors configuring or building ffmpeg? 


However, neither Morgan nor I are currently developing on Linux, so there are probably a couple issues.  We moved away from Linux when the nvidia drivers at the time started causing problems.

corey

gustav

unread,
Nov 6, 2011, 4:31:13 PM11/6/11
to g3d-...@googlegroups.com
./buildg3d all   
gives same errors. the script does not terminate by itself.
There are no earlier errors.


Copying public header files

Library written to ../build/lib/libmongoose.a
../bin/icompile --verbosity 1 --noprompt
_______________________________________________________________________

Building libG3Dd.a
Computing dependencies
Detected dependency on ../GLG3D.lib from inclusion of GLG3D/glheaders.h by source/ImageFormat.cpp
Path ../temp/ffmpeg/native/install/include/ specified in configuration file does not exist.

Compiling
source/Color3.cpp
In file included from /home/gustav/stuff/g3d/G3D9/G3D.lib/source/Color3.cpp:20:0:
include/G3D/Any.h:380:14: error: ‘G3D::Any::Any(long int)’ cannot be overloaded
include/G3D/Any.h:376:14: error: with ‘G3D::Any::Any(G3D::int64)’


Corey Taylor

unread,
Nov 6, 2011, 4:34:43 PM11/6/11
to g3d-...@googlegroups.com
Well, presuming there was an error configuring or building ffmpeg which you didn't see, can you send me this file:

temp/ffmpeg/native/ffmpeg-6.0.1/config.err

I'll see if there's something we can adjust.

corey

gustav

unread,
Nov 6, 2011, 4:55:19 PM11/6/11
to g3d-...@googlegroups.com

there is only  G3D ,  mongoose, tools   subdirs inside the g3d9/temp dir.

Corey Taylor

unread,
Nov 6, 2011, 7:07:41 PM11/6/11
to g3d-...@googlegroups.com
Either the script is failing to even extract the ffmpeg source or isn't configured to build ffmpeg on Linux.
 
If I get a chance, I'll take a look at it.
 
corey

gustav

unread,
Nov 7, 2011, 1:18:58 PM11/7/11
to g3d-...@googlegroups.com
Thanks Corey,
I am investigating G3D as platform for my space game.

Corey Taylor

unread,
Nov 7, 2011, 8:27:15 PM11/7/11
to g3d-...@googlegroups.com
I've taken a look at the build scripts, and will need your help in debugging this at the moment.

1.  Our build scripts currently do not build ffmpeg on linux.  After we upgraded to a point release, I believe we expected to use installed ffmpeg packages on linux.

2.  Linux is supported in the ffmpeg build script, but it would need to be tested since there are some linux-specific tests surrounding temp directories.

Do you have an ffmpeg development package installed on ubuntu?  Which version is installed?  We are compatible with 0.6.x and 0.7.x releases of ffmpeg.  The 0.8 release includes API changes which are not backwards compatible.  

corey

gustav

unread,
Nov 8, 2011, 12:26:15 PM11/8/11
to g3d-...@googlegroups.com

ffmpeg is not default in ubuntu anymore, but the libav fork. 
I have installed ffmpeg 0.7.2 ,  i cant find any dev package for it.

Im using python 3.2 now. i used 2.7 before :/

Building libG3Dd.a
Computing dependencies
Detected dependency on ../GLG3D.lib from inclusion of GLG3D/glheaders.h by source/ImageFormat.cpp
Path ../temp/ffmpeg/native/install/include/ specified in configuration file does not exist.




Corey Taylor

unread,
Nov 8, 2011, 1:54:47 PM11/8/11
to g3d-...@googlegroups.com
Python 3.2 should be ok.  So there isn't a package that includes the headers?

corey

gustav

unread,
Nov 8, 2011, 3:51:40 PM11/8/11
to g3d-...@googlegroups.com

nope.
i installed ffmpeg from git now.  headers are  in  usr local include  libavcodec    etc.
it does not help.

Building libG3Dd.a
Computing dependencies
Detected dependency on ../GLG3D.lib from inclusion of GLG3D/glheaders.h by source/ImageFormat.cpp
Path ../temp/ffmpeg/native/install/include/ specified in configuration file does not exist.

Corey Taylor

unread,
Nov 8, 2011, 4:27:03 PM11/8/11
to g3d-...@googlegroups.com

Right, its expecteling G3D to build it.

The build script needs to be modified to build ffmpeg or make sure include paths are correct to use an installed version on Linux.

Are you still interested in trying this?

corey

gustav

unread,
Nov 8, 2011, 4:48:23 PM11/8/11
to g3d-...@googlegroups.com
no,not for now. i am sorry.
I will focus on webgl and hope it improves enough in the future.

Corey Taylor

unread,
Nov 8, 2011, 6:33:09 PM11/8/11
to g3d-...@googlegroups.com

Sounds good.  Linux is just not a priority platform for us now so you're better off looking into a mother solution unless you want to invest some maintenance time.

corey

gustav

unread,
Nov 8, 2011, 6:38:50 PM11/8/11
to g3d-...@googlegroups.com
Its hard to find good solutions.
I might be interested, i have not settled 100% yet.
I don't like the idea of coding a complex client in JS.
I prefer c++11, same as server side.
Reply all
Reply to author
Forward
0 new messages