What does this error mean?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: What does this error mean?

Postby Neo » Mon Nov 19, 2012 11:28 am

You mean recompile the sandbox?
I did it as above, but the concole put this:
AL lib: alc_initconfig: Failed to initialize backend "mmdevapi"

and a blank application window..
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 19, 2012 11:38 am

do you have openAL soudn driver inteall in you machine? almost every compuer has then
http://connect.creativelabs.com/openal/Downloads

bascially is a table of function pointer sound card driver in your system.
this is just like openGL whish is also a set of function pointers to the video driver driver.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Neo » Mon Nov 19, 2012 11:58 am

So I have to download ALUT? I thought that was included in the project...
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 19, 2012 12:00 pm

no just the driver dll: oalinst

Updated Summer 2009 : Version 2.0.7.0
The OpenAL Installer for Windows will install the OpenAL 1.1 libraries, enabling support for core OpenAL operations as well as extensions such as EAX and EFX. The installer supports both 32-bit and 64-bit versions of Windows.
DLL Version numbers:
* OpenAL32.dll version 6.14.357.24
* wrap_oal.dll version 2.2.0.5


you only need to do this for running the sand box demo, beofre I was using fmod, but fmod is not free so I have to use a diffrent sound system
I will see if I can detect if openAl32.dll is not present so that the demos do not crash.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Neo » Mon Nov 19, 2012 12:06 pm

Download and install...Then nothing changes...still that error...
For sound system, personally Iuse irrklang...
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 19, 2012 12:12 pm

try setting a break point in the line: ..\applications\demosSandbox\sdkDemos\toolBox\dSoundManager.cpp

Code: Select all
dSoundManager::dSoundManager()
   :m_coordinateSystem (GetIdentityMatrix())
{
   m_device = alcOpenDevice(NULL);
   _ASSERTE (m_device);
// set break point an see if m_device is not null;
   m_context = alcCreateContext(m_device, NULL);
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Neo » Mon Nov 19, 2012 12:21 pm

There's no execute file setting for the sandbox project...so I have to set it by hand, but the breakpoint make no difference, the program didn't stop at the break point..
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 19, 2012 12:24 pm

Ok please sync again, now the sound manager will not crash the application if the it can not be initalized.


what does this means?
Neo wrote:There's no execute file setting for the sandbox project...
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Neo » Mon Nov 19, 2012 12:30 pm

Julio Jerez wrote:what does this means?
Neo wrote:There's no execute file setting for the sandbox project...

When I click DEBUG on the vs2008, it show me a window to choose the .exe file, instead of running the program directly
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 19, 2012 12:33 pm

there are four choises

Debug
DebugDll
Release
RelaseDll

you should select DebugDll or RelaseDll
because you are using Netwon as DLL.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Neo » Mon Nov 19, 2012 12:37 pm

Sorry,I mean the 'run' button
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby FSA » Mon Nov 19, 2012 12:38 pm

Sorry to give another question to you. Will you solve the bug with constraint->m_body0 == srcBody?
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 19, 2012 12:40 pm

No but tshi si very important

letter123 wrote:Yes i give you a test wait. I have changed nothing. I just made a svn checkout an d it worked.
Here the demo(debug): https://www.dropbox.com/s/t3tkc03bkxw0y ... cc_bug.zip

can you link to d3d9 in release mode, I do no have direct SDK intall in mys system. I jus try and I get a unkon error, I even renamed d3d9d_43.dll to d3d9_43.dll but that does not work either
I am not going to bother trying to figure out know to intall D3D sdk
also you could simple provide a release build, I can debug the newton_d with that too.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 19, 2012 12:44 pm

Neo wrote:Sorry,I mean the 'run' button

you mean F5?
thats for running the demo, all configuration should run but since you are using newton.DLL you should use
build/debugDLL or build/releaseDLL so that you see teh project setting that you sould use in your project.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Neo » Mon Nov 19, 2012 12:49 pm

OK, It seems that it's not the audio library's problem, the sandbox didn't crash, I mean, both the console and application window appears, no crush report message window, and the whole program is not "dead", but there just nothing in the application window -- a blank gray background with no menu.
Last edited by Neo on Mon Nov 19, 2012 12:54 pm, edited 1 time in total.
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 9 guests

cron