Redistribution Error
Redistribution Error
I tried to redistribute some release mode demos I made with Irrlicht and an error came up on every computer Ive tried it on. I included the exe built in release mode, the assets, and the .dll file. When I run it on my PC it works fine, but on other PCs an error message comes up saying The application could not run, reinstalling the application may fix the problem. Are there any requirements for running Irrlicht, or has anyone run across this problem and has a solution for me? Thanks.
-
andrei25ni
- Posts: 326
- Joined: Wed Dec 14, 2005 10:08 pm
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
You should check which dlls are used by your app. The error you mentioned is due to a missing library of some kind. There are apps to print the required dlls. I had those problems once when an additional lib was built in debug mode (and thus debug libraries of all kinds were required). Or you have managed code enabled which would require .net dlls.
-
Baal Cadar
- Posts: 377
- Joined: Fri Oct 28, 2005 10:28 am
- Contact:
http://www.dependencywalker.com/
This free tool helps a lot with all kinds of DLL issues, like missing DLLs and/or missing functions in DLLs. It tells you what component misses what, so that you can collect the missing dependencies.
In your case your error message should tell you what DLL is missing. If you use Visual C++ 2005 (Express) you need to actually install the application on other computers. Just copying the folder won't do it anymore.
See here for instructions for how to do this correctly: http://blogs.msdn.com/nikolad/archive/2 ... 60368.aspx
This free tool helps a lot with all kinds of DLL issues, like missing DLLs and/or missing functions in DLLs. It tells you what component misses what, so that you can collect the missing dependencies.
In your case your error message should tell you what DLL is missing. If you use Visual C++ 2005 (Express) you need to actually install the application on other computers. Just copying the folder won't do it anymore.
See here for instructions for how to do this correctly: http://blogs.msdn.com/nikolad/archive/2 ... 60368.aspx
No offense 