Tomi Pieviläinen | 6 Mar 2012 12:16
Picon
Picon
Favicon

Re: Problems with leocad + povray in linux

> yes, closed source... :(

A big shame. Can't really see the benefit of that, since it's freeware
anyway. I'd be happy to fix that one bug, and make a 64bit version

> I actually exchanged a few e-mails with Lars in the past about this,
> as it also does not run on newer x86-64 machines. (It's a 32-bits
> binary).  I managed to get it working with some ugly tricks, but it
> would be so much simpler to recompile it :)

Fortunately Ubuntu has working multiarch, so I could just install all
the libraries it needed side by side to my usual amd64 libs.

> Did this also do the trick for LeoCAD? I guess not, as it has its
> own data files...

No, the problem was with LGEO, not with ldraw. And anyway the problem
is the same on Windows.

--

-- 
Tomi Pieviläinen, +358 400 487 504
A: Because it disrupts the natural way of thinking.
Q: Why is top posting frowned upon?
_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad
(Continue reading)

Niels Horn | 6 Mar 2012 12:29
Picon
Gravatar

Re: Problems with leocad + povray in linux

On Tue, Mar 6, 2012 at 8:16 AM, Tomi Pieviläinen
<tomi.pievilainen+leocad@...> wrote:
>> yes, closed source... :(
>
> A big shame. Can't really see the benefit of that, since it's freeware
> anyway. I'd be happy to fix that one bug, and make a 64bit version
>
>> I actually exchanged a few e-mails with Lars in the past about this,
>> as it also does not run on newer x86-64 machines. (It's a 32-bits
>> binary).  I managed to get it working with some ugly tricks, but it
>> would be so much simpler to recompile it :)
>
> Fortunately Ubuntu has working multiarch, so I could just install all
> the libraries it needed side by side to my usual amd64 libs.
>
>> Did this also do the trick for LeoCAD? I guess not, as it has its
>> own data files...
>
> No, the problem was with LGEO, not with ldraw. And anyway the problem
> is the same on Windows.
>
> --
> Tomi Pieviläinen, +358 400 487 504

But did you get the LGEO parts to work using l3p?
I use them without problems, setting the right flags with l3p.

About l3p not being open-source, well - it's his brainchild, so I
guess he can decide what he wants to do with it.

(Continue reading)

Tomi Pieviläinen | 6 Mar 2012 14:31
Picon
Picon
Favicon

Re: Problems with leocad + povray in linux

> But did you get the LGEO parts to work using l3p?  I use them
> without problems, setting the right flags with l3p.

Yes, with l3p it works just fine.

Do the unofficial parts from
http://www.philohome.com/leoupd/leoupd.htm work for you? I'd need to
do instructions for Mindstorms, so I really need them, but it seems
like importing the file does nothing. I did restart leocad, but it's
no good.

--

-- 
Tomi Pieviläinen, +358 400 487 504
A: Because it disrupts the natural way of thinking.
Q: Why is top posting frowned upon?
_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad
Niels Horn | 6 Mar 2012 17:14
Picon
Gravatar

Re: Problems with leocad + povray in linux

On Tue, Mar 6, 2012 at 10:31 AM, Tomi Pieviläinen
<tomi.pievilainen+leocad@...> wrote:
>> But did you get the LGEO parts to work using l3p?  I use them
>> without problems, setting the right flags with l3p.
>
> Yes, with l3p it works just fine.
>
> Do the unofficial parts from
> http://www.philohome.com/leoupd/leoupd.htm work for you? I'd need to
> do instructions for Mindstorms, so I really need them, but it seems
> like importing the file does nothing. I did restart leocad, but it's
> no good.
>
> --
> Tomi Pieviläinen, +358 400 487 504

I never tried those...
I'm at work now, but I'll try to test it later tonight (probably
tomorrow for you).

--
Niels Horn
Leonardo Zide | 6 Mar 2012 20:38
Picon

Re: Problems with leocad + povray in linux

On Tue, Mar 6, 2012 at 5:31 AM, Tomi Pieviläinen <tomi.pievilainen+leocad-X3B1VOXEql0@public.gmane.org> wrote:
Do the unofficial parts from
http://www.philohome.com/leoupd/leoupd.htm work for you? I'd need to
do instructions for Mindstorms, so I really need them, but it seems
like importing the file does nothing. I did restart leocad, but it's
no good.

  I just tried importing Philo's update and it worked for me. Are you sure you have write permission to the directory where you installed the pieces library?

  Are you compiling your own exe? From what version?

_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad
Tomi Pieviläinen | 6 Mar 2012 20:42
Picon
Picon
Favicon

Re: Problems with leocad + povray in linux

>   I just tried importing Philo's update and it worked for me. Are
>   you sure you have write permission to the directory where you
>   installed the pieces library?

Leocad wants to write to /usr/local/share/leocad/? No, my normal user
doesn't have write access there. Is it possible to configure leocad to
use a pieces library from $HOME/.leocad or something like that?

>   Are you compiling your own exe? From what version?

My own binary, yes, but not exe as I'm on linux. I used the svn trunk.

--

-- 
Tomi Pieviläinen, +358 400 487 504
A: Because it disrupts the natural way of thinking.
Q: Why is top posting frowned upon?
_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad
Leonardo Zide | 6 Mar 2012 20:45
Picon

Re: Problems with leocad + povray in linux

On Tue, Mar 6, 2012 at 11:42 AM, Tomi Pieviläinen <tomi.pievilainen+leocad-X3B1VOXEql0@public.gmane.org> wrote:
Leocad wants to write to /usr/local/share/leocad/? No, my normal user
doesn't have write access there. Is it possible to configure leocad to
use a pieces library from $HOME/.leocad or something like that?

  That's probably the problem then, I need to add some error messages. 

  You can set the environment variable LEOCAD_LIB=<path> or add a -l <path> to the command line to use the library from a different directory.

My own binary, yes, but not exe as I'm on linux. I used the svn trunk.
 
  I knew you were on Linux, just a habit to say exe :)

_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad
Tomi Pieviläinen | 6 Mar 2012 20:50
Picon
Picon
Favicon

Re: Problems with leocad + povray in linux

>   That's probably the problem then, I need to add some error
>   messages.
> 
>   You can set the environment variable LEOCAD_LIB=<path> or add a -l <path>
> to the command line to use the library from a different directory.

Seems like permissions were the problem, yes. With -l importing new
pieces works fine. Thanks!

--

-- 
Tomi Pieviläinen, +358 400 487 504
A: Because it disrupts the natural way of thinking.
Q: Why is top posting frowned upon?
_______________________________________________
Leocad mailing list
Leocad@...
https://list.gerf.org/listinfo/leocad
Philo | 6 Mar 2012 20:52
Favicon

Re: Problems with leocad + povray in linux

>     Do the unofficial parts from
>     http://www.philohome.com/leoupd/leoupd.htm work for you? I'd need to
>     do instructions for Mindstorms, so I really need them, but it seems
>     like importing the file does nothing. I did restart leocad, but it's
>     no good.
>
>
>    I just tried importing Philo's update and it worked for me. Are you
> sure you have write permission to the directory where you installed the
> pieces library?
>

Hopefully this (outdated) update will soon be useless for NXT parts: 
there is a pending BIG update of LDraw official parts (due next week or 
so) that contains all NXT parts!

Philo

Gmane