src-common/makeCFfilename.cpp: In function ‘std::string makeCFfilename(const char*, int, int, int)’:
src-common/makeCFfilename.cpp:44: erreur: ‘strchr’ was not declared in this scope
make: *** [objs/makeCFfilename.o] Erreur 1
Context Free is missing many include file directives because older versions of gcc compile Context Free even though the include files are missing. Newer versions of gcc are more strict, so Context Free will not compile with them. I will fix this as soon as I get access to a newer version of gcc.
dans les fichiers suivants : in the following files :
yglue.cpp
tiledCanvas.cpp
posixSystem.cpp
Maintenant, ça marche Now, it's ok
Il y a aussi des avertissement sur certaines conversions et l'utilisation de mktemp : There are some deprecated conversions and a warning about mktemp :
src-common/yglue.cpp: In function ‘char* yg_BuildString(const char*)’:
src-common/yglue.cpp:72: attention : deprecated conversion from string constant to ‘char*’
src-unix/pngCanvas.cpp: In member function ‘void pngCanvas::output(const char*, int)’:
src-unix/pngCanvas.cpp:154: attention : deprecated conversion from string constant to ‘char*’
src-unix/pngCanvas.cpp:155: attention : deprecated conversion from string constant to ‘char*’
objs/posixSystem.o: In function `PosixSystem::tempFileForWrite(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
posixSystem.cpp:(.text+0x396): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
Maintenant, je vais essayer ce joli projet. Now, let's try your nice project.
I can fix all of the warnings except for the one about mktemp. We have decided to not worry about mktemp.
Can you type in
gcc -v
so that we can determine what environment compilation fails under. I have tried compiling Context Free under Ubuntu Intrepid Ibex and I received some of these warnings, but it does compile.
I can fix all of the warnings except for the one about mktemp.
Great !
We have decided to not worry about mktemp.
Ok.
Can you type in gcc -v
My gcc version is 4.3.2
I have tried compiling Context Free under Ubuntu Intrepid Ibex and I received some of these warnings, but it does compile.
Compilation is ok for me too (from Mon Dec 22, 2008 6:16 pm) :
Maintenant, ça marche
Now, it's ok
I've tried some examples of the Gallery section. Awesome !
I'm having a look in the Documentation (in fact, I'm trying to translate it in French to oblige me to understand).
Continue to develop this great program !