You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jeff Saremi <je...@yahoo.com> on 2008/11/25 01:17:04 UTC
Need Help with Building and Running a Simple App Based on SVN Client
I'm writing a littleĀ gui app on Windows as the subversion client. Initially just to establish a context with the SVN client.
I downloaded and referenced a set of libraries which were available as Windows download. (svn-win32-1.5.4).
Referenced the include files. Fine.
References the lib files. Got it to eventually with a few tries. I didn't quite understand the difference between libxxx's and the ones with no lib at the beginning.
Anyway. The executable got created. Tried to run: Cannot find svn_client-1.dll
SO i researched and realized the guys in subversionsharp created a dll using a hack.
I used the same hack. created a new dll. Got my own project to compile using the newly generated dll/lib.
Started to run: cannot find libsvn_subr-d1.dll
SO i said to myself i've got to go it the long way.
Downloaded the whole subversion source.
Read the INSTALL for a few hours.
Download dependencies.
Tried it a few time. No successful compilation. Period.
Does anyone know a way, without having to spend another 5-10 days compiling the dreaded subversion/apr and all that from the beginning, to get the LIB files in the package (svn-win32-1.5.4) to work? If so please let me know.
thanks
jeff
Re: Need Help with Building and Running a Simple App Based on SVN Client
Posted by "D.J. Heap" <dj...@gmail.com>.
On Mon, Nov 24, 2008 at 6:17 PM, Jeff Saremi <je...@yahoo.com> wrote:
> I'm writing a little gui app on Windows as the subversion client. Initially
> just to establish a context with the SVN client.
[snip]
Are you trying to build a completely static binary with no dll
dependencies? If so, you'll pretty much have to build everything
yourself which is not easy, but certainly not impossible. It is made
more difficult by the fact that very few people do it so there is less
info about it.
If you don't mind deploying the Subversion and support dll's with your
app (or requiring an existing installation your app can rely on for
support dlls), it is quite easy to use the existing binary package --
include the headers, link to the import libraries (libsvn_*.lib) and
deploy the dll's along with your app.
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Need Help with Building and Running a Simple App Based on SVN Client
Posted by David Weintraub <qa...@gmail.com>.
I don't know if anyone on this list can help you. This is mainly a
user's list (although I am sure there are several developers here
too).
I know that the Subversion developer list bats around questions about
client development too. So, you might want to take a look at the
Subversion Developer's list.
You may also want to download not the Subversion source (which
includes client and server stuff), but take a look at the various
Subversion clients that are out and about. These will contain client
only code, so their structure might be a bit clearer. They will at
least give you an idea on how to communicate with the Subversion API.
For a list of Subversion clients, take a look at
<http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients> in
Wikipedia. By taking a look at one of the open source projects' client
source, you might be able to figure out the best way to write your own
client.
Some of these clients may depend upon VisualStudio in order to
compile, and some may require open source development projects like
GCC and its supporting libraries.
--
David Weintraub
qazwart@gmail.com
On Mon, Nov 24, 2008 at 8:17 PM, Jeff Saremi <je...@yahoo.com> wrote:
> I'm writing a little gui app on Windows as the subversion client. Initially
> just to establish a context with the SVN client.
> I downloaded and referenced a set of libraries which were available as
> Windows download. (svn-win32-1.5.4).
> Referenced the include files. Fine.
> References the lib files. Got it to eventually with a few tries. I didn't
> quite understand the difference between libxxx's and the ones with no lib at
> the beginning.
> Anyway. The executable got created. Tried to run: Cannot find
> svn_client-1.dll
> SO i researched and realized the guys in subversionsharp created a dll using
> a hack.
> I used the same hack. created a new dll. Got my own project to compile using
> the newly generated dll/lib.
> Started to run: cannot find libsvn_subr-d1.dll
> SO i said to myself i've got to go it the long way.
> Downloaded the whole subversion source.
> Read the INSTALL for a few hours.
> Download dependencies.
> Tried it a few time. No successful compilation. Period.
> Does anyone know a way, without having to spend another 5-10 days compiling
> the dreaded subversion/apr and all that from the beginning, to get the LIB
> files in the package (svn-win32-1.5.4) to work? If so please let me know.
> thanks
> jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org