gentoo, gcc 4.3, amd64.
12490, like 12489,88,87,86,85,... always fails with this error:
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB-I./boost/1_35 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -DDATA_DIR=\"/home/energyman/vegastrike_cvs/data\" -I/usr/include/python2.5 -DHAVE_PYTHON=1 -I./src -pipe -O3 -ffast-math -O3 -msse3 -march=k8 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/gfx/vsimage.o -MD -MP -MF $depbase.Tpo -c -o src/gfx/vsimage.o src/gfx/vsimage.cpp &&\
mv -f $depbase.Tpo $depbase.Po
src/gfx/vsimage.cpp: In member function 'unsigned char* VSImage::ReadDDS()':
src/gfx/vsimage.cpp:776: error: 'DDS_CUBEMAP' was not declared in this scope
make[1]: *** [src/gfx/vsimage.o] Error 1
make[1]: Leaving directory `/home/energyman/vegastrike_cvs/vegastrike'
make: *** [all] Error 2
12490 does not build
-
- ISO Party Member
- Posts: 445
- Joined: Tue Feb 11, 2003 8:04 am
12490 does not build
You do not have the required permissions to view the files attached to this post.
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Re: 12490 does not build
That's safemode's new cube map code haven't built it myself yet so no experience if it does or not my last is 474 i see that you don't have ffmpeg/avformat libs so you might disable it in the config options no in-game video clips yet so no pain.I will get back after i try my luck on 490
Edit: just did the deed and i get the same error so safemode may have some cleaning up to do
Enjoy the Choice
Edit: just did the deed and i get the same error so safemode may have some cleaning up to do
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- ISO Party Member
- Posts: 445
- Joined: Tue Feb 11, 2003 8:04 am
Re: 12490 does not build
emm, I do have ffmpeg/libavformat installed. vegastrike's configure is just too stupid to look into the right place (would be nice to have a configure option to tell configure where to look) for the header files.
On ALL gentoo systems:
/usr/include/libavcodec
/usr/include/libavcodec/avcodec.h
/usr/include/libavcodec/opt.h
/usr/include/libavdevice
/usr/include/libavdevice/avdevice.h
/usr/include/libavfilter
/usr/include/libavfilter/avfilter.h
/usr/include/libavformat
/usr/include/libavformat/avformat.h
/usr/include/libavformat/avio.h
/usr/include/libavformat/rtsp.h
/usr/include/libavformat/rtspcodes.h
/usr/include/libavutil
/usr/include/libavutil/adler32.h
/usr/include/libavutil/avstring.h
/usr/include/libavutil/avutil.h
/usr/include/libavutil/base64.h
/usr/include/libavutil/common.h
/usr/include/libavutil/crc.h
/usr/include/libavutil/fifo.h
/usr/include/libavutil/intfloat_readwrite.h
/usr/include/libavutil/log.h
/usr/include/libavutil/lzo.h
/usr/include/libavutil/mathematics.h
/usr/include/libavutil/md5.h
/usr/include/libavutil/mem.h
/usr/include/libavutil/random.h
/usr/include/libavutil/rational.h
/usr/include/libavutil/sha1.h
/usr/include/libpostproc
/usr/include/libpostproc/postprocess.h
/usr/include/libswscale
/usr/include/libswscale/rgb2rgb.h
/usr/include/libswscale/swscale.h
On ALL gentoo systems:
/usr/include/libavcodec
/usr/include/libavcodec/avcodec.h
/usr/include/libavcodec/opt.h
/usr/include/libavdevice
/usr/include/libavdevice/avdevice.h
/usr/include/libavfilter
/usr/include/libavfilter/avfilter.h
/usr/include/libavformat
/usr/include/libavformat/avformat.h
/usr/include/libavformat/avio.h
/usr/include/libavformat/rtsp.h
/usr/include/libavformat/rtspcodes.h
/usr/include/libavutil
/usr/include/libavutil/adler32.h
/usr/include/libavutil/avstring.h
/usr/include/libavutil/avutil.h
/usr/include/libavutil/base64.h
/usr/include/libavutil/common.h
/usr/include/libavutil/crc.h
/usr/include/libavutil/fifo.h
/usr/include/libavutil/intfloat_readwrite.h
/usr/include/libavutil/log.h
/usr/include/libavutil/lzo.h
/usr/include/libavutil/mathematics.h
/usr/include/libavutil/md5.h
/usr/include/libavutil/mem.h
/usr/include/libavutil/random.h
/usr/include/libavutil/rational.h
/usr/include/libavutil/sha1.h
/usr/include/libpostproc
/usr/include/libpostproc/postprocess.h
/usr/include/libswscale
/usr/include/libswscale/rgb2rgb.h
/usr/include/libswscale/swscale.h
-
- Just a tourist with a frag'd nav console
- Posts: 3
- Joined: Wed Oct 29, 2008 4:31 pm
Re: 12490 does not build
Well, I had the same problem, so I stuck: into line 60 of vsimage.cpp, just so it would be declared. The game compiles and seems to run normally now, although I haven't tested it much yet.
I think he just forgot to declare it, maybe? I couldn't find it in any other source files.
Code: Select all
int DDS_CUBEMAP=0;
I think he just forgot to declare it, maybe? I couldn't find it in any other source files.
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Re: 12490 does not build
Welcome Grawmad and welcome to our shared problem that's what i figure as well as his commit comment does mention that it's not complete yet as it's not called by anything and therefore should run just fine for you.
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
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 Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
Re: 12490 does not build
I had a similar problem on my mac but forgot to commit the change -- I used a ifndef so newer systems should still work
edit: might also want to revert since 0 isn't exactly the right value
edit: might also want to revert since 0 isn't exactly the right value
-
- ISO Party Member
- Posts: 445
- Joined: Tue Feb 11, 2003 8:04 am
Re: 12490 does not build
ok 12491 builds ok, but then make fails with this error:
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -DDATA_DIR=\"/home/energyman/vegastrike_cvs/data\" -I/usr/include/python2.5 -DHAVE_PYTHON=1 -I./src -pipe -O3 -ffast-math -O3 -msse3 -march=k8 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/python/briefing_wrapper.o -MD -MP -MF $depbase.Tpo -c -o src/python/briefing_wrapper.o src/python/briefing_wrapper.cpp &&\
mv -f $depbase.Tpo $depbase.Po
rm: cannot remove `vegastrike': Is a directory
make[1]: *** [vegastrike] Error 1
make[1]: Leaving directory `/home/energyman/vegastrike_cvs/vegastrike'
make: *** [all] Error 2
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -DDATA_DIR=\"/home/energyman/vegastrike_cvs/data\" -I/usr/include/python2.5 -DHAVE_PYTHON=1 -I./src -pipe -O3 -ffast-math -O3 -msse3 -march=k8 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/python/briefing_wrapper.o -MD -MP -MF $depbase.Tpo -c -o src/python/briefing_wrapper.o src/python/briefing_wrapper.cpp &&\
mv -f $depbase.Tpo $depbase.Po
rm: cannot remove `vegastrike': Is a directory
make[1]: *** [vegastrike] Error 1
make[1]: Leaving directory `/home/energyman/vegastrike_cvs/vegastrike'
make: *** [all] Error 2
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
Re: 12490 does not build
You've got something weird with your setup. The name of the executable is "vegastrike" but it looks like a directory on that name is obstructing the way in the "vegastrike" compile directory. Try doing a "mv vegastrike vegastrike.old" or something or get rid of that whole directory if you don't know what it is.
(I'm not talking about deleting the folder you are compiling it from--it looks like there is a subfolder that is also called "vegastrike" inside the "vegastrike" dir)
(I'm not talking about deleting the folder you are compiling it from--it looks like there is a subfolder that is also called "vegastrike" inside the "vegastrike" dir)
-
- ISO Party Member
- Posts: 445
- Joined: Tue Feb 11, 2003 8:04 am
Re: 12490 does not build
ooops, yes. excuse me please for the noise.