Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application error - debug exe wont run

I've recently downloaded Assimp and I've run into some troubles.

I've linked the libraries and I can get the program to compile and it runs fine in Release mode; however, the Debug .exe hits me with this error:

The application was unable to start correctly (0xc0150002). Click OK to close the application.

error

Some more details:

  • I'm using VS2010 with Target Machine set to x86.

  • I am using the 32bit debug dll (Assimp32d.dll) that was provided, and I've tried setting runtime libraries to /MT, /MTd, /MD, and /MDd with no luck.

I read from other similar threads that I should run Dependency Walker on the .exe, but I'm not sure what the output means. I'll paste it here if this helps you guys.

Error: The Side-by-Side configuration information for "c:\users\-----\documents\visual studio 2010\projects\AssimpTest\debug\ASSIMP32D.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001). Error: At least one required implicit or forwarded dependency was not found. Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. Error: Modules with different CPU types were found.

like image 242
tempvar Avatar asked Sep 30 '12 15:09

tempvar


3 Answers

Rather than rebuilding the libraries, I downloaded a different set of libraries (it was the SDK installer) and the debug dll's from that are working perfectly.

Just in case anyone has the same problem with the same software, this was the exact name of the installer that worked for me: assimp-sdk-3.0-setup.exe

like image 56
tempvar Avatar answered Oct 03 '22 15:10

tempvar


I ran into the same problem when trying to run a 64-bit project in Debug mode when using Assimp 3.0.

What I did was go to assimp/workspaces/vc9, open assimp.sln in Visual Studio 10, convert the project, then rebuild the 32 and 64-bit dll. Mind you, you've got to install boost for that as well, and edit the project properties so it points to the boost directory for includes.

There's probably a way to do it using CMake as well, but I found the whole process too cumbersome to bother with in the first place.

like image 34
Jeroen Baert Avatar answered Oct 03 '22 17:10

Jeroen Baert


My solution was just to link the debug build to the release .dll files. No more issues, and I wasn't that interested in debugging the Assimp library anyway!

like image 40
aardvarkk Avatar answered Oct 03 '22 16:10

aardvarkk