i''m not sure if i forgot something since i followed everything from http://developer.wz2100.net/wiki/Compil ... ndows/MSVCError 84 error C2084: function 'double hypot(double,double)' already has a body d:\warzone\lib\framework\math_ext.h 99 1 iniparser
Error 85 error C2084: function 'float hypotf(float,float)' already has a body d:\warzone\lib\framework\math_ext.h 105 1 iniparser
Error 86 error C2084: function 'double hypot(double,double)' already has a body d:\warzone\lib\framework\math_ext.h 99 1 exceptionhandler
Error 87 error C2084: function 'float hypotf(float,float)' already has a body d:\warzone\lib\framework\math_ext.h 105 1 exceptionhandler
MSVC error
MSVC error
i got some error when compiling.
Re: MSVC error
forgot to add it ![Razz :P](./images/smilies/icon_razz.gif)
i'm using VS 2010 service pack 1
![Razz :P](./images/smilies/icon_razz.gif)
i'm using VS 2010 service pack 1
Re: MSVC error
Odd, works well here, with VS 2010. Can you give me the build logs ?
and it ends here.
Re: MSVC error
all i did just open vs2k8 file -> convert & backup-> build solution.
tell me if you need other files![Smile :)](./images/smilies/icon_smile.gif)
tell me if you need other files
![Smile :)](./images/smilies/icon_smile.gif)
- Attachments
-
- Warzone2100.vs2k8.log
- debug log
- (62.79 KiB) Downloaded 433 times
Re: MSVC error
Use the native 2010 solution file please.Ezio wrote:all i did just open vs2k8 file -> convert & backup-> build solution.
tell me if you need other files
and it ends here.
-
- New user
- Posts: 2
- Joined: 01 Jun 2011, 19:17
Re: MSVC error
Greetings,
currently i am trying to run the last svn trunk version under MS VC 2010. I read all tips but still stucking in strange issues. May anyone is able to kick me in the right direction. First of all, i am able to compile (with a lot of warnings) but the (release) result is stuttering. Not audio, but input, movement and animation (3 seconds play, 2 seconds pause, 3seconds play, 2seconds pause....). The debug version will not start due to "side-by-side" issues![Pensive :hmm:](./images/smilies/icon_pensive.gif)
here a part of my build log for release:
I use the following new libs:
libogg-1.2.2 static http://xiph.org/downloads/
/include/ogg
config_types.h.in
ogg.h
os_types.h
/lib
libogg_static_lib
/libd
libogg_static.lib
/data
-
libvorbis-1.3.2 static http://xiph.org/downloads/
/include/vorbis
codec.h
vorbisenc.h
vorbisfile.h
/lib
libvorbis_static.lib
libvorbisfile_static.lib
/libd
libvorbis_static.lib
libvorbisfile_static.lib
/data
-
I build them by myself. The rest i took from the msvc2010 devpkg i found here:
http://download.gna.org/warzone/develop ... runk/msvc/
Any Help would be highly appreciated
currently i am trying to run the last svn trunk version under MS VC 2010. I read all tips but still stucking in strange issues. May anyone is able to kick me in the right direction. First of all, i am able to compile (with a lot of warnings) but the (release) result is stuttering. Not audio, but input, movement and animation (3 seconds play, 2 seconds pause, 3seconds play, 2seconds pause....). The debug version will not start due to "side-by-side" issues
![Pensive :hmm:](./images/smilies/icon_pensive.gif)
here a part of my build log for release:
Code: Select all
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\src\astar.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\src\astar.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\src\astar.cpp' and 'D:\Programming\Warzone2100\src\action.c': 'unsigned char' and 'int'
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\src\mapgrid.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\src\mapgrid.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\src\mapgrid.cpp' and 'D:\Programming\Warzone2100\src\action.c': 'unsigned char' and 'int'
13>LINK : warning C4742: 'enabled_debug' has different alignment in 'D:\Programming\Warzone2100\src\multibot.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\src\multibot.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\src\multibot.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\src\multibot.cpp' and 'D:\Programming\Warzone2100\src\action.c': 'unsigned char' and 'int'
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\src\random.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\src\random.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\src\random.cpp' and 'D:\Programming\Warzone2100\src\action.c': 'unsigned char' and 'int'
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\src\wavecast.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\src\wavecast.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\src\wavecast.cpp' and 'D:\Programming\Warzone2100\src\action.c': 'unsigned char' and 'int'
13>LINK : warning C4742: 'enabled_debug' has different alignment in 'D:\Programming\Warzone2100\lib\exceptionhandler\dumpinfo.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\lib\exceptionhandler\dumpinfo.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\lib\exceptionhandler\dumpinfo.cpp' and 'D:\Programming\Warzone2100\src\action.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\lib\exceptionhandler\dumpinfo.cpp' and 'D:\Programming\Warzone2100\src\action.c': 'unsigned char' and 'int'
13>LINK : warning C4742: 'enabled_debug' has different alignment in 'D:\Programming\Warzone2100\lib\netplay\nettypes.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 1 and 4
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\lib\netplay\nettypes.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\lib\netplay\nettypes.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\lib\netplay\nettypes.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 'unsigned char' and 'int'
13>LINK : warning C4742: 'enabled_debug' has different alignment in 'D:\Programming\Warzone2100\lib\netplay\netsocket.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 1 and 4
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\lib\netplay\netsocket.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\lib\netplay\netsocket.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\lib\netplay\netsocket.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 'unsigned char' and 'int'
13>LINK : warning C4742: 'assertEnabled' has different alignment in 'D:\Programming\Warzone2100\lib\netplay\netqueue.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 1 and 4
13>LINK : warning C4743: 'assertEnabled' has different size in 'D:\Programming\Warzone2100\lib\netplay\netqueue.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 1 and 4 bytes
13>LINK : warning C4744: 'assertEnabled' has different type in 'D:\Programming\Warzone2100\lib\netplay\netqueue.cpp' and 'D:\Programming\Warzone2100\lib\framework\debug.c': 'unsigned char' and 'int'
13> Creating library D:\Programming\Warzone2100\win32\Release\Warzone2100.lib and object D:\Programming\Warzone2100\win32\Release\Warzone2100.exp
13> Generating code
13>d:\programming\warzone2100\lib\ivis_opengl\glee.c(15966): warning C4748: /GS can not protect parameters and local variables from local buffer overrun because optimizations are disabled in function
13> Finished generating code
13>libtheora_static.lib(apiwrapper.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(bitpack.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(decapiwrapper.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(decinfo.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(dequant.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(fragment.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(huffdec.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(info.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(internal.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(state.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(mmxfrag.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(mmxidct.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(mmxloopfilter.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(mmxstate.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(x86state.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(decode1.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(idct1.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13>libtheora_static.lib(quant1.obj) : warning LNK4204: 'D:\Programming\Warzone2100\win32\Release\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
13> Warzone2100.vs2k8.vcxproj -> D:\Programming\Warzone2100\win32\Release\Warzone2100.exe
13> 1 Datei(en) kopiert.
========== Rebuild All: 13 succeeded, 0 failed, 0 skipped ==========
libogg-1.2.2 static http://xiph.org/downloads/
/include/ogg
config_types.h.in
ogg.h
os_types.h
/lib
libogg_static_lib
/libd
libogg_static.lib
/data
-
libvorbis-1.3.2 static http://xiph.org/downloads/
/include/vorbis
codec.h
vorbisenc.h
vorbisfile.h
/lib
libvorbis_static.lib
libvorbisfile_static.lib
/libd
libvorbis_static.lib
libvorbisfile_static.lib
/data
-
I build them by myself. The rest i took from the msvc2010 devpkg i found here:
http://download.gna.org/warzone/develop ... runk/msvc/
Any Help would be highly appreciated
-
- New user
- Posts: 2
- Joined: 01 Jun 2011, 19:17
Re: MSVC error
It is not part of the current trunk, where do i find it?Buginator wrote:Use the native 2010 solution file please.Ezio wrote:all i did just open vs2k8 file -> convert & backup-> build solution.
tell me if you need other files
- Goth Zagog-Thou
- Regular
- Posts: 1582
- Joined: 06 Jan 2007, 08:08
- Location: Delta Base
- Contact:
Re: MSVC error
I should note that the nightly also has bad stuttering in the audio, like an overload is happening.
- lav_coyote25
- Professional
- Posts: 3434
- Joined: 08 Aug 2006, 23:18
Re: MSVC error
Goth Zagog-Thou wrote:I should note that the nightly also has bad stuttering in the audio, like an overload is happening.
yeah!! whats up with that.... i noticed that that dos box - when stuff is happening, it streams by so darn fast i cant read it... again, whats up with that...??????????
![Annoyed :annoyed:](./images/smilies/icon_annoyed.gif)
Re: MSVC error
As you can see here http://developer.wz2100.net/ticket/2783 is a new development package for Visual Studio 2010. I was not able to upload the complete package due to size limitation is set to 5 MB (need 5.6).
Re: MSVC error
What was wrong with the "official" dev package ? http://developer.wz2100.net/ticket/2643Seismo wrote:As you can see here http://developer.wz2100.net/ticket/2783 is a new development package for Visual Studio 2010. I was not able to upload the complete package due to size limitation is set to 5 MB (need 5.6).
Yeah, it still is a work in progress, since I am moving/changing things around, but, for the most part, it should work 'as is'.
and it ends here.
Re: MSVC error
Ah ok, i tried that "official" package what you call "should work" - forget it. Sorry pal, it's far away from being usable. Mixed VS versions, too old libs, broken compile due to some worse lines of code. The package you have uploaded have missing .vcxproj files which are necessary for msvc2010.Buginator wrote:What was wrong with the "official" dev package ? http://developer.wz2100.net/ticket/2643Seismo wrote:As you can see here http://developer.wz2100.net/ticket/2783 is a new development package for Visual Studio 2010. I was not able to upload the complete package due to size limitation is set to 5 MB (need 5.6).
Yeah, it still is a work in progress, since I am moving/changing things around, but, for the most part, it should work 'as is'.
Re: MSVC error
Seismo wrote:Ah ok, i tried that "official" package what you call "should work" - forget it. Sorry pal, it's far away from being usable. Mixed VS versions, too old libs, broken compile due to some worse lines of code. The package you have uploaded have missing .vcxproj files which are necessary for msvc2010.Buginator wrote:What was wrong with the "official" dev package ? http://developer.wz2100.net/ticket/2643Seismo wrote:As you can see here http://developer.wz2100.net/ticket/2783 is a new development package for Visual Studio 2010. I was not able to upload the complete package due to size limitation is set to 5 MB (need 5.6).
Yeah, it still is a work in progress, since I am moving/changing things around, but, for the most part, it should work 'as is'.
![Eh? O_o](./images/smilies/icon_eh2.gif)
Those were all made using VS2010, and work 'as is', in fact, I am using it now, and I have 0 problems with those libs.
and it ends here.
Re: MSVC error
Well, i do not want to make you work bad, but only your devpkg is not enough to build it. For VS 2010 any part is missing and also related code changes are necessary. May you say next, make it for you own. Hmm, i put that all together in one fix. Should not be much work to use it right after downloding.Buginator wrote:Seismo wrote:Ah ok, i tried that "official" package what you call "should work" - forget it. Sorry pal, it's far away from being usable. Mixed VS versions, too old libs, broken compile due to some worse lines of code. The package you have uploaded have missing .vcxproj files which are necessary for msvc2010.Buginator wrote:What was wrong with the "official" dev package ? http://developer.wz2100.net/ticket/2643Seismo wrote:As you can see here http://developer.wz2100.net/ticket/2783 is a new development package for Visual Studio 2010. I was not able to upload the complete package due to size limitation is set to 5 MB (need 5.6).
Yeah, it still is a work in progress, since I am moving/changing things around, but, for the most part, it should work 'as is'.![]()
Those were all made using VS2010, and work 'as is', in fact, I am using it now, and I have 0 problems with those libs.
I also tried http://download.gna.org/warzone/develop ... runk/msvc/ and http://developer.wz2100.net/ticket/1881 without much progress. Therefor i build a new one and baked all together. May you will have a look at my work?
BTW: your ticket http://developer.wz2100.net/ticket/2643 has less information than needed to realize that this is for Visual Studio 2010 and the current SVN trunk.