jitter win standalone problem: MAXCRT_P.dll not found

Feb 8, 2009 at 9:47am

jitter win standalone problem: MAXCRT_P.dll not found

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

#42180
Feb 8, 2009 at 10:30am

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. –
#150891
Feb 9, 2009 at 3:03pm

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

#150892
Feb 9, 2009 at 4:41pm

thanks!
windows standalones are tricky..

hc

#150893
Feb 9, 2009 at 7:26pm

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
>

#150894
Feb 9, 2009 at 8:03pm

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

#150895
Feb 9, 2009 at 8:31pm

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

#150896

You must be logged in to reply to this topic.