Revision 13677 compile error under Linux

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).

Revision 13677 compile error under Linux

Postby rjkfsm » Tue Apr 29, 2014 5:28 am

Hi,

I followed the instructions in the Wiki to download and compile a whole new installation. Unfortunately, the compile run breaks with an error. I've tried searching the forums for 13677 and for the errors thrown, but no matches were found.

Any help would be appreciated.

RK

Console output:
Code: Select all
[ 81%] Building CXX object CMakeFiles/vegastrike.dir/src/ffmpeg_init.cpp.o
/home/rking/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:27: warning: '_url_open' initialized and declared 'extern' [enabled by default]
/home/rking/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:27: error: 'URLContext' was not declared in this scope
/home/rking/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:39: error: 'h' was not declared in this scope
/home/rking/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:42: error: expected primary-expression before 'const'
/home/rking/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:64: error: expected primary-expression before 'int'
/home/rking/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:74: error: expression list treated as compound expression in initializer [-fpermissive]
/home/rking/vegastrike/vegastrike/src/ffmpeg_init.cpp:40:1: error: expected ',' or ';' before '{' token
make[2]: *** [CMakeFiles/vegastrike.dir/src/ffmpeg_init.cpp.o] Error 1
make[1]: *** [CMakeFiles/vegastrike.dir/all] Error 2
make: *** [all] Error 2


Config.h
Code: Select all
#ifndef _CONFIG_H_
#define _CONFIG_H_
#define HAVE_WCHAR_H 1
#define HAVE_FLOAT_H  1
#define HAVE_WCTYPE_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_ZLIB_H 1
#define HAVE_MATH_H 1
#define HAVE_GLXGETPROCADDRESSARB 1
#define HAVE_ISNAN 1
/* #undef HAVE__ISNAN */
#define HAVE_FINITE 1
/* #undef HAVE__FINITE */
#define HAVE_GETTIMEOFDAY 1
#define HAVE_LSTAT 1
#define HAVE_PYTHON 1
#define _GNU_SOURCE 1
#define HAVE_OGG 1
/* #undef HAVE_OGRE */
#define HAVE_SDL 1
#define SDL_WINDOWING 1
#define HAVE_AL 1

#define HAVE_FFMPEG 1

/* #undef HAVE_FFMPEG_SWSCALE_H */
#define HAVE_SWSCALE_H 1
/* #undef HAVE_LIBSWSCALE_SWSCALE_H */

#define HAVE_AVCODEC_H 1
/* #undef HAVE_LIBAVCODEC_AVCODEC_H */

#define HAVE_AVFORMAT_H 1
/* #undef HAVE_LIBAVFORMAT_AVFORMAT_H */

#define HAVE_AVIO_H 1
/* #undef HAVE_LIBAVFORMAT_AVIO_H */


#define HAVE_TR1_UNORDERED_MAP 1
#define HAVE_CONFIG_H 1
#define LINUX 1
#define UNIX 1
#define USE_NET_THREAD_NONE 1
/* #undef USE_NET_THREAD_POSIX */
#endif
rjkfsm
Atmospheric Pilot
Atmospheric Pilot
 
Posts: 1
Topics: 1
Joined: Tue Apr 29, 2014 5:12 am

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: Revision 13677 compile error under Linux

Postby loki1950 » Tue Apr 29, 2014 3:52 pm

Welcome aboard which distro are you using as I had no problems on fedora 20 just one with a mismatch in the Ogre API that borked the compile of the mesh converter your error seems to be a similar issue but with a change in the ffmpeg API and I am not that familiar with C++ to advise you apart from building without ffmpeg support as there is currently no content that uses it yet.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5715
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa


Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 1 guest

cron