[Bf-committers] Compiling NDOF plugin on VC2005ce
Ettore Pasquini
ettore_pasquini at 3dconnexion.com
Sat Jul 14 03:57:19 CEST 2007
Steve, did you apply both these patches (I sent them yesterday) ?
http://cubelogic.org/blender/ghost_ndof_fix.patch
http://cubelogic.org/blender/ghost_ndof_fix_win.patch
The first one in particular removes a double invocation of the
ndofDeviceOpen() function.
I verified your console output with the one I get and it's almost the same
except I get an additional line at the end:
3Dconnexion device initialization successul
You should also get it (either that or at least a "NOT successful" line)
Also -- just checking the obvious :-) -- the 3Dx driver should be up and
running and make sure you don't have accidentally two instances running. (It
a bug on the driver if you have them, but still...)
Ettore
On 7/13/07 6:33 PM, "sfogoros" <sfogoros at att.net> wrote:
> Ettore,
>
> I did try the older plugin too. Same behavior. Blender works when I
> remove the plugin so I don't think it's a problem with python. I'll bet
> it's a problem with my OS config or something silly on my end.
>
> SteveF
>
> Ettore Pasquini wrote:
>> Hi Steve,
>>
>> First of all, I am not sure if I said it, but the plugin at
>> http://cubelogic.org/blender/win-no-scaling.plug
>> Is completely untested. I built it remotely but I didn't have the chance to
>> verify it. It should work since I only removed the scaling as you requested.
>>
>> You can try an older build of the plugin (I think it has some scaling
>> though):
>> http://cubelogic.org/blender/builds/2007-06-22/win/spaceplug.plug
>>
>> Other than that, I am not sure what's going on. The plugin is obviously
>> found and its code executed.
>> Could it be the error about Python?
>>
>> Ettore
>>
>> On 7/13/07 5:52 PM, "sfogoros" <sfogoros at att.net> wrote:
>>
>>> Ettore,
>>>
>>> I patched GHOST_SystemWin32.cpp file. ndof branch compiles without error.
>>>
>>> When I try to execute blender.exe, I get a black screen, no response. I
>>> tried with both plugin binaries. The dos window shows:
>>>
>>> Compiled with Python version 2.5.
>>> 'import site' failed; use -v for traceback
>>> Checking for installed Python... No installed Python found.
>>> Only built-in modules are available. Some scripts may not run.
>>> Continuing happily.
>>> ndof manager
>>> 1 client
>>> 3Dconnexion main COM instance: 0ABB3F80
>>> 3Dconnexion COM device interface: 0ABB3F80
>>>
>>> I'm running on windows 2003 server. If I remove spaceplug.plug from the
>>> blender.exe directory, blender starts up and runs normally (spacenav is
>>> inop of course).
>>>
>>> I tried on an XP Pro Tablet and got an invalid memory reference. On both
>>> machines, the cpu goes to 100% until I force terminate blender.
>>>
>>> Thanks for any help,
>>>
>>> SteveF
>>>
>>>
>>> sfogoros wrote:
>>>> Yep, the download worked. Thanks.
>>>>
>>>> SteveF
>>>>
>>>> Ettore Pasquini wrote:
>>>>> Sorry about that Steve--
>>>>> I have to fix the permision defaults for my hosting server.
>>>>> Try now, it should work.
>>>>>
>>>>> Ettore
>>>>>
>>>>>
>>>>> On 7/12/07 7:29 PM, "sfogoros" <sfogoros at att.net> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm not able to download the win-no-scaling.plug file. I get a
>>> forbidden
>>>>>> error message.
>>>>>>
>>>>>> SteveF
>>>>>>
>>>>>> Ettore Pasquini wrote:
>>>>>>> On 7/12/07 12:27 PM, "sfogoros" <sfogoros at att.net> wrote:
>>>>>>>
>>>>>>>> Hi Ettore,
>>>>>>>>
>>>>>>>> I hope you've had a chance to review my latest post. I could use a
>>>>>>>> plugin binary (windows) without any kind of scaling as long as the
>>>>>>>> range
>>>>>>>> of values is as described in the post.
>>>>>>>>
>>>>>>>> Thanks, SteveF
>>>>>>> Hi Steve,
>>>>>>> I just responded to your post. I uploaded a new plugin build for
>>>>>>> windows
>>>>>>> with no scaling at all. Here it is
>>>>>>>
>>>>>>> http://cubelogic.org/blender/win-no-scaling.plug
>>>>>>>
>>>>>>> You will have to rename it of course.
>>>>>>>
>>>>>>> For the ranges discussion, see my post on the list.
>>>>>>>
>>>>>>> Hope this helps!
>>>>>>>
>>>>>>> Ettore
>>>>>>>
>>>>>>>
>>>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
More information about the Bf-committers
mailing list