Stilllegung des Forums
Das Forum wurde am 05.06.2023 nach über 20 Jahren stillgelegt (weitere Informationen und ein kleiner Rückblick).
Registrierungen, Anmeldungen und Postings sind nicht mehr möglich. Öffentliche Inhalte sind weiterhin zugänglich.
Das Team von spieleprogrammierer.de bedankt sich bei der Community für die vielen schönen Jahre.
Wenn du eine deutschsprachige Spieleentwickler-Community suchst, schau doch mal im Discord und auf ZFX vorbei!
Werbeanzeige
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
Main.cpp STREAMS.H included TWICE c:\tribase\include\tribase.h(79) : error C2011: 'tbResult' : 'enum' type redefinition c:\tribase\include\tbutils.h(36) : error C2084: function 'int __cdecl tbIntRandom(const int,const int)' already has a body c:\tribase\include\tbutils.h(37) : error C2084: function 'float __cdecl tbFloatRandom(const float,const float)' already has a body c:\tribase\include\tbutils.h(39) : error C2572: 'tbVector2TransformCoords' : redefinition of default parameter : parameter 3 c:\tribase\include\tbutils.h(39) : see declaration of 'tbVector2TransformCoords' c:\tribase\include\tbutils.h(42) : error C2572: 'tbVector3TransformCoords' : redefinition of default parameter : parameter 3 c:\tribase\include\tbutils.h(42) : see declaration of 'tbVector3TransformCoords' c:\tribase\include\tbutils.h(60) : error C2572: 'tbLineHitsPlane' : redefinition of default parameter : parameter 4 c:\tribase\include\tbutils.h(60) : see declaration of 'tbLineHitsPlane' c:\tribase\include\tbutils.h(64) : error C2572: 'tbLineHitsTriangle' : redefinition of default parameter : parameter 6 c:\tribase\include\tbutils.h(64) : see declaration of 'tbLineHitsTriangle' c:\tribase\include\tbutils.h(66) : error C2572: 'tbLineHitsSphere' : redefinition of default parameter : parameter 5 c:\tribase\include\tbutils.h(66) : see declaration of 'tbLineHitsSphere' c:\tribase\include\tbutils.h(68) : error C2572: 'tbLineHitsBox' : redefinition of default parameter : parameter 4 c:\tribase\include\tbutils.h(68) : see declaration of 'tbLineHitsBox' c:\tribase\include\tbutils.h(69) : error C2572: 'tbLineHitsBox' : redefinition of default parameter : parameter 6 c:\tribase\include\tbutils.h(69) : see declaration of 'tbLineHitsBox' c:\tribase\include\tbutils.h(70) : error C2572: 'tbLineHitsModel' : redefinition of default parameter : parameter 9 c:\tribase\include\tbutils.h(70) : see declaration of 'tbLineHitsModel' c:\tribase\include\tbutils.h(70) : error C2572: 'tbLineHitsModel' : redefinition of default parameter : parameter 8 c:\tribase\include\tbutils.h(70) : see declaration of 'tbLineHitsModel' c:\tribase\include\tbutils.h(70) : error C2572: 'tbLineHitsModel' : redefinition of default parameter : parameter 7 c:\tribase\include\tbutils.h(70) : see declaration of 'tbLineHitsModel' c:\tribase\include\tbutils.h(70) : error C2572: 'tbLineHitsModel' : redefinition of default parameter : parameter 6 c:\tribase\include\tbutils.h(70) : see declaration of 'tbLineHitsModel' c:\tribase\include\tbutils.h(71) : error C2572: 'tbLineHitsOctree' : redefinition of default parameter : parameter 8 c:\tribase\include\tbutils.h(71) : see declaration of 'tbLineHitsOctree' c:\tribase\include\tbutils.h(71) : error C2572: 'tbLineHitsOctree' : redefinition of default parameter : parameter 7 c:\tribase\include\tbutils.h(71) : see declaration of 'tbLineHitsOctree' c:\tribase\include\tbutils.h(71) : error C2572: 'tbLineHitsOctree' : redefinition of default parameter : parameter 6 c:\tribase\include\tbutils.h(71) : see declaration of 'tbLineHitsOctree' c:\tribase\include\tbutils.h(71) : error C2572: 'tbLineHitsOctree' : redefinition of default parameter : parameter 5 c:\tribase\include\tbutils.h(71) : see declaration of 'tbLineHitsOctree' c:\tribase\include\tbutils.h(71) : error C2572: 'tbLineHitsOctree' : redefinition of default parameter : parameter 4 c:\tribase\include\tbutils.h(71) : see declaration of 'tbLineHitsOctree' c:\tribase\include\tbutils.h(79) : error C2572: 'tbModelHitsModel' : redefinition of default parameter : parameter 11 c:\tribase\include\tbutils.h(79) : see declaration of 'tbModelHitsModel' c:\tribase\include\tbutils.h(79) : error C2572: 'tbModelHitsModel' : redefinition of default parameter : parameter 10 c:\tribase\include\tbutils.h(79) : see declaration of 'tbModelHitsModel' c:\tribase\include\tbutils.h(79) : error C2572: 'tbModelHitsModel' : redefinition of default parameter : parameter 9 c:\tribase\include\tbutils.h(79) : see declaration of 'tbModelHitsModel' c:\tribase\include\tbutils.h(79) : error C2572: 'tbModelHitsModel' : redefinition of default parameter : parameter 8 c:\tribase\include\tbutils.h(79) : see declaration of 'tbModelHitsModel' c:\tribase\include\tbutils.h(79) : error C2572: 'tbModelHitsModel' : redefinition of default parameter : parameter 7 c:\tribase\include\tbutils.h(79) : see declaration of 'tbModelHitsModel' c:\tribase\include\tbutils.h(80) : error C2572: 'tbModelHitsOctree' : redefinition of default parameter : parameter 10 c:\tribase\include\tbutils.h(80) : see declaration of 'tbModelHitsOctree' c:\tribase\include\tbutils.h(80) : error C2572: 'tbModelHitsOctree' : redefinition of default parameter : parameter 9 c:\tribase\include\tbutils.h(80) : see declaration of 'tbModelHitsOctree' c:\tribase\include\tbutils.h(80) : error C2572: 'tbModelHitsOctree' : redefinition of default parameter : parameter 8 c:\tribase\include\tbutils.h(80) : see declaration of 'tbModelHitsOctree' c:\tribase\include\tbutils.h(80) : error C2572: 'tbModelHitsOctree' : redefinition of default parameter : parameter 7 c:\tribase\include\tbutils.h(80) : see declaration of 'tbModelHitsOctree' c:\tribase\include\tbutils.h(80) : error C2572: 'tbModelHitsOctree' : redefinition of default parameter : parameter 6 c:\tribase\include\tbutils.h(80) : see declaration of 'tbModelHitsOctree' c:\tribase\include\tbutils.h(80) : error C2572: 'tbModelHitsOctree' : redefinition of default parameter : parameter 5 c:\tribase\include\tbutils.h(80) : see declaration of 'tbModelHitsOctree' c:\tribase\include\tblist.h(28) : error C2953: 'tbListEntry' : template class has already been defined c:\tribase\include\tblist.h(28) : see declaration of 'tbListEntry' c:\tribase\include\tblist.h(57) : error C2953: 'tbList' : template class has already been defined c:\tribase\include\tblist.h(57) : see declaration of 'tbList' c:\tribase\include\tblist.h(65) : error C2995: 'tbList<Type>::tbList<Type>' : template function has already been defined c:\tribase\include\tblist.h(42) : see declaration of 'tbList<Type>::tbList<Type>' c:\tribase\include\tblist.h(73) : error C2995: 'tbList<Type>::~tbList<Type>' : template function has already been defined c:\tribase\include\tblist.h(43) : see declaration of 'tbList<Type>::~tbList<Type>' c:\tribase\include\tblist.h(109) : error C2995: 'AddEntry' : template function has already been defined c:\tribase\include\tblist.h(46) : see declaration of 'AddEntry' c:\tribase\include\tblist.h(143) : error C2995: 'FindEntry' : template function has already been defined c:\tribase\include\tblist.h(47) : see declaration of 'FindEntry' c:\tribase\include\tblist.h(193) : error C2995: 'DeleteEntry' : template function has already been defined c:\tribase\include\tblist.h(48) : see declaration of 'DeleteEntry' c:\tribase\include\tblist.h(203) : error C2995: 'Clear' : template function has already been defined c:\tribase\include\tblist.h(49) : see declaration of 'Clear' c:\tribase\include\tblist.h(228) : error C2995: 'Traverse' : template function has already been defined c:\tribase\include\tblist.h(50) : see declaration of 'Traverse' c:\tribase\include\tbdynlist.h(47) : error C2953: 'tbDynList' : template class has already been defined c:\tribase\include\tbdynlist.h(47) : see declaration of 'tbDynList' c:\tribase\include\tbdynlist.h(55) : error C2995: 'tbDynList<Type>::tbDynList<Type>' : template function has already been defined c:\tribase\include\tbdynlist.h(32) : see declaration of 'tbDynList<Type>::tbDynList<Type>' c:\tribase\include\tbdynlist.h(63) : error C2995: 'tbDynList<Type>::~tbDynList<Type>' : template function has already been defined c:\tribase\include\tbdynlist.h(33) : see declaration of 'tbDynList<Type>::~tbDynList<Type>' c:\tribase\include\tbdynlist.h(86) : error C2995: 'AddEntry' : template function has already been defined c:\tribase\include\tbdynlist.h(36) : see declaration of 'AddEntry' c:\tribase\include\tbdynlist.h(104) : error C2995: 'FindEntry' : template function has already been defined c:\tribase\include\tbdynlist.h(37) : see declaration of 'FindEntry' c:\tribase\include\tbdynlist.h(123) : error C2995: 'DeleteEntry' : template function has already been defined c:\tribase\include\tbdynlist.h(38) : see declaration of 'DeleteEntry' c:\tribase\include\tbdynlist.h(134) : error C2995: 'Clear' : template function has already been defined c:\tribase\include\tbdynlist.h(39) : see declaration of 'Clear' c:\tribase\include\tbdynlist.h(148) : error C2995: 'Traverse' : template function has already been defined c:\tribase\include\tbdynlist.h(40) : see declaration of 'Traverse' c:\tribase\include\tbdynlist.h(161) : error C2995: 'Optimize' : template function has already been defined c:\tribase\include\tbdynlist.h(41) : see declaration of 'Optimize' c:\tribase\include\tbvector2.h(28) : error C2011: 'tbVector2' : 'class' type redefinition c:\tribase\include\tbvector2.h(83) : error C2084: function 'float __cdecl tbVector2Length(const class tbVector2 &)' already has a body c:\tribase\include\tbvector2.h(84) : error C2084: function 'float __cdecl tbVector2LengthSq(const class tbVector2 &)' already has a body c:\tribase\include\tbvector2.h(85) : error C2084: function 'class tbVector2 __cdecl tbVector2Normalize(const class tbVector2 &)' already has a body c:\tribase\include\tbvector2.h(86) : error C2084: function 'class tbVector2 __cdecl tbVector2NormalizeEx(const class tbVector2 &)' already has a body c:\tribase\include\tbvector2.h(87) : error C2084: function 'float __cdecl tbVector2Dot(const class tbVector2 &,const class tbVector2 &)' already has a body c:\tribase\include\tbvector2.h(88) : error C2084: function 'float __cdecl tbVector2Angle(const class tbVector2 &,const class tbVector2 &)' already has a body c:\tribase\include\tbvector2.h(89) : error C2084: function 'class tbVector2 __cdecl tbVector2InterpolateCoords(const class tbVector2 &,const class tbVector2 &,const float)' already has a body c:\tribase\include\tbvector2.h(90) : error C2084: function 'class tbVector2 __cdecl tbVector2InterpolateNormal(const class tbVector2 &,const class tbVector2 &,const float)' already has a body c:\tribase\include\tbvector2.h(91) : error C2084: function 'class tbVector2 __cdecl tbVector2Min(const class tbVector2 &,const class tbVector2 &)' already has a body c:\tribase\include\tbvector2.h(92) : error C2084: function 'class tbVector2 __cdecl tbVector2Max(const class tbVector2 &,const class tbVector2 &)' already has a body c:\tribase\include\tbvector2.h(93) : error C2084: function 'class tbVector2 __cdecl tbVector2Random(void)' already has a body c:\tribase\include\tbvector3.h(28) : error C2011: 'tbVector3' : 'class' type redefinition c:\tribase\include\tbvector3.h(88) : error C2084: function 'float __cdecl tbVector3Length(const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(89) : error C2084: function 'float __cdecl tbVector3LengthSq(const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(90) : error C2084: function 'class tbVector3 __cdecl tbVector3Normalize(const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(91) : error C2084: function 'class tbVector3 __cdecl tbVector3NormalizeEx(const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(92) : error C2084: function 'class tbVector3 __cdecl tbVector3Cross(const class tbVector3 &,const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(93) : error C2084: function 'float __cdecl tbVector3Dot(const class tbVector3 &,const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(94) : error C2084: function 'float __cdecl tbVector3Angle(const class tbVector3 &,const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(95) : error C2084: function 'class tbVector3 __cdecl tbVector3InterpolateCoords(const class tbVector3 &,const class tbVector3 &,const float)' already has a body c:\tribase\include\tbvector3.h(96) : error C2084: function 'class tbVector3 __cdecl tbVector3InterpolateNormal(const class tbVector3 &,const class tbVector3 &,const float)' already has a body c:\tribase\include\tbvector3.h(97) : error C2084: function 'class tbVector3 __cdecl tbVector3Min(const class tbVector3 &,const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(98) : error C2084: function 'class tbVector3 __cdecl tbVector3Max(const class tbVector3 &,const class tbVector3 &)' already has a body c:\tribase\include\tbvector3.h(99) : error C2084: function 'class tbVector3 __cdecl tbVector3Random(void)' already has a body c:\tribase\include\tbmatrix.h(29) : error C2011: 'tbMatrix' : 'class' type redefinition c:\tribase\include\tbmatrix.h(205) : error C2084: function 'class tbMatrix __cdecl tbMatrixIdentity(void)' already has a body c:\tribase\include\tbmatrix.h(218) : error C2572: 'tbMatrixCamera' : redefinition of default parameter : parameter 3 c:\tribase\include\tbmatrix.h(218) : see declaration of 'tbMatrixCamera' c:\tribase\include\tbplane.h(24) : error C2011: 'tbPlane' : 'class' type redefinition c:\tribase\include\tbplane.h(65) : error C2084: function 'class tbPlane __cdecl tbPlaneNormalize(const class tbPlane &)' already has a body c:\tribase\include\tbplane.h(65) : error C2440: 'initializing' : cannot convert from '' to 'float' Context does not allow for disambiguation of overloaded function c:\tribase\include\tbplane.h(66) : error C2084: function 'float __cdecl tbPlaneDotNormal(const class tbPlane &,const class tbVector3 &)' already has a body c:\tribase\include\tbplane.h(67) : error C2084: function 'float __cdecl tbPlaneDotCoords(const class tbPlane &,const class tbVector3 &)' already has a body c:\tribase\include\tbplane.h(68) : error C2084: function 'class tbPlane __cdecl tbPlaneFromPointNormal(const class tbVector3 &,const class tbVector3 &)' already has a body c:\tribase\include\tbplane.h(69) : error C2084: function 'class tbPlane __cdecl tbPlaneFromPoints(const class tbVector3 &,const class tbVector3 &,const class tbVector3 &)' already has a body c:\tribase\include\tbcolor.h(28) : error C2011: 'tbColor' : 'class' type redefinition c:\tribase\include\tbcolor.h(103) : error C2084: function 'class tbColor __cdecl tbColorNegate(const class tbColor &)' already has a body c:\tribase\include\tbcolor.h(104) : error C2084: function 'float __cdecl tbColorBrightness(const class tbColor &)' already has a body c:\tribase\include\tbcolor.h(105) : error C2084: function 'class tbColor __cdecl tbColorInterpolate(const class tbColor &,const class tbColor &,const float)' already has a body c:\tribase\include\tbcolor.h(106) : error C2084: function 'class tbColor __cdecl tbColorMin(const class tbColor &,const class tbColor &)' already has a body c:\tribase\include\tbcolor.h(107) : error C2084: function 'class tbColor __cdecl tbColorMax(const class tbColor &,const class tbColor &)' already has a body c:\tribase\include\tbcolor.h(108) : error C2084: function 'class tbColor __cdecl tbColorRandom(float)' already has a body c:\tribase\include\tbcolor.h(108) : error C2568: ':' : unable to resolve function overload could be 'float __cdecl tbFloatRandom(const float,const float)' c:\tribase\include\tbutils.h(37) : see declaration of 'tbFloatRandom' c:\tribase\include\tbcolor.h(108) : error C2446: ':' : no conversion from 'float' to 'float (__cdecl *)(const float,const float)' There is no context in which this conversion is possible c:\tribase\include\tbvfile.h(24) : error C2011: 'tbVFileSeekOrigin' : 'enum' type redefinition c:\tribase\include\tbvfile.h(34) : error C2011: 'tbVFile' : 'class' type redefinition c:\tribase\include\tb3dsreader.h(26) : error C2011: 'tb3DSChunkHeader' : 'struct' type redefinition c:\tribase\include\tb3dsreader.h(34) : error C2011: 'tb3DSMaterial' : 'struct' type redefinition c:\tribase\include\tb3dsreader.h(57) : error C2011: 'tb3DSFace' : 'struct' type redefinition c:\tribase\include\tb3dsreader.h(77) : error C2011: 'tb3DSVertex' : 'struct' type redefinition c:\tribase\include\tb3dsreader.h(85) : error C2011: 'tb3DSVertexEx' : 'struct' type redefinition c:\tribase\include\tb3dsreader.h(94) : error C2011: 'tb3DSModel' : 'struct' type redefinition c:\tribase\include\tb3dsreader.h(106) : error C2011: 'tb3DSLightType' : 'enum' type redefinition c:\tribase\include\tb3dsreader.h(106) : fatal error C1003: error count exceeds 100; stopping compilation Error executing cl.exe. |
Quellcode |
|
1 2 |
#pragma comment(lib, "/*Entweder den kompletten Pfad oder nur die Datei, dann aber in den Verzeichnissen hinzufügen*/dinput8"); #pragma comment(lib, "dxguid.lib"); |
Werbeanzeige