Title: link errors

OK... its driving me bonkers now.  I have been through that page and put in the following...

on my path environment variable...  C:\XalanC++\c\Build\Win32\VC6\Release;C:\XercesC++\bin;........ (I changed the names of the directories).

in visual studio I have the include tab settings as, among other things...
C:\XercesC++\include
C:\XalanC++\c\src\INCLUDE
C:\XalanC++\c\src


and the library tab settings as...
C:\XercesC++\lib


then in the top of my main cpp file and the dialog file I have
#include "TransformTest.h"
#include "TransformTestDlg.h"
#include <Include/PlatformDefinitions.hpp>
#include <xercesc/util/PlatformUtils.hpp>
#include <XalanTransformer/XalanTransformer.hpp>


but as soon as it gets to the line of my program that says
XMLPlatformUtils::Initialize();

I get a link error -
TransformTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __stdcall XMLPlatformUtils::Initialize(void)" ([EMAIL PROTECTED]@@SGXXZ)

Debug/TransformTest.exe : fatal error LNK1120: 1 unresolved externals



Emma Willis
Programmer
Computer Associates
+44 (0)1753 241594
[EMAIL PROTECTED]

Reply via email to