tempvar
tempvar

Reputation: 421

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 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.

Upvotes: 5

Views: 3691

Answers (4)

aardvarkk
aardvarkk

Reputation: 15996

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!

Upvotes: 1

TheOrestes
TheOrestes

Reputation: 54

I faced the same issue, later on I downloaded the "assimp-sdk-3.0-setup.exe" file & installed it as a standard windows application.

I pointed Visual Studio Solution Include & Lib directories to respective folders from newly installed location, copied DLL to my application location. The problem was resolved. Hope this helps someone.

Cheers.

Upvotes: 0

Jeroen Baert
Jeroen Baert

Reputation: 1314

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.

Upvotes: 1

tempvar
tempvar

Reputation: 421

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

Upvotes: 7

Related Questions