Re: Developers/Programmers Needed! Let's create a stopmotion program!

"unable to load library 'EDSDK/dll/EDSDK.dll': "

That was the problem aquamorph had, can you make sure the file is there.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Caveman Incorporated wrote:

I apologize for my sudden absence, like CyberCorn

The boss is CyberCom, to you, sir... mini/tongue

My life goes by 24fps.
Another free stopmotion program? Possibly! View here! http://www.bricksinmotion.com/forums/po … 6/#p274396

Re: Developers/Programmers Needed! Let's create a stopmotion program!

It is there, though I don't see it in NetBeans (I'm clearly quite incompetent).
CyberCom - That was a hilariously tragic mistake, and I apologize mini/smile

EDIT: I found the directory, and changed the directory in NetBenas to be  .../DLL/... rather than .../dll/... as it was coded, should I just change the directory name to be dll rather than DLL to leave the program intact?

EDIT: It gives the same problem as before. The directory is not a problem, and the file is there. I'll try re-downloading it.

EDIT: It was not a corrupt file, as the problem stands.

Last edited by Caveman Incorporated (March 13, 2013 (06:39am))

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Alright mac doesn't use DLL's they use .framework files, talking to canon right now about getting .framework files.

EDIT got them I'm going to push them to the repository as soon as possible, however you will have to add some Mac specific code so you or tenny1028 should create a new repository call it something like "Stop-Motion-Program-Mac" just make sure people know it's mac.

Last edited by cwstudios (March 13, 2013 (10:57am))

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Ok. Sounds great. Let me know when and where to get it mini/smile

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

It's in the repository under CAVEMAN-TENNY. Some things that you need to do to get this mac ready is.

1. change all occurences of StdCallCallback (StdCallbackLibrary) to Callback (Library) you can use ctrl-f to find all of them.
2. remove all reference to windows api’s. should be easy to find because they make your app crash when you launch
3. remove the dispatch message calls (peekMessage/dispatchMessage/translateMessage)
4. copy the edsdk framework to /Library/Frameworks or /System/Library/Frameworks
5. you’ll have to fiddle with the library loading a bit. it’s inside CanonCamera (i think)
6. if you would like to use callbacks (e.g. for downloading images) make sure to have some awt window open. calling

new Frame().dispose();

seems to be enough to get the nsapplication loop going.

7. before you run anything you need to add

-d32

To the JVM arguments to force 32bit mode. The canon edsdk isn’t 64bit mode yet for Mac it's developmental on windows according to them. Make sure you DO NOT push these changes to the windows version repo I can make a new one for mac or you can make it.

Last edited by cwstudios (March 13, 2013 (02:36pm))

Re: Developers/Programmers Needed! Let's create a stopmotion program!

What is the significance of the parenthesis in step one?
Also, I am getting an error on the GitHub website, so can you post another link of the webpage where the files are loaded?

EDIT: Parenthesis resolved. mini/smile

EDIT: Step two. These ones?
http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/ScreenShot2013-03-12at90626PM_zpsb1289fdf.png

Last edited by Caveman Incorporated (March 13, 2013 (02:57pm))

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Only CanonCamera.java line 55

Re: Developers/Programmers Needed! Let's create a stopmotion program!

This one, am I correct?
http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/ScreenShot2013-03-13at30138PM_zpse909e8f7.png

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

yes.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

What do I do for step 3?

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

CanonCamera.java line 187 to 193 I believe and anything that errors out.

EDIT Sorry, it's 189-193.

Last edited by cwstudios (March 13, 2013 (03:16pm))

Re: Developers/Programmers Needed! Let's create a stopmotion program!

This?
http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/ScreenShot2013-03-13at31658PM_zps79cad832.png

subtract the top two liines?

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Correct

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Inside or outside of NetBeans for step 4?

i.e.
http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/ScreenShot2013-03-13at32039PM_zpsd41413a8.png

or

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/ScreenShot2013-03-13at32023PM_zps27f3887a.png

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

outside of netbeans.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Sorry for the questions, I just want to get this right.
Paste it here?
http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/ScreenShot2013-03-13at32618PM_zps386a32b8.png

Last edited by Caveman Incorporated (March 13, 2013 (03:33pm))

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Yeah that's the correct one. No problem I'd rather it be right also.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Fiddling, as in what?
Also, where do I put the new Frame().dispose();? In the awt window? If so, which window is that?

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Also, I need a link to the Canon framework files, as I accidentally pasted the DLL's.
Sorry for the double post mini/dizzy

http://i1302.photobucket.com/albums/ag121/CavemanIncorporated/BiM_Sig_Monkey_zpse6d51622.jpg