Yake - Community Forum
September 10, 2010, 10:44:33 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: News #2: Feel free to pester the members of the Community Support! Look out for blue stars! Smiley
 
   Home   Help Search Login Register  
Pages: [1] 2 3 4   Go Down
  Print  
Author Topic: getting access violations.  (Read 14685 times)
ulao
Newbie
*
Posts: 39


View Profile
« on: June 17, 2008, 04:12:20 AM »

I attached  few screen shots of the Access violations I'm getting. Seems to happen on every example. My build all was a success, but I cant run any examples.

Can anyone help?

What more do you need that would be helpful?
Logged
ulao
Newbie
*
Posts: 39


View Profile
« Reply #1 on: June 17, 2008, 04:13:52 AM »

here is the second screen that did upload?
« Last Edit: June 17, 2008, 04:16:04 AM by ulao » Logged
cdkeito
Sr. Member
****
Posts: 381


View Profile WWW
« Reply #2 on: June 17, 2008, 06:59:34 PM »

in the 1st img i'm seeing a failed to probe ...
have you checked that ?
Logged

ulao
Newbie
*
Posts: 39


View Profile
« Reply #3 on: June 17, 2008, 08:03:16 PM »

LDR: LdrpWalkImportDescriptor() failed to probe d:\game dev stuff\yake\yake main\samples\bin\debug\ode.dll for its manifest, ntstatus 0xc0150002

Could my ode headers be bad. I overlayed the ode as instructed?
Logged
cdkeito
Sr. Member
****
Posts: 381


View Profile WWW
« Reply #4 on: June 17, 2008, 09:13:34 PM »

the first thing to mind was to check if ode.dll is at that place...

can you specify where and how are you doing it?
sorry never used ldr...

PS: what's that thing in the browser window?
Logged

ulao
Newbie
*
Posts: 39


View Profile
« Reply #5 on: June 18, 2008, 12:07:44 AM »

Quote
PS: what's that thing in the browser window?
- Your are probably  referring to vnc a web client. I connected to my system at home to take the screen shot.

Quote
the first thing to mind was to check if ode.dll is at that place...

can you specify where and how are you doing it?
- the dll is where yake put it? I may try to reinstall ode.



Quote
sorry never used ldr...
- To be honest neither have I I just followed the steps to installing yake and its there?


Update: I just remembered I had to reinstall vs, and consequently sp1 is not there..

After doing so, I get past the errors above but now this..
Code:
'samplePhysics1_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\samplePhysics1_d.exe', Symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_base_d.dll', Symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\msvcp80d.dll', Symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\msvcr80d.dll', Symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_physics_d.dll', Symbols loaded.
'samplePhysics1_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_graphics_d.dll', Symbols loaded.
'samplePhysics1_d.exe': Loaded 'C:\Program Files\Common Files\Logitech\LVMVFM\LVPrcInj.dll', No symbols loaded.
The thread 'Win32 Thread' (0x4c98) has exited with code 13238272 (0xca0000).
'samplePhysics1_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_physicsODE_d.dll', Symbols loaded.
'samplePhysics1_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\ode.dll', No symbols loaded.
'samplePhysics1_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_graphicsOgre_d.dll', Symbols loaded.
'samplePhysics1_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\OgreMain_d.dll', No symbols loaded.
First-chance exception at 0x7c812a5b in samplePhysics1_d.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0012e380..


What exactly is not found?

