Re: Compiling Windows 64 bit d3 shader

Date : Wed, 3 Oct 2007 18:09:47 +0100
To : XSI(at)Softimage.COM
From : "Alan Jones" <skyphyr(at)gmail.com>
Subject : Re: Compiling Windows 64 bit d3 shader
Hi Biju,

Source code isn't architecture specific (ok some people will argue
that's not entirely true, but its close enough).

I didn't see any source-code in your attachments, but the error you're
getting is because the library could not be linked. This could either
be it was compiled for the wrong architecture, because it's linked
against a library which is unavailable, or because you didn't put all
the required source files in the compile command. I can't really
comment on windows specifics as it's been outside my realm of
experience for quite a while, but if you grab dependency walker you
will be able to see what libraries your shader .dll expects to link
against. This would at least get you started on hunting down what may
be missing. Though if you're getting this error on the machine it was
compiled on it's unlikely to be a missing library.

Cheers,

Alan.

On 10/3/07, Biju Ramachandran <biju.ramachandran(at)ubisoft.com> wrote:
>
>
>
> Hi there
>
>     How do one convert a 32bit shader to 64bit...? Here is how I did  -
> trying with d3_shader
> I compiled a thirdparty shader from a 32bit (windows) source code to 64bit
> (windows .dll file).
> Installed 32bit shader addon (that came with it)
> Created
> C:\Softimage\XSI_6.02\Addons\D3_Shaders\Application\bin\nt-x86-64
> directory
> Copied the 64bit dll file to the above mentioned directory
> When do a quick region in XSI - I get the following error
>
> ' ERROR : LINK 0.2  error  191007: cannot load
> D:\Softimage\XSI_6.02_x64\Addons\D3_Shaders\Application\spdl\..\bin\nt-x86-64\d3shaders.dll,
> This application has failed to start because the application configuration
> is incorrect. Reinstalling the application may fix this problem.
> ' ERROR : PHEN 0.3  error  051011: shader "d3b_normalmap" not found
> ' ERROR : PHEN 0.3  error  051011: shader "d3b_normalmap" not found
>
> I have attached the 32 bit addon and the dll file. Has anyone got this
> working ..?
>
> Thanks
> Biju
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.