[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Help Compiling Subversion Under Win32

From: Porter Schermerhorn <pschermerhorn_at_oneil.com>
Date: 2003-11-04 22:31:58 CET

Greetings. I am attempting to compile the Perl SWIG bindings for
Subversion in Visual Studio .NET 2003. In doing so I have come across a
number of problems. Most of them involved the VS .NET project files
generated by gen_make.py not having the proper project dependencies,
which I managed to correct. Now I have reached the point where I am
trying to compile the swig_perl_delta project. VS .NET complains that
it cannot find 'delta_editor.hi'. Looking at the Makefile.PL in
subversion/bindings/swig/perl I noticed that it runs a Perl script
called h2i.pl in this fashion:

 perl h2i.pl ../../../include/svn_delta.h svn_delta_editor_t >
delta_editor.hi

I did this by hand and then copied delta_editor.hi up one directory
level so that VS .NET could find it. Now VS .NET is complaining:

subversion\bindings\swig\perl\svn_delta.c(631) : error C2010: '.' :
unexpected in macro formal parameter list
subversion\bindings\swig\perl\svn_delta.c(631) : error C2010: '.' :
unexpected in macro formal parameter list
subversion\bindings\swig\perl\svn_delta.c(631) : error C2010: '.' :
unexpected in macro formal parameter list
subversion\bindings\swig\perl\svn_delta.c(631) : error C2010: ')' :
unexpected in macro formal parameter list

Is it illegal to use variable arguments for macros in Visual C? Or does
the problem lie elsewhere and the compiler is just getting confused?

Any light any could shed on this build process would be greatly
appreciated. This is my first time using Visual Studio, it is required
that I access Subversion via Perl on the Windows platform for work.
What version of Visual Studio is Subversion targeted at? I noticed
after I generated the VS .NET project files with gen_make.py that my
copy of Visual Studio had to convert some of the project files. I am
using Visual Studio .NET 2003: Microsoft Development Environment 2003
v7.1.3088 and Microsoft .NET Framework 1.1 v1.1.4322.

As a side note I've also tried building in Visual Studio 6 SP5 using the
dsp target of gen_make.py. However, the source was attempting to use
constants which are not defined in the VC98 SHLOBJ.H. Since I found
these constants defined in the VC7 ShlObj.h I am assuming that
Subversion is not meant to be compiled under Visual Studio 6? If this
is the case it might be wise to indicate that the dsp target of
gen_make.py is deprecated.

Thank you for any help you can give.

Sincerely,
Porter Schermerhorn
Lead Web Application Engineer

O'NEIL & ASSOCIATES, INC.
495 Byers Rd.
Miamisburg, Ohio 45342-3662
Phone: (937) 865-0846 ext. 3813
Fax: (937) 865-5858
E-mail: pschermerhorn@oneil.com

Confidentiality Notice
The information contained in this e-mail is confidential and intended for use only by the person(s) or organization listed in the address. If you have received this communication in error, please contact the sender at O'Neil & Associates, Inc., immediately. Any copying, dissemination, or distribution of this communication, other than by the intended recipient, is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 4 23:06:29 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.