03-06-2013, 07:49 PM
(03-06-2013, 07:32 PM)V6ser Wrote:generated it on my windows and copied it to fix that,anyway this is the last error left(03-06-2013, 06:54 PM)the avenger Wrote:I thought Cmake would generate it automatically.(03-06-2013, 01:11 PM)V6ser Wrote:i didn't understand that,sorry.(03-05-2013, 03:01 PM)the avenger Wrote:it's like "make clean" what he meant, not just try again.(03-05-2013, 02:32 PM)[Unknown] Wrote: In addition to that change, you also need a valid fd.re-run cmake on what?i already ran it on the ios toolchain,
Something like... at the top of the file:
#include <fcntl.h>
And then inside that func:
int fd = open("/dev/zero", O_RDWR, 0);
And then replace the param after the MAP_ flags (-1) with fd. It's probably crashing in the emitter because mmap() returned an invalid pointer and so it's crashing when writing to a bad ptr.
Hmm, xcode should be building the git-version.cpp file in the root. What do you have in that file? You may need to re-run cmake.
-[Unknown]
anyway if you can post the lines of code already edited with what you proposed i can paste it in and see how it works
anyway there doesn't seem to be a git-version.cpp file.whats the problem now?
hope we can get through it soon

