Open pickfire opened 9 years ago
Can you check that you have "ocamldep" executable please?
I'm running Arch Linux too, but currently have version 4.02.1 of the compiler. I will check it with the new version now.
Can you check that you have "ocamldep" executable please?
Yes, ocamldep is /usr/bin/ocamldep
.
It all compiled successfully on my computer with the compiler version 4.02.3.
The reason why I'm asking to check "ocamldep" is that even though it's a part of the "ocaml" package, when I build the game it first starts by finding the dependencies: http://sprunge.us/dCYA While when you compile it, it immediately jumps into building the source code, and this is somewhat strange.
Why ocaml
and not c
? Your other games made in c
is great.
Because OCaml is more fun, and I would not try to make such a complex game in C. My C games are significantly simpler. And it's just a nice language, really.
Aslo, if you have a Windows machine, I have Win32 build: https://dl.dropboxusercontent.com/u/70985178/wanderers-2015-01-20.zip http://forums.roguetemple.com/index.php?topic=3888.0
Well, I am still learning c
and doesn't know about ocaml? I hope there is a easy book which teaches c
.
Back to the topic, what should I do to compile that?
That's no good that compilation breaks for no reason.. It would be really interesting to see if it will work on a Raspberry Pi, because I think it should be able to do that.
What puzzles me is that I have no idea what goes wrong. Can you show me, what ls -a
is saying? In particular, do you have the ._d
directory there? Because when ocamldep
runs, it puts the dependencies there. And I suspect that it did not run in your case.
The other games works well in Raspberry Pi, I haven't tested this yet. ls -a
shows:
./ COPYING data/ .gitignore lib/ makefile.inc OCamlMakefile src/
../ ._d/ .git/ info/ Makefile ._ncdi/ README.markdown
Ok, I don't know what the issue is. I think, the only solution for me is to ask OCaml gurus, you can do that too, if you want. Maybe OCamlMakefile
does not do things correctly on your machine. It is a complex makefile, which I appropriated from OCaml OpenGL library, and almost all project building machinery is in there. There were no issues before, so I did not care how it actually works.. I don't have a good solution at the moment, but I will try to figure it out.
Also, thank you for playing the games, and for the feedback too )
I am using Arch Linux on Raspberrry Pi with
The OCaml toplevel, version 4.02.3
,uname -a
shows: