Horde3D

Next-Generation Graphics Engine
It is currently 22.11.2024, 12:06

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: 14.07.2008, 00:20 
Offline

Joined: 13.07.2008, 23:03
Posts: 6
Hi, ive ben trying to compile the source code on openSuse 11, first with make and then with Eclipse SDK with no success, im getting a lot of errors:

With make:

Code:
#
#
#
# Building Horde3D Engine
#
cd Source/Horde3D\ Engine; make CFLAGS=""
make[1]: Entering directory `/home/miguel/Patriotas/Horde3D SDK [0.15.0]/Source/Horde3D Engine'
g++ -c egAnimatables.cpp -oegAnimatables.o -I../Shared -I../../Extensions -fPIC
egAnimatables.cpp: In static member function ‘static SceneNodeTpl* MeshNode::parsingFunc(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&)’:
egAnimatables.cpp:81: error: ‘atoi’ was not declared in this scope
egAnimatables.cpp:83: error: ‘atoi’ was not declared in this scope
egAnimatables.cpp:85: error: ‘atoi’ was not declared in this scope
egAnimatables.cpp:87: error: ‘atoi’ was not declared in this scope
egAnimatables.cpp: In static member function ‘static SceneNodeTpl* JointNode::parsingFunc(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&)’:
egAnimatables.cpp:301: error: ‘atoi’ was not declared in this scope
make[1]: *** [egAnimatables.o] Error 1
make[1]: Leaving directory `/home/miguel/Patriotas/Horde3D SDK [0.15.0]/Source/Horde3D Engine'
make: *** [all] Error 2


And with Eclipse SDK:

