mapgrid.c lost?

For code related discussions and questions
Post Reply
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

mapgrid.c lost?

Post by Black NEXUS »

Hello,

i've trying to compile the Trunk with VS 2008 (German Version), but it has send one error:

Code: Select all

mapgrid.c
c1 : fatal error C1083: Datei (Quelle) kann nicht geöffnet werden: "..\src\mapgrid.c": No such file or directory
Where is this file and how can i get it?
Join NeoX-Virt - The Software-Forge on neox-virt.de
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: mapgrid.c lost?

Post by cybersphinx »

Change it to mapgrid.cpp, and if it works, send us the patch for the project file.
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: mapgrid.c lost?

Post by Black NEXUS »

ok, but now some new errors:

Code: Select all

mapgrid.cpp
 *** Warnings 4018,4100,4127,4204,4244,4267,4389 have been squelched. ***
d:\svn\warzone2100\src\map.h(157) : warning C4800: 'int': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(163) : warning C4800: 'int': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(169) : warning C4800: 'int': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(181) : warning C4800: 'int': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(388) : warning C4800: 'BOOL': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(395) : warning C4800: 'BOOL': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(402) : warning C4800: 'BOOL': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\pointtree.h(36) : warning C4099: 'PointTree': Geben Sie den zuerst unter Verwendung von 'class' und jetzt unter Verwendung von 'struct' gesehenen Namen ein
        d:\svn\warzone2100\src\pointtree.h(11): Siehe Deklaration von 'PointTree'
d:\svn\warzone2100\src\pointtree.h(37) : warning C4099: 'PointTree': Geben Sie den zuerst unter Verwendung von 'class' und jetzt unter Verwendung von 'struct' gesehenen Namen ein
        d:\svn\warzone2100\src\pointtree.h(11): Siehe Deklaration von 'PointTree'
Ressourcen werden kompiliert...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Verknüpfen...
warning C4742: "assertEnabled" hat eine unterschiedliche Ausrichtung in "d:\SVN\warzone2100\src\mapgrid.cpp" und "d:\SVN\warzone2100\src\action.c": 1 und 4.
warning C4743: "assertEnabled" hat eine unterschiedliche Größe in "d:\SVN\warzone2100\src\mapgrid.cpp" und "d:\SVN\warzone2100\src\action.c": 1 und 4 Bytes
warning C4744: "assertEnabled" hat einen unterschiedlichen Typ in "d:\SVN\warzone2100\src\mapgrid.cpp" und "d:\SVN\warzone2100\src\action.c": "unsigned char" und "int".
warning C4742: "enabled_debug" hat eine unterschiedliche Ausrichtung in "d:\SVN\warzone2100\lib\exceptionhandler\dumpinfo.cpp" und "d:\SVN\warzone2100\lib\framework\debug.c": 1 und 4.
warning C4742: "assertEnabled" hat eine unterschiedliche Ausrichtung in "d:\SVN\warzone2100\lib\exceptionhandler\dumpinfo.cpp" und "d:\SVN\warzone2100\lib\framework\debug.c": 1 und 4.
warning C4743: "assertEnabled" hat eine unterschiedliche Größe in "d:\SVN\warzone2100\lib\exceptionhandler\dumpinfo.cpp" und "d:\SVN\warzone2100\lib\framework\debug.c": 1 und 4 Bytes
warning C4744: "assertEnabled" hat einen unterschiedlichen Typ in "d:\SVN\warzone2100\lib\exceptionhandler\dumpinfo.cpp" und "d:\SVN\warzone2100\lib\framework\debug.c": "unsigned char" und "int".
   Bibliothek "D:\SVN\warzone2100\win32\Release\Warzone2100.lib" und Objekt "D:\SVN\warzone2100\win32\Release\Warzone2100.exp" werden erstellt.
