1 Jun 2009 19:23
Building and working with slate
pocho <elpochodelagente <at> gmail.com>
2009-06-01 17:23:54 GMT
2009-06-01 17:23:54 GMT
Hi, I've been trying to install and use slate, and run throug some
problems. I was able to solve some of them but need help to take care
of others. First of all, I tested it in two platforms: Win XP and
Ubuntu 9.04 inside a VirtualBox. I'd like to share the experience
because I think it might be useful for others. I used the lastest
version from git in both cases.
here the path diverges..
for windows.
1 - tried to open src/vm/windows.sln solution with visual studio 2005,
but didn't work because sln is from vs 2008.
so, went to http://sourceforge.net/projects/vspc/ and converted to
the version I have.
2 - opened the solution and tried to compile (after downloading
http://code.google.com/p/msinttypes/) but failed. There were various
problems:
vc complained about inlines. Solved that adding this to slate.h
#define SLATE_INLINE inline
#ifdef _MSC_VER
#define snprintf _snprintf
#undef inline
#define inline __inline
#endif
also complained about some local variables that weren't defined at
top of the scope, so I moved them.
(Continue reading)
RSS Feed