Forums > Jitter

jitter win standalone problem: MAXCRT_P.dll not found

February 8, 2009 | 9:47 am

I am having some issues when creating a standalone in windows using max 5.05.
When starting my standalone app I get an error message about MAXCRT_P.dll not found, restarting the application might fix the problem. When I click ok the application starts and seems to work fine, except that I get the error message that jit.openexr not found.
I found a thread in the forum relating to this, that jit.openexr needs to be included in a windows standalone when using jit.gl.texture. This should be in the standalone helpfile?

I first tried adding it in the support folder, but got the same error. Then I added the object to my patch, but I still get the same error when building and running the standalone.

Eventhough technically the application works, it is not very welcoming with a message telling you that it doesn


February 8, 2009 | 10:30 am

just to illustrate with a patch including only a jit.gl.texture and a jit.openexr object, then try building a standalone from it (including the necessary support files) in windows:

– Pasted Max Patch, click to expand. –

February 9, 2009 | 3:03 pm

if you look in your max5 foler you will find MAXCRT_P.dll. copy that to your standalone’s folder and you should be good to go. Not sure why it isn’t included in the first place

oli


February 9, 2009 | 4:41 pm

thanks!
windows standalones are tricky..

hc


February 9, 2009 | 7:26 pm

i wouldn’t use the word tricky.
Just remember: if your app doesn’t find a dll it wont run correctly. Than
all you should do is find that dll for you app, and place it into the
standard search path (being the app folder itself!)

Greetings
d

On Mon, Feb 9, 2009 at 5:41 PM, hc gilje wrote:

>
> thanks!
> windows standalones are tricky..
>
> hc
>


February 9, 2009 | 8:03 pm

Well, everything is easy when you know how to do it.
It is not obvious that you would need a jit.openexr object in a standalone using jit.gl.texture, at least not for me.
I guess I am too spoiled with making standalones on the mac, where the necessary support files are added automatically :-)

hc


February 9, 2009 | 8:31 pm

Well they do call the dll story on windows the ‘dll hell’ for a reason i
guess :)
just wanted to add a basic guideline for future problems like these, being
‘ if your app doesn’t find a dll help him find it ‘
(and make sure it’s the right version :)… yes you’ve got dll’s with the
same filename but with different version numbers!!! aargh)

didn’t want to offend anyone by not calling it tricky

greetings


Viewing 7 posts - 1 through 7 (of 7 total)