The code stopped here
Code:
void OgreCore::getConfig()
{
// Load resource paths from config file
Ogre::ConfigFile cf;
cf.load("yake.graphics.ogre_config.cfg");

that file has

Code:
;scenemanager=exterior_close
;world=terrain.cfg
shadowtype=modulated_texture
;show_config_dialog=no

in it.

Found this..

reference http://www.yake.org/forum/index.php?action=profile;u=825;sa=showPosts

Quote
samplePhysics1:
Cannot find yake.graphics.ogre_config.cfg so an exception occurs and program crashes.






« Last Edit: June 18, 2008, 03:41:49 AM by ulao » Logged
cdkeito
Sr. Member
****
Posts: 381


View Profile WWW
« Reply #6 on: June 18, 2008, 08:03:07 PM »

have you tryied a "clean" and rebuild?

just to try things, build the release version.
Logged

ulao
Newbie
*
Posts: 39


View Profile
« Reply #7 on: June 19, 2008, 01:30:10 AM »

Yeap, did a clean rebuild.

release gives me.

Quote
'samplePhysics1.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\release\samplePhysics1.exe', Binary was not built with debug information.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'samplePhysics1.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\release\yake_base.dll', Binary was not built with debug information.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols loaded.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcp80.dll', Symbols loaded.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcr80.dll', Symbols loaded.
'samplePhysics1.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'samplePhysics1.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\release\yake_physics.dll', Binary was not built with debug information.
'samplePhysics1.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\release\yake_graphics.dll', Binary was not built with debug information.
'samplePhysics1.exe': Loaded 'C:\Program Files\Common Files\Logitech\LVMVFM\LVPrcInj.dll', No symbols loaded.
The thread 'Win32 Thread' (0x4db4) has exited with code 10944512 (0xa70000).
First-chance exception at 0x7c812a5b in samplePhysics1.exe: Microsoft C++ exception: yake::Exception at memory location 0x0012fb8c..


Ok so I scratched it all and started over.. get no windowed errors but the app stops.
Code:
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\sampleVehicle_d.exe', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_base_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\msvcp80d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\msvcr80d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_physics_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_input_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_model_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_data_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_loader_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_graphics_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_raf_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_res_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_audio_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_scripting_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\CEGUIBase_d.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_vehicle_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\yake_physicsODE_d.dll', Symbols loaded.
'sampleVehicle_d.exe': Loaded 'D:\game dev stuff\yake\yake main\samples\bin\debug\ode.dll', No symbols loaded.
'sampleVehicle_d.exe': Loaded 'C:\Program Files\Common Files\Logitech\LVMVFM\LVPrcInj.dll', No symbols loaded.
The thread 'Win32 Thread' (0x5adc) has exited with code 33357824 (0x1fd0000).

From what I read, I can copy premake in to the premake folder, run the build with the default config and build..

What could be wrong.
« Last Edit: June 19, 2008, 04:28:16 AM by ulao » Logged
cdkeito
Sr. Member
****
Posts: 381


View Profile WWW
« Reply #8 on: June 19, 2008, 07:33:43 PM »

i'm seeing many "The thread 'Win32 Thread' (0x5adc) has exited...", mmmm....
can you post the log?
some time are small things that lean to this type of errors: like config files in D:\game dev stuff\yake\yake main\samples\bin\debug\ and release, or having all dll in those dirs, or resources paths

BUT, don't spend too much time on samples, what you seek is the code its self not the exe.
you can try with starting a clean project and play with it, make it out of yake's dir so it'll leave full controll to you...
Logged

ulao
Newbie
*
Posts: 39


View Profile
« Reply #9 on: June 19, 2008, 10:55:19 PM »

ya, I guess your right. Funny if I run the exe now it runs ok? So I guess it compiled ok.


Seem I'm have a bit of trouble with new projects. I was wondering does anyone have a simple application ("hello world") that I could start with, with the recommended project settings? I cant seem to find a tutorial or info on what we need to start with. I made the assumption of a windows 32 console app, but didn't work for me. I like to start with a known good config.

« Last Edit: June 20, 2008, 05:14:40 PM by ulao » Logged
cdkeito
Sr. Member
****
Posts: 381


View Profile WWW
« Reply #10 on: June 20, 2008, 08:05:35 PM »

http://www.yake.org/wiki/doku.php/tutorials:index

or the phys or the vehicle samples are a good start point, just delete what you don't need.
Logged

ulao
Newbie
*
Posts: 39


View Profile
« Reply #11 on: June 20, 2008, 08:16:13 PM »

yeah i tried the pong example but I dont know how to set up the solution? Though it just occurred to me it should be the same as ogre, I may try that.


OK bad idea! Not alike at all. Yake has a lot of different settings.. Deleting the extra samples didn't help much either. but since I can't compile those I did continue. I found it best to copy by hand one at a time over each setting from yake samples to my new project.

I want to add to suggestion, if you want this in another topic let me know.

tip: 1 , make a sample (single) vs8 solution.

tip: 2, update examples on wiki. I dont belie yapp exists any longer.

my best guess
Quote
#include "yake\base\yake.h"
#include "yake\audio\yakeAudio.h"
#include "yake\input\yakeInput.h"
#include "yake\raf\yakeRaf.h"

#if YAKE_PLATFORM == PLATFORM_WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#endif
- but still get " 'raf' : is not a class or namespace name"
« Last Edit: June 21, 2008, 12:14:00 AM by ulao » Logged
cdkeito
Sr. Member
****
Posts: 381


View Profile WWW
« Reply #12 on: June 21, 2008, 01:58:59 AM »

1 : there is minimal raf app example
2 : i've some to put on the wiki, i've got the job, but you've to wait my todo list, at the moment on hold on the yake section: psyclonist is on holiday!

for your problem i'm suggesting you to seek through yake's dirs, there are manual, apis and docs, all already on your pc.

PS: raf ~= TheMainApp, see in yake's code for it.
Logged

ulao
Newbie
*
Posts: 39


View Profile
« Reply #13 on: June 21, 2008, 03:59:11 AM »

hey , cdkeito  sounds good ..

I was able to fix this by doing a using namespace yake;

but now I get error C2061: syntax error : identifier 'YapMainState'. Guessing for the same out of date example. I tried to guess it..

RtMainState
TheMainState
YakeMainState

no dice

I may have to hold off for psyclonist, I would rather have a clean yake example to work from. If anyone would be so kind I would love to see a basic raf yake (not yapp) example.
« Last Edit: June 21, 2008, 04:39:04 AM by ulao » Logged
cdkeito
Sr. Member
****
Posts: 381


View Profile WWW
« Reply #14 on: June 21, 2008, 11:27:17 AM »

yake\samples\raf\minimal\yakeDemo.cpp
yake\samples\raf\demo1\yakeDemo.cpp

raf::ExampleApplication
raf::RtMainState

yake\documentation\api
yake\documentation\manual
yake\scripts\tools\luadocs
see in yake\scripts\tools\make_* for to generate them (you need rst2html.py in the same directory, search the web for it or the attached one (rename without the .txt))
« Last Edit: June 21, 2008, 11:29:08 AM by cdkeito » Logged

Pages: [1] 2 3 4   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.221 seconds with 17 queries.