Yake - Community Forum
September 09, 2010, 04:11:43 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: News #1: If you're registration is rejected please report via E-Mail (--> www.yake.org for details).
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4]   Go Down
  Print  
Author Topic: getting access violations.  (Read 14678 times)
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #45 on: July 03, 2008, 01:25:13 PM »

Sent a couple PM's did you discover anything?
I couldn't find a ZIP anywhere. Did you send it via E-Mail?
Logged
ulao
Newbie
*
Posts: 39


View Profile
« Reply #46 on: July 03, 2008, 01:54:47 PM »

Yes, I just resent it.
Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #47 on: July 03, 2008, 03:17:45 PM »

Yes, I just resent it.
Got it!
Logged
ulao
Newbie
*
Posts: 39


View Profile
« Reply #48 on: July 10, 2008, 01:01:58 AM »

Ok I ran it, and it asked for dll after dll after dll. So I just dumped all the dll's in the debug folder.

then I get

Code:
The thread 'Win32 Thread' (0x1528) has exited with code 27983872 (0x1ab0000).
The program '[5396] m64.exe: Native' has exited with code 1 (0x1).

I was wondering, is there a project setting I can set to fix the dll issue. Surly you dont need to dump them in the debug/release folders?
« Last Edit: July 16, 2008, 05:18:27 PM by ulao » Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #49 on: July 25, 2008, 09:21:24 PM »

1. The build target has to match. Use only Debug DLLs with the Debug EXE and the Release DLLs with the Release EXE.

2. Either copy the proper set of DLLs into your project's exe's directory or set the project settings so that the .exe is generated where the DLLs are. You have to decide. Smiley
Logged
ulao
Newbie
*
Posts: 39


View Profile
« Reply #50 on: July 27, 2008, 04:53:29 AM »

Ok I have sorted this out, but I still get this "The thread 'Win32 Thread' (0x2c28) has exited with code 27983872 (0x1ab0000)." ?


log:

// format:
// [processId][logId][threadId] [logLevel] message
[][raf][281c] [information] Initialising application...
[][raf][281c] [information] loading configuration...
[][raf][281c] [error] failed to load raf_common.cfg

I tried to move raf_common.cfg from my samples dirs to my project but I get the same errors. I tried a clean and rebuild crashed the same way.  If I try to put this file in the root of my solution I get this error
"the application had failed to start because luad.dll was not not found" I search for this file and only found the luad.lib in the lua folders, no dll?

« Last Edit: July 28, 2008, 03:27:05 AM by ulao » Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #51 on: September 15, 2008, 05:52:36 PM »

This looks a lot as if a) the dependencies weren't extracted correctly (DLLs in the debug/release directories) and/or b) the start directory for the project has not been set correctly.

Try running the .exe directly from the directory where it exists. Also, make sure that you extracted the correct dependencies package so that the .exe can find all the DLLs it needs.
Logged
ulao
Newbie
*
Posts: 39


View Profile
« Reply #52 on: September 23, 2008, 02:10:50 AM »

 
Quote
the dependencies weren't extracted correctly (DLLs in the debug/release directories) and/or 
Would I not get linked to a missing external error?

Quote
the start directory for the project has not been set correctly.
Seems release looks in the release folder, and debug in the debug. Should be ok..


Well the DLL's for debug generally have _d or D at the end. If I run the exe out side of a directory where the DLL's are naturally I get DLL errors. So it is rather simple to get them in order.

Let me ask a few questions...

a) Do I need to use LUA?

b) Do I need this raf_common.cfg ( it only makes reference to LUA stuff )  ?

c) If I compile without raf_common.cfg in place I get errors that it cant find it, can that be bypassed?

d) Where it the heck does a person find luad.dll. Without an sl file I cant seem to make it.

I think all the dependencies are in order as the app starts to run but reaches a road block at luad.dll. A file that, nearest I cant tell, is impossible to find.


incidentally If I rem out all of the lua stuff in the raf file I get this output [ see attached].


« Last Edit: September 23, 2008, 02:24:09 AM by ulao » 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.063 seconds with 19 queries.