1
DF General Discussion / Re: Great things that start with "M"
« on: October 30, 2010, 04:56:57 pm »
MP2E!
March 6, 2024: Dwarf Fortress 50.12 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines

[ 68%] Building CXX object CMakeFiles/stonesense.dir/GUI.cpp.o
/home/cray/stonesense/GUI.cpp: In function ‘ALLEGRO_COLOR getDayShade(int, int)’:
/home/cray/stonesense/GUI.cpp:91:74: error: invalid initialization of non-const reference of type ‘ALLEGRO_COLOR&’ from an rvalue of type ‘ALLEGRO_COLOR’
/home/cray/stonesense/GUI.cpp:70:15: error: in passing argument 2 of ‘ALLEGRO_COLOR partialBlend(ALLEGRO_COLOR&, ALLEGRO_COLOR&, int)’
/home/cray/stonesense/GUI.cpp:93:69: error: invalid initialization of non-const reference of type ‘ALLEGRO_COLOR&’ from an rvalue of type ‘ALLEGRO_COLOR’
/home/cray/stonesense/GUI.cpp:70:15: error: in passing argument 1 of ‘ALLEGRO_COLOR partialBlend(ALLEGRO_COLOR&, ALLEGRO_COLOR&, int)’
/home/cray/stonesense/GUI.cpp: In function ‘void drawDebugCursorAndInfo()’:
/home/cray/stonesense/GUI.cpp:335:9: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:340:9: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:345:9: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:350:9: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:384:28: error: ‘itoa’ was not declared in this scope
/home/cray/stonesense/GUI.cpp: In function ‘void loadGraphicsFromDisk()’:
/home/cray/stonesense/GUI.cpp:737:35: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:739:37: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:741:33: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:743:41: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp: In function ‘void flushImgFiles()’:
/home/cray/stonesense/GUI.cpp:751:35: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp: In function ‘int loadImgFile(char*)’:
/home/cray/stonesense/GUI.cpp:816:51: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:819:70: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:847:40: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:856:56: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:885:56: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:915:40: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp: In function ‘void saveMegashot()’:
/home/cray/stonesense/GUI.cpp:1015:57: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:1023:32: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesense/GUI.cpp:1027:72: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [CMakeFiles/stonesense.dir/GUI.cpp.o] Error 1
make[1]: *** [CMakeFiles/stonesense.dir/all] Error 2
make: *** [all] Error 2
I chose the Git because it is a VCS I haven't tried yet, and it was next on my list of things-to-learn (being my first distributed VCS) . I've whipped Subversion already, but Mercurial is even less well known then Git at this point, at least to me.I commend you sir, git is absolutely fantastic and my favorite DVCS by far(mercurial is pretty cool too, but git is just that much better). As for github, I would recommend using that for hosting. The 300 MB repository size limit is only imposed at first to make sure you don't take advantage of GitHub in a malicious way. All you have to do is email support after you make an account, and they will be more than happy to give you more space for free! However one thing I would NOT suggest, do not include binaries in the git repository, in git, every bit of data that has ever been in a commit is included when a person goes to clone the repository. This is nice generally, because the objects are all compared to each other and only the differences are stored, then heavily compressed. However with a binary the delta compression does not work nearly as well. Having one or two tiny binaries is fine, but you have to remember, EVERY TIME the executable is changed, or even if it is removed, if it has at one time been included in a commit that data must be downloaded for every user that clones your repository(unless they only clone 1 commit, svn style).
Also, yay for Distributed Version Control Systems!(Though personally I prefer git, hehe)I have yet to find anything so satisfying as my last embark site; ~30x70x4z of solid, flat-topped rock jutting out into the middle of a lake. Potential is fun.That is epic :O
In file included from /home/cray/stonesense/BlockCondition.h:2:0,
from /home/cray/stonesense/BlockCondition.cpp:1:
/home/cray/stonesense/common.h:34:27: fatal error: modules/world.h: No such file or directoryIn file included from /home/cray/stonesense/Block.h:3:0,
from /home/cray/stonesense/Block.cpp:1:
/home/cray/stonesense/common.h:34:27: fatal error: modules/world.h: No such file or directory
compilation terminated.
compilation terminated.
make[2]: *** [CMakeFiles/stonesense.dir/Block.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/stonesense.dir/BlockCondition.cpp.o] Error 1
make[1]: *** [CMakeFiles/stonesense.dir/all] Error 2
make: *** [all] Error 2Arch Linux x64, installed allegro5 library(which is the latest! I checked
) and using cmake .. && make in the build directory.
Including sound, I'll be sure to report any bugs I find
Yep, pacman -Qs allegro5 turns out version 4.9.19revision 786 refuses to build on Arch Linux with the allegro5 package installed:Is it the right version? You need 4.9.19 AFAIK.
[ 24%] Building CXX object CMakeFiles/stonesense.dir/BlockCondition.cpp.o
In file included from /home/cray/stonesensesvn/ContentLoader.h:6:0,
from /home/cray/stonesensesvn/Block.cpp:9:
/home/cray/stonesensesvn/GroundMaterialConfiguration.h:16:38: error: ‘overridingMaterials’ was not declared in this scope
/home/cray/stonesensesvn/GroundMaterialConfiguration.h:16:35: error: ‘>>’ should be ‘> >’ within a nested template argument list
/home/cray/stonesensesvn/Block.cpp: In member function ‘void Block::Draw()’:
/home/cray/stonesensesvn/Block.cpp:544:84: error: cannot convert ‘int*’ to ‘ALLEGRO_COLOR*’ for argument ‘5’ to ‘void al_get_separate_blender(int*, int*, int*, int*, ALLEGRO_COLOR*)’
/home/cray/stonesensesvn/Block.cpp:586:153: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:595:100: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:616:79: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:625:170: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:627:82: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:651:124: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:653:78: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:657:121: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:659:78: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:673:153: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:675:79: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:682:169: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:684:81: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:740:161: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:745:79: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:769:153: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:771:79: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:776:169: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:778:81: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:807:154: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:811:80: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:818:170: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:822:82: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:834:154: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:836:80: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:841:170: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:843:82: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:946:77: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp: In member function ‘void Block::DrawRamptops()’:
/home/cray/stonesensesvn/Block.cpp:981:85: error: cannot convert ‘int*’ to ‘ALLEGRO_COLOR*’ for argument ‘5’ to ‘void al_get_separate_blender(int*, int*, int*, int*, ALLEGRO_COLOR*)’
/home/cray/stonesensesvn/Block.cpp:1006:153: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
/home/cray/stonesensesvn/Block.cpp:1008:79: error: conversion from ‘int’ to non-scalar type ‘ALLEGRO_COLOR’ requested
make[2]: *** [CMakeFiles/stonesense.dir/Block.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/cray/stonesensesvn/ContentLoader.h:6:0,
from /home/cray/stonesensesvn/BlockCondition.cpp:4:
/home/cray/stonesensesvn/GroundMaterialConfiguration.h:16:38: error: ‘overridingMaterials’ was not declared in this scope
/home/cray/stonesensesvn/GroundMaterialConfiguration.h:16:35: error: ‘>>’ should be ‘> >’ within a nested template argument list
/home/cray/stonesensesvn/BlockCondition.cpp: In constructor ‘MaterialTypeCondition::MaterialTypeCondition(const char*, const char*)’:
/home/cray/stonesensesvn/BlockCondition.cpp:102:83: warning: deprecated conversion from string constant to ‘char*’
/home/cray/stonesensesvn/BlockCondition.cpp: In member function ‘virtual bool NotConditionalNode::addCondition(BlockCondition*)’:
/home/cray/stonesensesvn/BlockCondition.cpp:325:66: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [CMakeFiles/stonesense.dir/BlockCondition.cpp.o] Error 1
make[1]: *** [CMakeFiles/stonesense.dir/all] Error 2
make: *** [all] Error 2