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

Re: Visual Studio is having trouble viewing the headers

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Mon, 27 Aug 2012 11:20:49 +0200

Am 25.08.2012 01:54, schrieb Tyler, Michelle:
> I'm writing a simple test program using the Subversion APIs to get
> more familiar with the process of calling the functions and so far I
> haven't been able to compile my code because of errors in the header
> files in the svn-win32-1.7.4.zip package I downloaded. The errors I
> usually get are undefined variable and mission semicolons and missing
> brackets.

I assume you are using C or C++, both of which feature a
macro-replacement feature (called preprocessor) that can totally mess up
the source code it runs over with just a single #define, leading to
incomprehensible errors during the compiler stage. In practice, that
means that

a) without the error messages
b) without the code triggering the faults
c) possibly without the compiler settings

there is little that anyone can do to help you.

In general, for VC, you need to set up the include path so it finds the
header files (I guess you have that part working already). Then, you
need to tell the linker where to find things and perhaps what library to
link, otherwise you get "unresolved symbol" errors while linking. Then,
you need to tell the runtime loader where to find the DLLs, which you
can achieve e.g. via the PATH environment or the current working directory.

Good luck!

Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2012-08-27 11:21:27 CEST

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.