pocho | 1 Jun 2009 19:23
Picon

Building and working with slate


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)

Brian T. Rice | 1 Jun 2009 21:01
Picon

Re: Building and working with slate


On Jun 1, 2009, at 10:23 AM, pocho wrote:

>
> 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.

The original version was for VS 2005 but was then forward-converted to  
VS 2008 this year. Is there a reason why you're using or prefer/need  
the older version?

> 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
(Continue reading)

pocho | 1 Jun 2009 22:11
Picon

Re: Building and working with slate


On 1 jun, 16:01, "Brian T. Rice" <briantr... <at> gmail.com> wrote:
> On Jun 1, 2009, at 10:23 AM, pocho wrote:
>
>
>
>
>
> > 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 tohttp://sourceforge.net/projects/vspc/and converted to
> > the version I have.
>
> The original version was for VS 2005 but was then forward-converted to  
> VS 2008 this year. Is there a reason why you're using or prefer/need  
> the older version?
>

Yeah.. it is the only one I have...
(Continue reading)

Timmy Douglas | 1 Jun 2009 23:44

Re: Building and working with slate


Thanks for checking out slate!

On Jun 1, 4:11 pm, pocho <elpochodelage... <at> gmail.com> wrote:
> On 1 jun, 16:01, "Brian T. Rice" <briantr... <at> gmail.com> wrote:
>
>
>
> > On Jun 1, 2009, at 10:23 AM, pocho wrote:
> > > 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
>
> > Okay, I can incorporate this for you.
>
> Thanks
>
>
>
>
>
> > >    also complained about some local variables that weren't defined at
(Continue reading)

pocho | 2 Jun 2009 05:35
Picon

Re: Building and working with slate


On 1 jun, 18:44, Timmy Douglas <goo... <at> timmy.tmbx.com> wrote:
> Thanks for checking out slate!
>
> On Jun 1, 4:11 pm, pocho <elpochodelage... <at> gmail.com> wrote:
>
>
>
> > On 1 jun, 16:01, "Brian T. Rice" <briantr... <at> gmail.com> wrote:
>
> > > On Jun 1, 2009, at 10:23 AM, pocho wrote:
> > > > 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
>
> > > Okay, I can incorporate this for you.
>
> > Thanks
>
> > > >    also complained about some local variables that weren't defined at
> > > > top of the scope, so I moved them.
> > > >    at last, had link errors for each inline function, the problem was
(Continue reading)


Gmane