Mick

Mick

  • NA
  • 3
  • 0

Can't figure out my dependencies...

Dec 12 2007 3:03 PM
I have written a program thats over 2,000 lines long (which is only about 40% complete) and I decided it was time to release an internal Alpha to my team.  Well now comes the problem.  I set all of the references in the project tab to copy to local.  I then deleted my Bin/debug directory, and rebuilt my project.  I ran it and it crashed with a weird error.  After a little more investigation, I found that it couldn't find several DLLs...  This was odd enough because I set it to copy my references to local bin directory.  Well anyways, I copy the DLLs to my folder and they work fine.  I then decide, Ok to test it, I will place this project (The bin/debug/ folder) onto my laptop and run it.  My laptop has VS2005 Pro installed (as does my main computer), but I didn't run it through VS, I ran it straight from the Compiled EXE in the folder.  So I put it on my laptop, and it ran perfectly.  So I assume that it will work for distibution.

I give the folder to the team to run it... And they all are getting the same type of error that I got.  Weird.  So I decide, well this is going to need some testing.  So I install several Virtual PC machines and I started testing on the XP MCE one that I installed.  I installed .NET framework 2.0 Redistributable, then copied the folder over and ran it and I get an error.  I recompiled my project on my computer to include an exception handler for the exception that it was facing, and I got the error:  java.lang.UnsatisfiedLinkError: org/tigris/subversion/javahl/SVNClient.initNative()V.

I think at this point, I should mention that I am using this Library:  http://sdesmedt.wordpress.com/2006/12/21/how-to-access-subversion-from-c/

I don't think that this should matter... I mean this method works PERFECTLY on my two machines, like the library does everything its supposed to, its just that I must be missing some kind of a dependency that I have on my two computers... I just cant figure out what it is.  I have used ProcessExplorer to find out what DLLs are being loaded, but it is difficult to see what is what, because I am developing (targetting an X86 processor) from an x64 processor, so when my app loads on my computer it loads all of these SysWow64 dlls, and I can't figure out which ones are supposed to go where...

I could really use some help on trying to figure out what I need to install/place on my test computer to get it to work.  Please any help at all.

Answers (1)