verdesgabika / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Error on startup (0xc0150002) #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Execute the StuntRally.exe.

What is the expected output?
I guess the GUI should show up, nessesary things should initialize and so on.

What do you see instead?
An error message saying: "The application was unable to start correctly 
(0xc0150002). Click OK to close the application.".

What version of the product are you using? On what operating system?
It happens to me on all jet released versions (0.01, 0.02 and 0.037)on Win 7 
64-bit.

The attached logs are from 0.037 after multiple tries.

Original issue reported on code.google.com by Meral.Ha...@gmail.com on 5 Aug 2010 at 11:43

Attachments:

GoogleCodeExporter commented 8 years ago
This probably means that some of the dll's dependencies are missing.
I would suspect d3dx9_41.dll or dinput8.dll.

1. Try to download d3dx9_41.dll from here:
http://www.dll-files.com/dllindex/dll-files.shtml?d3dx9_41
unpack it and copy to where the StuntRally.exe is.
(if that's the case I will include it in next releases).

2. If 1 didn't help try to download and install:
Microsoft Visual C++ 2008 Redistributable Package (x86)
http://www.microsoft.com/downloads/details.aspx?familyid=9b2da534-3e03-4391-8a4d
-074b9f2bc1bf&displaylang=en

Did you try it on GL rendering system (in Ogre dialog) ?
Maybe I will create an installer some day to avoid this problems.

Original comment by Cry...@gmail.com on 6 Aug 2010 at 8:22

GoogleCodeExporter commented 8 years ago
I've already had the D3DX9_41.dll in my System32 directory. Adding the one from 
dll-files.com to the Stunt Rally directory didn't change anything.
Same thing with the dinput8.dll.

The Visual C++ 2008 Package has been installed already too.

I don't even get to the Ogre Dialog. The windows error report is the first and 
only output I get.

Original comment by Meral.Ha...@gmail.com on 6 Aug 2010 at 10:35

GoogleCodeExporter commented 8 years ago
This is strange then, I have run this on Win 7 64-bit without problems.
I'm guessing there is something wrong with those Visual frameworks, meaning the 
right one isn't installed yet. Have you had this error on any other program ?

Original comment by Cry...@gmail.com on 6 Aug 2010 at 1:01

GoogleCodeExporter commented 8 years ago
No, I've only seen it on the StuntRally.exe until now.

The funny thing is: I get the same error in a virtual machine with win XP SP3.

Original comment by Meral.Ha...@gmail.com on 6 Aug 2010 at 3:11

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 6 Aug 2010 at 7:27

GoogleCodeExporter commented 8 years ago
Ok, try removing the three msvc*.dll's and Microsoft.VC90.CRT.manifest from 
where exe is,
and put those from the attachment.
I've found that the exe actually is using these, from other location in my 
PATH. You can also try removing them completely from exe folder maybe the 
installed ones are already good.

Original comment by Cry...@gmail.com on 8 Aug 2010 at 11:41

GoogleCodeExporter commented 8 years ago
I get the same error without any of the mscv*.dll's and the 
Microsoft.VC90.CRT.manifest file.
Replaying them with yours didn't change anything either.

Original comment by Meral.Ha...@gmail.com on 8 Aug 2010 at 11:50

GoogleCodeExporter commented 8 years ago
I have to say I'm running out of ideas, but one more proposition,
try to download and install Framework 2.0, 3.5 and VS 2008 SP1 redist:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd
-aab15c5e04f5&displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyId=333325fd-ae52-4e35-b531
-508d977d32a6&displaylang=en
http://www.microsoft.com/downloads/details.aspx?familyid=a5c84275-3b97-4ab7-a40d
-3802b2af5fc2&displaylang=en
(you can have them all installed at once it's ok)

Just of curiosity, try to download and run cAmp or CrystalFont (my other 
projects), just to check if they start or will produce the same error
http://code.google.com/p/crystalfont/downloads/list
http://code.google.com/p/crystalamp/downloads/list
If they start it means there is something wrong (inconsistent) with compilation 
of the game or its dll's.
If not, it's either missing frameworks or something wrong in your system.
If anyone has this issue post here, maybe this is a common problem.
Can you paste here your PATH dirs ? Run cmd.exe and type path.

Original comment by Cry...@gmail.com on 8 Aug 2010 at 1:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Before downloading additional Frameworks I tried crystalfont and crystalamp. 
They both started up fine and did their job. Nice projects by the way. I've got 
to take a closer look at them.

I installed the Visual C++ 2008 SP1 Redistributable Package which did not solve 
the problem. I couldn't install the .net 2.0 or 3.5 framework. The 2.0 setup 
reports, that .net 2.0 is already part of win 7. 3.5 displays an error message 
with tells me to install .net 3.5 from the system configuration where it's 
already activated. (Can be found under something like: System configuration - 
Programs and Functions - Activate or deactivate windows functions)

My windows path dir's: 
C:\Windows
C:\Windows\system32
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\Common Files\Acronis\SnapAPI\
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common

Original comment by Meral.Ha...@gmail.com on 8 Aug 2010 at 5:27

Attachments:

GoogleCodeExporter commented 8 years ago
Seems like it's something with the game's dll's then. Or maybe some manifests 
are required for them, I will ask some programmers.
Funny thing it was running ok on Win 7 64bit, but I guess there are many 
frameworks installed there so it starts.
Anyway I'll compile all dll's from start on one machine maybe even with Win 7 
on it.
But until then probably nothing can be done.

Original comment by Cry...@gmail.com on 8 Aug 2010 at 7:28

GoogleCodeExporter commented 8 years ago
Heya,

same problem here, tested on Win7 Ultimate 32-bit and Vista Home Basic 32-bit.

CryHam, could you try and run this on a clean install of Windows, then see 
what's missing, if indeed anything?

Cheers,
Oskar

P.S.: Really excited about this game, since we organise Open Source LAN parties 
at work and this would fit in nicely, assuming there's gonna be multiplayer 
support. If I find the time, I might be able to contribute 2D art and maaaybe 
some 3D stuff. But I'd like to at least run the game first. :D

Original comment by oskar.ko...@gmail.com on 9 Aug 2010 at 7:30

GoogleCodeExporter commented 8 years ago
Oh, I just tried running v1 and it gives a different error on Win7. "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.

Original comment by oskar.ko...@gmail.com on 9 Aug 2010 at 7:55

GoogleCodeExporter commented 8 years ago
OK, I have found with Dependency Walker that my exe and all dll's use 
mvc90*.dll in version
9.0.30729.4926
It should be a matter of finding the right vc 2008 redist which will include it.

Original comment by Cry...@gmail.com on 9 Aug 2010 at 8:35

GoogleCodeExporter commented 8 years ago
I've put them here but as I checked on a different computer it didn't start.
Don't know if it's actually possible to find it. But the dll's are located in 
winsxs and loaded from there so maybe an update or a redist installs them there.

Original comment by Cry...@gmail.com on 9 Aug 2010 at 9:11

GoogleCodeExporter commented 8 years ago
This is wrong, I've looked in each dll and exe, they all use msvc's version 
9.0.21022.8, it's the VC redist 2008, nothing more should be required. But as I 
checked on other computer with Win 7 64-bit nothing could be installed from 
those .Net frameworks, and any msvc90*.dll's with manifest put in exe or 
separate dir didn't help. It has to be something bigger then, I will recompile 
the exe.

Original comment by Cry...@gmail.com on 9 Aug 2010 at 5:03

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 9 Aug 2010 at 5:52

GoogleCodeExporter commented 8 years ago
I have rebuilded all dll's and exe in project to link statically with msvc*.dll 
(there is no msvc*.dll in any dependency now).

The release ver.04 should be able to start on any computer, even with no vc 
redist installed.

Original comment by Cry...@gmail.com on 10 Aug 2010 at 9:04

GoogleCodeExporter commented 8 years ago
Downloaded and extracted - It's working!

Don't have time to get a closer look at the moment, but as far as I've seen it 
looks awesome and makes a lot of fun!

Original comment by Meral.Ha...@gmail.com on 11 Aug 2010 at 1:18

GoogleCodeExporter commented 8 years ago
Nice!

Running smoothish even on my old rig. Much smoother than vDrift. Kudos.

I found a new problem though, so I'm gonna open a new issue ticket.

Original comment by oskar.ko...@gmail.com on 11 Aug 2010 at 12:35

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 11 Aug 2010 at 7:52

GoogleCodeExporter commented 8 years ago

Original comment by Cry...@gmail.com on 12 Dec 2010 at 6:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i have installed c++ visual redistrituable 2013, agai it showing the applcation 
was unable to start correctly ox0150002
what shoul i do?
plz help

Original comment by loknathd...@gmail.com on 17 Aug 2015 at 2:44