mapgrid.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: class std::vector<void *,class std::allocator<void *> > & __thiscall PointTree::query(int,int,unsigned int)" (?query@PointTree@@QAEAAV?$vector@PAXV?$allocator@PAX@std@@@std@@HHI@Z)".
mapgrid.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall PointTree::sort(void)" (?sort@PointTree@@QAEXXZ)".
mapgrid.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall PointTree::clear(void)" (?clear@PointTree@@QAEXXZ)".
mapgrid.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall PointTree::insert(void *,int,int)" (?insert@PointTree@@QAEXPAXHH@Z)".
libtheora_static.lib(mmxidct.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(bitpack.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(dequant.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(mmxstate.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(mmxfrag.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(fragment.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(idct1.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(huffdec.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(quant1.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(decinfo.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(internal.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(info.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(x86state.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(decapiwrapper.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(apiwrapper.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(state.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(decode1.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
D:\SVN\warzone2100\win32\Release\Warzone2100.exe : fatal error LNK1120: 5 nicht aufgelöste externe Verweise.
Last edited by Black NEXUS on 27 Jan 2010, 02:44, edited 1 time in total.
Join NeoX-Virt - The Software-Forge on neox-virt.de
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: mapgrid.c lost?

Post by cybersphinx »

Add src/pointtree.cpp, that'll help some, but I'm not sure what to do about the libtheora errors...
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: mapgrid.c lost?

Post by Black NEXUS »

Well, number of errors almost cut in half.

Code: Select all

mapgrid.cpp
 *** Warnings 4018,4100,4127,4204,4244,4267,4389 have been squelched. ***
d:\svn\warzone2100\src\map.h(157) : warning C4800: 'int': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(163) : warning C4800: 'int': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(169) : warning C4800: 'int': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(181) : warning C4800: 'int': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(388) : warning C4800: 'BOOL': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(395) : warning C4800: 'BOOL': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\map.h(402) : warning C4800: 'BOOL': Variable wird auf booleschen Wert ('True' oder 'False') gesetzt (Auswirkungen auf Leistungsverhalten möglich)
d:\svn\warzone2100\src\pointtree.h(36) : warning C4099: 'PointTree': Geben Sie den zuerst unter Verwendung von 'class' und jetzt unter Verwendung von 'struct' gesehenen Namen ein
        d:\svn\warzone2100\src\pointtree.h(11): Siehe Deklaration von 'PointTree'
d:\svn\warzone2100\src\pointtree.h(37) : warning C4099: 'PointTree': Geben Sie den zuerst unter Verwendung von 'class' und jetzt unter Verwendung von 'struct' gesehenen Namen ein
        d:\svn\warzone2100\src\pointtree.h(11): Siehe Deklaration von 'PointTree'
Ressourcen werden kompiliert...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Verknüpfen...
warning C4742: "assertEnabled" hat eine unterschiedliche Ausrichtung in "d:\SVN\warzone2100\src\mapgrid.cpp" und "d:\SVN\warzone2100\src\action.c": 1 und 4.
warning C4743: "assertEnabled" hat eine unterschiedliche Größe in "d:\SVN\warzone2100\src\mapgrid.cpp" und "d:\SVN\warzone2100\src\action.c": 1 und 4 Bytes
warning C4744: "assertEnabled" hat einen unterschiedlichen Typ in "d:\SVN\warzone2100\src\mapgrid.cpp" und "d:\SVN\warzone2100\src\action.c": "unsigned char" und "int".
warning C4742: "enabled_debug" hat eine unterschiedliche Ausrichtung in "d:\SVN\warzone2100\lib\exceptionhandler\dumpinfo.cpp" und "d:\SVN\warzone2100\lib\framework\debug.c": 1 und 4.
warning C4742: "assertEnabled" hat eine unterschiedliche Ausrichtung in "d:\SVN\warzone2100\lib\exceptionhandler\dumpinfo.cpp" und "d:\SVN\warzone2100\lib\framework\debug.c": 1 und 4.
warning C4743: "assertEnabled" hat eine unterschiedliche Größe in "d:\SVN\warzone2100\lib\exceptionhandler\dumpinfo.cpp" und "d:\SVN\warzone2100\lib\framework\debug.c": 1 und 4 Bytes
warning C4744: "assertEnabled" hat einen unterschiedlichen Typ in "d:\SVN\warzone2100\lib\exceptionhandler\dumpinfo.cpp" und "d:\SVN\warzone2100\lib\framework\debug.c": "unsigned char" und "int".
   Bibliothek "D:\SVN\warzone2100\win32\Release\Warzone2100.lib" und Objekt "D:\SVN\warzone2100\win32\Release\Warzone2100.exp" werden erstellt.
libtheora_static.lib(mmxidct.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(bitpack.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(dequant.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(mmxstate.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(mmxfrag.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(fragment.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(idct1.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(huffdec.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(quant1.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(decinfo.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(internal.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(info.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(x86state.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(decapiwrapper.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(apiwrapper.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(state.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
libtheora_static.lib(decode1.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__forceCRTManifestCUR".
D:\SVN\warzone2100\win32\Release\Warzone2100.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
Join NeoX-Virt - The Software-Forge on neox-virt.de
User avatar
XboxJosh
Trained
Trained
Posts: 259
Joined: 18 May 2009, 02:16
Location: Texas, USA

Re: mapgrid.c lost?

Post by XboxJosh »

O_O I get this same error...

Code: Select all

...external symbol "__forceCRTManifestCUR".

Alias: Cipher[SSC]

System Specs:
OPERATING SYSTEM: Windows 7 Professional
CPU TYPE: AMD Athlon II X2 250
CPU SPEED: 3000 MHz
SYSTEM MEMORY: 4 GB (2 x 2GB, DDR2)
GRAPHICS CARD MODEL: NVidia GTS 250
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: mapgrid.c lost?

Post by cybersphinx »

Maybe you need to change some linker options, from C to C++.
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: mapgrid.c lost?

Post by Black NEXUS »

Ok, i've fixed some Problemes. The Lib-Errors ends by compileing the new Version of libtheora. I've downloaded some needed files from here.
At last but not the last, only the Object Errors are remained.

Code: Select all

mapgrid.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: class std::vector<void *,class std::allocator<void *> > & __thiscall PointTree::query(int,int,unsigned int)" (?query@PointTree@@QAEAAV?$vector@PAXV?$allocator@PAX@std@@@std@@HHI@Z)".
mapgrid.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall PointTree::sort(void)" (?sort@PointTree@@QAEXXZ)".
mapgrid.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall PointTree::clear(void)" (?clear@PointTree@@QAEXXZ)".
mapgrid.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall PointTree::insert(void *,int,int)" (?insert@PointTree@@QAEXPAXHH@Z)".
D:\SVN\warzone2100\win32\Release\Warzone2100.exe : fatal error LNK1120: 4 nicht aufgelöste externe Verweise.
Edit:
I've fixed all Errors! I load the Patch as attatchment. I know, you need a Guide, how I've done this, but this must wait a little bit Time.
Attachments
fix_vs08_trunk.patch
Fix the Warzone2100.vs2k8.vcproj in the Trunk.
(559 Bytes) Downloaded 327 times
Join NeoX-Virt - The Software-Forge on neox-virt.de
Post Reply