Code:
Severity and Description                              Path                                     Resource      Location   Creation Time   Id
‘_mkdir’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 1057   1215990983362   1327
‘animNode’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 101   1215990983275   994
‘atoi’ was not declared in this scope   Horde Test/Collada Converter   daeCommon.h   line 54   1215990983262   939
‘atoi’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 140   1215990983286   1063
‘atoi’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 118   1215990983265   958
‘atoi’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 139   1215990983266   963
‘atoi’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 149   1215990983270   965
‘atoi’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 154   1215990983270   966
‘atoi’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 161   1215990983270   968
‘atoi’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 173   1215990983270   969
‘basePos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 599   1215990983330   1257
‘bindShapeMat’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 391   1215990983313   1202
‘ctrlNode’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 82   1215990983285   1053
‘ctrlNode’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 241   1215990983288   1074
‘diff’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 626   1215990983336   1274
‘effectNode’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 51   1215990983252   876
‘geometryNode’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 302   1215990983272   976
‘imageNode’ was not declared in this scope   Horde Test/Collada Converter   daeLibImages.h   line 43   1215990983250   864
‘makeMatrix4f’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 388   1215990983313   1200
‘mat’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 175   1215990983298   1134
‘mat’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 178   1215990983299   1137
‘matNode’ was not declared in this scope   Horde Test/Collada Converter   daeLibMaterials.h   line 54   1215990983259   917
‘Matrix4f’ does not name a type   Horde Test/Collada Converter   converter.h   line 70   1215990983293   1100
‘Matrix4f’ does not name a type   Horde Test/Collada Converter   converter.h   line 103   1215990983294   1104
‘Matrix4f’ does not name a type   Horde Test/Collada Converter   converter.h   line 107   1215990983294   1105
‘Matrix4f’ does not name a type   Horde Test/Collada Converter   utils.h   line 42   1215990983250   861
‘Matrix4f’ has not been declared   Horde Test/Collada Converter   converter.cpp   line 60   1215990983295   1112
‘Matrix4f’ has not been declared   Horde Test/Collada Converter   converter.h   line 146   1215990983294   1108
‘Matrix4f’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 60   1215990983295   1113
‘Matrix4f’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 71   1215990983296   1116
‘Matrix4f’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 380   1215990983312   1197
‘Matrix4f’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 682   1215990983340   1285
‘Matrix4f’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 714   1215990983342   1290
‘Matrix4f’ was not declared in this scope   Horde Test/Collada Converter   converter.h   line 77   1215990983293   1101
‘Matrix4f’ was not declared in this scope   Horde Test/Collada Converter   converter.h   line 146   1215990983295   1109
‘maxFrameCount’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 148   1215990983277   1003
‘maxFrameCount’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 201   1215990983277   1004
‘n’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 287   1215990983310   1190
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 512   1215990983322   1233
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 514   1215990983323   1237
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 516   1215990983325   1241
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 518   1215990983326   1245
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 519   1215990983328   1250
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 612   1215990983331   1259
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 614   1215990983332   1262
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 616   1215990983333   1265
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 618   1215990983334   1268
‘newPos’ was not declared in this scope   Horde Test/Collada Converter   converter.cpp   line 619   1215990983335   1271
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeCommon.h   line 50   1215990983261   934
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeCommon.h   line 60   1215990983262   941
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 107   1215990983276   997
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 117   1215990983276   998
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 241   1215990983278   1009
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 251   1215990983278   1013
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 80   1215990983285   1052
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 84   1215990983285   1054
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 239   1215990983288   1073
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 243   1215990983289   1075
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 329   1215990983291   1088
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 353   1215990983293   1096
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 56   1215990983252   879
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 77   1215990983255   897
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 86   1215990983255   899
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 165   1215990983257   910
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 175   1215990983258   914
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 51   1215990983263   947
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 112   1215990983265   956
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 132   1215990983265   960
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 300   1215990983272   975
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 314   1215990983272   980
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 318   1215990983273   982
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 416   1215990983274   987
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 426   1215990983275   991
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibImages.h   line 88   1215990983251   869
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibImages.h   line 98   1215990983251   873
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibMaterials.h   line 59   1215990983259   920
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibMaterials.h   line 97   1215990983260   925
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibMaterials.h   line 107   1215990983260   929
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibVisualScenes.h   line 82   1215990983279   1020
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibVisualScenes.h   line 112   1215990983279   1022
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibVisualScenes.h   line 189   1215990983282   1038
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibVisualScenes.h   line 230   1215990983283   1043
‘node1’ was not declared in this scope   Horde Test/Collada Converter   daeLibVisualScenes.h   line 241   1215990983284   1047
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeCommon.h   line 52   1215990983262   937
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeCommon.h   line 54   1215990983262   938
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 127   1215990983276   1001
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibAnimations.h   line 245   1215990983278   1012
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 89   1215990983285   1057
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 92   1215990983285   1058
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 249   1215990983289   1078
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 258   1215990983289   1079
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibControllers.h   line 333   1215990983292   1091
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 59   1215990983253   882
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 62   1215990983253   886
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 63   1215990983254   888
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 86   1215990983255   898
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibEffects.h   line 169   1215990983258   913
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 309   1215990983272   979
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 318   1215990983273   981
‘node2’ was not declared in this scope   Horde Test/Collada Converter   daeLibGeometries.h   line 420   1215990983274   990
statement has no effect   Horde Test/Collada Converter   daeCommon.h   line 49   1215990983261   933
statement has no effect   Horde Test/Collada Converter   daeCommon.h   line 51   1215990983261   936
statement has no effect   Horde Test/Collada Converter   daeLibAnimations.h   line 106   1215990983276   996
statement has no effect   Horde Test/Collada Converter   daeLibAnimations.h   line 126   1215990983276   1000
statement has no effect   Horde Test/Collada Converter   daeLibAnimations.h   line 240   1215990983277   1008
statement has no effect   Horde Test/Collada Converter   daeLibAnimations.h   line 244   1215990983278   1011
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 79   1215990983284   1051
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 88   1215990983285   1056
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 117   1215990983286   1060
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 142   1215990983287   1065
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 238   1215990983288   1072
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 248   1215990983289   1077
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 262   1215990983290   1081
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 328   1215990983291   1087
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 332   1215990983291   1090
statement has no effect   Horde Test/Collada Converter   daeLibControllers.h   line 336   1215990983292   1093
statement has no effect   Horde Test/Collada Converter   daeLibEffects.h   line 55   1215990983252   878
statement has no effect   Horde Test/Collada Converter   daeLibEffects.h   line 58   1215990983253   881
statement has no effect   Horde Test/Collada Converter   daeLibEffects.h   line 61   1215990983253   884
statement has no effect   Horde Test/Collada Converter   daeLibEffects.h   line 66   1215990983254   891
statement has no effect   Horde Test/Collada Converter   daeLibEffects.h   line 69   1215990983255   894
statement has no effect   Horde Test/Collada Converter   daeLibEffects.h   line 164   1215990983257   909
statement has no effect   Horde Test/Collada Converter   daeLibEffects.h   line 168   1215990983258   912
statement has no effect   Horde Test/Collada Converter   daeLibGeometries.h   line 50   1215990983263   946
statement has no effect   Horde Test/Collada Converter   daeLibGeometries.h   line 111   1215990983265   955
statement has no effect   Horde Test/Collada Converter   daeLibGeometries.h   line 299   1215990983271   974
statement has no effect   Horde Test/Collada Converter   daeLibGeometries.h   line 308   1215990983272   978
statement has no effect   Horde Test/Collada Converter   daeLibGeometries.h   line 415   1215990983274   986
statement has no effect   Horde Test/Collada Converter   daeLibGeometries.h   line 419   1215990983274   989
statement has no effect   Horde Test/Collada Converter   daeLibImages.h   line 87   1215990983251   868
statement has no effect   Horde Test/Collada Converter   daeLibImages.h   line 91   1215990983251   871
statement has no effect   Horde Test/Collada Converter   daeLibMaterials.h   line 58   1215990983259   919
statement has no effect   Horde Test/Collada Converter   daeLibMaterials.h   line 96   1215990983260   924
statement has no effect   Horde Test/Collada Converter   daeLibMaterials.h   line 100   1215990983260   927
statement has no effect   Horde Test/Collada Converter   daeLibVisualScenes.h   line 81   1215990983279   1019
statement has no effect   Horde Test/Collada Converter   daeLibVisualScenes.h   line 129   1215990983280   1025
statement has no effect   Horde Test/Collada Converter   daeLibVisualScenes.h   line 132   1215990983280   1028
statement has no effect   Horde Test/Collada Converter   daeLibVisualScenes.h   line 136   1215990983281   1031
statement has no effect   Horde Test/Collada Converter   daeLibVisualScenes.h   line 188   1215990983282   1037
statement has no effect   Horde Test/Collada Converter   daeLibVisualScenes.h   line 229   1215990983283   1042
statement has no effect   Horde Test/Collada Converter   daeLibVisualScenes.h   line 233   1215990983283   1045


