Error during Make operation

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).
Post Reply
AVBJim
Merchant
Merchant
Posts: 42
Joined: Tue Dec 22, 2009 9:16 pm

Error during Make operation

Post by AVBJim »

I receive the message

src/cmd/unit_generic.cpp: In member function ‘bool MeshAnimation::Init(const char*, int, Flightgroup*, const char*)’:
src/cmd/unit_generic.cpp:9424:40: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘std::vector<Mesh*, std::allocator<Mesh*> >::size_type’

in the terminal window during Make. It does not stop compilation and if you are not watching, you may miss this message.

My System: Asus M3N78-VM motherboard, AMD Phenom II X4 processor, 4 GB ram, Nvidia GTX560 Ti DCU II video card with 1GB GDDR5 video ram, Ubuntu 11.04 (Natty), kernel Linux 2.6.38-10, make 3.81-8ubuntu1, gcc 4:4.5.2-1ubuntu3, cpp 4:4.5.2-1ubuntu3, boost-build 2.0-m12-2, Vegastrike svn revision 13197
strook
ISO Party Member
ISO Party Member
Posts: 461
Joined: Fri Sep 03, 2010 12:10 pm

Re: Error during Make operation

Post by strook »

well this code is not used (yet?), cause there are 2 different mesh animation systems in vs.
we came to no conclusion wether to use the new one or not.

also "size_type" is an integer value, it has another name and is only being used for sizes (of arrays, lists etc.)
plz visit my vegastrike project branch here

plz support VegaOgre by donating to it!

My systems: Mac mini 1, 4gig RAM;
i5 Quad Core 2400, 300mbit WLAN, 1,3Tbyte HD, 60 GB SSD,
nvidia geforce 8400gs 512MB, 6gig RAM with Ubuntu 11.4,
win7 and hackintosh installed
Post Reply