views:

73

answers:

2

iam trying my hand at using the crystal space api in my graphics applications. crystal space website

The applications compile fine but iam having hell with the dlls(dynamic link libraries). The compiled application crashes at run time and i suspect its because of not finding the needed dlls.
The only solution i currently have is cutting and pasting my application executable to a folder having all necessary libraries.(which is about 300mb).

Is there a way i can find out the dlls my app needs so that i can copy them?(instead of using all dlls)

Any help will be appreciated.

PS: i am using g++ and codeblocks ide

from dr deo

+3  A: 

Try Dependency Walker By Steve Miller

mjv
http://www.dependencywalker.com
h0b0
+6  A: 

You can use Dependency Walker.

Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules.

Desintegr
and it points out issues present as well.
Hassan Syed
i tried it and it gave me this error: Warning: At least one delay-load dependency module was not found.Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.Whats this???
Dr Deo
It means that one of the dlls that is required by one of the dlls required by your program is not there. That is why your program will not run. You will need to find the dll or remove that dependency somehow.
doron