Re: [cgkit-user] Newbie installation questions ....
Brought to you by:
mbaas
|
From: Roberto B. <rob...@gm...> - 2008-08-25 07:24:09
|
Matthias,
thanks a lot! I fixed the config file and I am now able to load 3ds
files. I also followed your suggestion to use PyProtocols without
speedups (from the bug I reported recently) and it worked fine.
On Sat, Aug 23, 2008 at 2:20 PM, Matthias Baas <mat...@gm...> wrote:
> Roberto Brunelli wrote:
>> I've found a (small) compilation glitch and a problem after
>> installation
>>
>> 1. When compiling, I add to add the -mt suffix at the required boost
>> libraries (the required library without the -mt was not in the
>> system)
>
> The setup script cannot determine the name of the Boost.Python library
> itself. The default name is just "boost_python" but if the lib has a
> different name on your system you have to set that name in your
> config.cfg file (variable BOOST_LIB).
>
>> Using the checkenv utility after installing tells me that
>> [...]
>
> This output looks fine. Only PyODE is missing but you really only need
> that once you want to do rigid body dynamics.
>
>> 2. When I try to load a .3ds file
>>
>> TM_faces/3D_models> viewer.py -X -T -v Roby.3ds
>>
>> it fails with the following notification
>>
>> Python 2.5.1 (r251:54863, May 4 2007, 16:52:23)
>> [GCC 4.1.2]
>> Environment variable VIEWER_DEFAULT_OPTIONS not set.
>> 0 joysticks available
>> SpaceMouse/SpaceBall module (spacedevice) not available
>> Loading "Roby.3ds"...
>> Traceback (most recent call last):
>> File "/usr/bin/viewer.py", line 667, in <module>
>> viewer.run()
>> File "/usr/lib/python2.5/site-packages/cgkit/tool.py", line 191, in run
>> load(filename)
>> File "/usr/lib/python2.5/site-packages/cgkit/cmds.py", line 926, in load
>> raise NoImporter('No import plugin found for extension "%s".'%ext)
>> cgkit.cmds.NoImporter: No import plugin found for extension "3ds".
>>
>> Inspection of available 3d(s) libraries shows that the following are in
>> place
>>
>> /usr/lib/lib3dkit.so@
>> /usr/lib/lib3dkit.so.1@
>> /usr/lib/lib3dkit.so.1.9.25*
>> /usr/lib/lib3ds-1.so.3@
>> /usr/lib/lib3ds-1.so.3.0.0*
>> /usr/lib/lib3ds.a
>> /usr/lib/lib3ds.la*
>> /usr/lib/lib3ds.so@
>
> What does your config.cfg file look like? Did you enable 3ds support?
> (by default, every optional library is disabled, there is no automatic
> configuration that checks for the libs)
> Have a look at the config_template.cfg file to see what variables you
> can set.
>
> - Matthias -
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> cgkit-user mailing list
> cgk...@li...
> https://lists.sourceforge.net/lists/listinfo/cgkit-user
>
|