Any help would be much apreciated.


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 00:24 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
All your Eclipse problems are in the Colada Converter, which is notoriously difficult to port in my experience. Make sure you are using the latest version from SVN, as it is a little better about this than the 1.0.1b release.

As for the makefile compilation, it looks like your system must have stashed the atoi() function in a strange header file, or perhaps even doesn't support it. This is pretty common on linux variants, but if you can figure out whether it is missing or merely in the wrong header, it would be of help.

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 00:31 
Offline

Joined: 13.07.2008, 23:03
Posts: 6
Sorry forgot to include the Horde folder in eclipse on build, the complete log is:

Code:
Severity and Description   Path   Resource   Location   Creation Time   Id
‘_absTrans’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 229   1215991701837   1662
‘_maxCoords’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 46   1215991701817   1529
‘_maxCoords’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 80   1215991701817   1531
‘_maxCoords’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 106   1215991701818   1537
‘_minCoords’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 45   1215991701817   1527
‘_minCoords’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 79   1215991701817   1530
‘_minCoords’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 106   1215991701818   1536
‘_relModelMat’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 340   1215991701839   1675
‘_relModelMat’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 343   1215991701840   1677
‘_relTrans’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 47   1215991701833   1635
‘_relTrans’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 340   1215991701839   1676
‘_relTrans’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 343   1215991701840   1679
‘_rotQuat’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 45   1215991701832   1633
‘_scaleVec’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 44   1215991701832   1632
‘_transVec’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 46   1215991701833   1634
‘atoi’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 81   1215991701833   1636
‘atoi’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 83   1215991701833   1637
‘atoi’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 85   1215991701833   1638
‘atoi’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 87   1215991701833   1639
‘atoi’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 301   1215991701839   1674
‘bBMax’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 245   1215991701838   1667
‘bBMin’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 244   1215991701837   1665
‘class BoundingBox’ has no member named ‘_maxCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 110   1215991701819   1539
‘class BoundingBox’ has no member named ‘_maxCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 112   1215991701819   1541
‘class BoundingBox’ has no member named ‘_maxCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 118   1215991701820   1545
‘class BoundingBox’ has no member named ‘_maxCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 119   1215991701820   1546
‘class BoundingBox’ has no member named ‘_maxCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 120   1215991701820   1547
‘class BoundingBox’ has no member named ‘_minCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 109   1215991701818   1538
‘class BoundingBox’ has no member named ‘_minCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 112   1215991701819   1540
‘class BoundingBox’ has no member named ‘_minCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 114   1215991701819   1542
‘class BoundingBox’ has no member named ‘_minCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 115   1215991701819   1543
‘class BoundingBox’ has no member named ‘_minCoords’   Horde Test/Horde3D Engine   egPrimitives.h   line 116   1215991701819   1544
‘class BoundingBox’ has no member named ‘getMaxCoords’   Horde Test/Horde3D Engine   egAnimatables.cpp   line 245   1215991701838   1668
‘class BoundingBox’ has no member named ‘getMinCoords’   Horde Test/Horde3D Engine   egAnimatables.cpp   line 244   1215991701837   1666
‘class JointNode’ has no member named ‘_relModelMat’   Horde Test/Horde3D Engine   egAnimatables.cpp   line 343   1215991701840   1678
‘dir’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 221   1215991701836   1657
‘intsPos’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 221   1215991701836   1658
‘intsPos’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 229   1215991701837   1661
‘m’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 84   1215991701817   1532
‘mat’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 44   1215991701832   1631
‘mat’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 348   1215991701840   1682
‘mat’ was not declared in this scope   Horde Test/Horde3D Engine   egModel.h   line 134   1215991701830   1615
‘Math’ has not been declared   Horde Test/Horde3D Engine   egAnimatables.cpp   line 249   1215991701838   1670
‘Math’ has not been declared   Horde Test/Horde3D Engine   egAnimatables.cpp   line 250   1215991701838   1671
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egAnimatables.h   line 150   1215991701827   1590
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egAnimation.h   line 45   1215991701827   1593
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egAnimation.h   line 52   1215991701827   1594
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egCamera.h   line 68   1215991701831   1623
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egCamera.h   line 91   1215991701831   1624
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egGeometry.h   line 68   1215991701828   1597
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egLight.h   line 73   1215991701831   1619
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egRenderer.h   line 118   1215991701831   1625
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egRenderer.h   line 127   1215991701831   1626
‘Matrix4f’ does not name a type   Horde Test/Horde3D Engine   egScene.h   line 87   1215991701824   1571
‘Matrix4f’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 43   1215991701832   1629
‘Matrix4f’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 206   1215991701834   1642
‘Matrix4f’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 347   1215991701840   1680
‘maxf’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 92   1215991701818   1534
‘minf’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 91   1215991701818   1533
‘nearestIntsPos’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 224   1215991701836   1660
‘nearestIntsPos’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 229   1215991701837   1663
‘orig’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 221   1215991701836   1656
‘Plane’ does not name a type   Horde Test/Horde3D Engine   egPrimitives.h   line 133   1215991701820   1549
‘Quaternion’ does not name a type   Horde Test/Horde3D Engine   egAnimatables.h   line 42   1215991701826   1586
‘Quaternion’ does not name a type   Horde Test/Horde3D Engine   egAnimation.h   line 43   1215991701827   1591
‘rayTriangleIntersection’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 221   1215991701836   1659
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egAnimatables.h   line 43   1215991701826   1587
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egAnimation.h   line 44   1215991701827   1592
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egGeometry.h   line 49   1215991701827   1595
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egGeometry.h   line 55   1215991701828   1596
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egGeometry.h   line 75   1215991701828   1598
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egGeometry.h   line 76   1215991701828   1599
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egLight.h   line 74   1215991701831   1620
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egModel.h   line 58   1215991701829   1606
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egModel.h   line 59   1215991701829   1607
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egPrimitives.h   line 36   1215991701815   1517
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egPrimitives.h   line 49   1215991701816   1524
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egPrimitives.h   line 132   1215991701820   1548
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egPrimitives.h   line 134   1215991701820   1550
‘Vec3f’ does not name a type   Horde Test/Horde3D Engine   egScene.h   line 61   1215991701824   1568
‘Vec3f’ has not been declared   Horde Test/Horde3D Engine   egPrimitives.h   line 145   1215991701823   1566
‘Vec3f’ has not been declared   Horde Test/Horde3D Engine   egPrimitives.h   line 146   1215991701823   1567
‘Vec3f’ has not been declared   Horde Test/Horde3D Engine   egScene.h   line 102   1215991701824   1572
‘Vec3f’ has not been declared   Horde Test/Horde3D Engine   egScene.h   line 103   1215991701824   1573
‘Vec3f’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 244   1215991701837   1664
‘Vec3f’ was not declared in this scope   Horde Test/Horde3D Engine   egGeometry.h   line 94   1215991701828   1600
‘Vec3f’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 45   1215991701817   1528
‘Vec3f’ was not declared in this scope   Horde Test/Horde3D Engine   egPrimitives.h   line 96   1215991701818   1535
‘Vec3f’ was not declared in this scope   Horde Test/Horde3D Engine   egScene.h   line 66   1215991701824   1570
‘Vec4f’ was not declared in this scope   Horde Test/Horde3D Engine   egModel.h   line 100   1215991701829   1608
‘vert0’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 217   1215991701835   1650
‘vert1’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 218   1215991701835   1652
‘vert2’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 219   1215991701835   1654
‘vertPos’ was not declared in this scope   Horde Test/Horde3D Engine   egAnimatables.cpp   line 253   1215991701839   1672
‘void Frustum::buildViewFrustum(int)’ cannot be overloaded   Horde Test/Horde3D Engine   egPrimitives.h   line 143   1215991701822   1561
‘void Frustum::buildViewFrustum(int)’ cannot be overloaded   Horde Test/Horde3D Engine   egPrimitives.h   line 144   1215991701823   1565
class ‘SceneNodeTpl’ does not have any field named ‘scale’   Horde Test/Horde3D Engine   egScene.h   line 66   1215991701824   1569
expected `;' before ‘BoundingBox’   Horde Test/Horde3D Engine   egScene.h   line 131   1215991701826   1583
expected `;' before ‘const’   Horde Test/Horde3D Engine   egPrimitives.h   line 139   1215991701821   1553
expected `;' before ‘dir’   Horde Test/Horde3D Engine   egAnimatables.cpp   line 208   1215991701834   1646
‘fsDefColor’ defined but not used   Horde Test/Horde3D Engine   egRenderer.h   line 49   1215991701841   1684
‘versionString’ defined but not used   Horde Test/Horde3D Engine   egModules.h   line 37   1215991701841   1685
‘vsDefColor’ defined but not used   Horde Test/Horde3D Engine   egRenderer.h   line 41   1215991701841   1683
comparison between signed and unsigned integer expressions   Horde Test/Horde3D Engine   egRendererBase.h   line 61   1215991701830   1618
statement has no effect   Horde Test/Horde3D Engine   egAnimatables.cpp   line 207   1215991701834   1645
statement has no effect   Horde Test/Horde3D Engine   egAnimatables.cpp   line 208   1215991701834   1647
statement has no effect   Horde Test/Horde3D Engine   egAnimatables.cpp   line 210   1215991701835   1649


About the atoi() function ill have a look around.


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 01:10 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
kaoz70 wrote:
Sorry forgot to include the Horde folder in eclipse on build, the complete log is...
Any idea what compiler Eclipse is invoking? That looks like gcc in -ansi mode, check the compiler flags, you don't want -ansi.

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 01:23 
Offline

Joined: 13.07.2008, 23:03
Posts: 6
swiftcoder wrote:
kaoz70 wrote:
Sorry forgot to include the Horde folder in eclipse on build, the complete log is...
Any idea what compiler Eclipse is invoking? That looks like gcc in -ansi mode, check the compiler flags, you don't want -ansi.

The compiler is GCC, but im not sure where to look for the flags, I found this: -O0 -g3 -Wall -c -fmessage-length=0, but no -ansi anywhere.


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 03:13 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
kaoz70 wrote:
The compiler is GCC, but im not sure where to look for the flags, I found this: -O0 -g3 -Wall -c -fmessage-length=0, but no -ansi anywhere.
Those options look fine, but your errors have really strange line numbers - as many as 100 lines different from mine in some places. Can you try downloading a fresh copy from SVN?

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 03:24 
Offline

Joined: 13.07.2008, 23:03
Posts: 6
swiftcoder wrote:
Can you try downloading a fresh copy from SVN?


Shure, but I dont know where or how exactly to do it.

Edit1: Ok I found the instructions on the Wiki :oops: , I would like to recommend to put the SVN Instructions also on the download page :mrgreen:

Edit2:

With the latest copy of SVN running make gives me an incredible amount of errors:

At the start:
Code:
#
#
#
# Building Horde3D Engine
#
cd Source/Horde3D\ Engine; make CFLAGS=""
/bin/sh: line 0: cd: Source/Horde3D Engine: No such file or directory
make[1]: Entering directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
#
#
#
# Building Horde3D Engine
#
cd Source/Horde3D\ Engine; make CFLAGS=""
/bin/sh: line 0: cd: Source/Horde3D Engine: No such file or directory
make[2]: Entering directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'


At the end:
Code:
make[8]: Leaving directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
make[7]: *** [all] Error 2
make[7]: Leaving directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/miguel/Patriotas/horde3d/trunk/Horde3D'
make: *** [all] Error 2


Those errors just keep on coming for like about 5min, the only thing that changes is make[n] (n being a number from 1 to about 8000 or so)

The same thing in Eclipse


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 09:07 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Quote:
cd: Source/Horde3D Engine: No such file or directory

It seems like you have some version chaos in your files. Please do make a clean SVN Checkout of the latest revision and use CMake to create the Makefiles. I never had problems with the makefiles generated by CMake.

I also added an additional Wiki page with some instructions for building Horde3D from SVN.


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 23:07 
Offline

Joined: 13.07.2008, 23:03
Posts: 6
Ok after running cmake and doing a make outputs this:

Code:
miguel@cpe-0019d1830ff8:~/Patriotas/Horde3D_SDK/CMake> cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/miguel/Patriotas/Horde3D_SDK/CMake
miguel@cpe-0019d1830ff8:~/Patriotas/Horde3D_SDK/CMake> make
Scanning dependencies of target Horde3D
[  1%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egAnimatables.o
[  3%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egAnimation.o
[  4%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCamera.o
[  6%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCom.o
[  8%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egExtensions.o
[  9%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egGeometry.o
[ 11%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egLight.o
[ 13%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMain.o
[ 14%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMaterial.o
[ 16%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModel.o
[ 18%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModules.o
[ 19%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egParticle.o
[ 21%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPipeline.o
[ 22%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPrimitives.o
[ 24%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRendererBase.o
[ 26%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRenderer.o
[ 27%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egResource.o
[ 29%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egScene.o
[ 31%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egSceneGraphRes.o
[ 32%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egShader.o
[ 34%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egTextures.o
[ 36%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/utImage.o
In file included from /home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:98:
/usr/lib/gcc/i586-suse-linux/4.3/include/emmintrin.h:34:3: error: #error "SSE2 instruction set not enabled"
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘unsigned char* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:243: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:283: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘unsigned char* convert_format(unsigned char*, int, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:480: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘float* ldr_to_hdr(stbi_uc*, int, int, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:520: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘stbi_uc* hdr_to_ldr(float*, int, int, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:538: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int build_huffman(huffman*, int*)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:628: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int decode_block(short int*, huffman*, huffman*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:786: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:801: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int process_marker(int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1115: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1118: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1121: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1131: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1132: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1151: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int process_scan_header()’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1184: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1185: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1193: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1194: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1197: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1199: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int process_frame_header(int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1207: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1208: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1209: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1210: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1212: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1214: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1220: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1222: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1223: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1224: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1229: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1260: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int decode_jpeg_header(int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1281: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1289: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘uint8* load_jpeg_image(int*, int*, int*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1461: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1489: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1507: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int zbuild_huffman(zhuffman*, uint8*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1665: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int expand(int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1762: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1768: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int parse_huffman_block()’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1796: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1807: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1810: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int compute_huffman_codes()’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1859: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int parse_uncompressed_block()’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1884: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1885: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int parse_zlib_header()’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1900: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1901: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:1902: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int check_png_header()’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2045: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int create_png_image(uint8*, uint32, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2079: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2080: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2085: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int expand_palette(uint8*, int, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2172: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int parse_png_file(int, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2214: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2218: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2219: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2220: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2221: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2222: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2223: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2224: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2225: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2226: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2227: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2228: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2231: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2237: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2244: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2246: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2257: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2260: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2261: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2266: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2267: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2276: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2283: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2304: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘unsigned char* do_png(int*, int*, int*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2350: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘stbi_uc* bmp_load(int*, int*, int*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2497: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2503: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2504: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2514: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2522: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2578: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2581: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2592: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:2630: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘stbi_uc* psd_load(int*, int*, int*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3026: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3030: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3038: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3046: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3076: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3080: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘int hdr_test()’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3208: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘float* hdr_load(int*, int*, int*, int)’:
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3299: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3308: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3313: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3317: warning: deprecated conversion from string constant to ‘char*’
/home/miguel/Patriotas/Horde3D_SDK/Horde3D/Source/Horde3DEngine/utImage.cpp:3362: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/utImage.o] Error 1
make[1]: *** [Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/all] Error 2
make: *** [all] Error 2


Any ideas?


Top
 Profile  
Reply with quote  
PostPosted: 14.07.2008, 23:16 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
kaoz70 wrote:
Ok after running cmake and doing a make outputs this:

Code:
/usr/lib/gcc/i586-suse-linux/4.3/include/emmintrin.h:34:3: error: #error "SSE2 instruction set not enabled"

Any ideas?

Yes: See http://horde3d.org/forums/viewtopic.php?f=3&t=375


Top
 Profile  
Reply with quote  
PostPosted: 15.07.2008, 15:16 
Offline

Joined: 13.07.2008, 23:03
Posts: 6
Quote:


Ok I was able to compile with this:

Quote:
"-msse3 to the definitions in trunk/Horde3D/Source/Horde3DEngine/CMakeLists.txt"

line 58: "add_definitions(-DCMAKE)" to say "add_definitions(-DCMAKE -msse3)"


Thanks a lot!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group