This has nothing to do with Alchemi.
On 3/31/07, hanumanth rao <[EMAIL PROTECTED]> wrote:
Hi All,
I have written a c# program which builds the vc++ project.This c# program
I am submiting to Alchemi Manager.Using process class in C# I am opening
devenv and building the vc++ project.
Here the compilation means obj files are creating successfully.. But in
linking it is failing.
The code I have written for buiding is
public override void Start()
{
Process BuildProcess = new System.Diagnostics.Process ();
try
{
BuildProcess.EnableRaisingEvents =
false;
BuildProcess.StartInfo.UseShellExecute =
false;
BuildProcess.StartInfo.FileName =
@"C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\devenv.exe";
BuildProcess.StartInfo.Arguments =
"/rebuild debug " + Path;
BuildProcess.StartInfo.WorkingDirectory = localDirectory;
BuildProcess.StartInfo.RedirectStandardError =
true;
BuildProcess.StartInfo.RedirectStandardOutput =
true;
BuildProcess.Start();
BuildProcess.WaitForExit();
}
catch
{
Console.WriteLine("Error! " + BuildProcess.StandardError.ReadToEnd());
BuildProcess.StandardError.Close();
}
}
Here for path and localDirectory I am passing the project path and project
Directory resply.
The link error I am getting is
Event.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall KVariant::~KVariant.......
And the Build log I am getting is
Compiling...
Event.cpp
Linking...
Creating library ..\..\..\lib\Debug\KEventD.lib and object
..\..\..\lib\Debug\KEventD.exp
Event.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall KVariant::~KVariant(void)"
(__imp_??1KVariant@@ [EMAIL PROTECTED]) referenced in function "public: virtual
__thiscall KEvent::~KEvent(void)" (??1KEvent@@[EMAIL PROTECTED])
Event.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
KTimestamp::~KTimestamp(void)" (__imp_??1KTimestamp@@ [EMAIL PROTECTED])
referenced
in function "public: virtual __thiscall KEvent::~KEvent(void)" (??1KEvent@@
[EMAIL PROTECTED])
Event.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall KVariant::KVariant(void)"
(__imp_??0KVariant@@ [EMAIL PROTECTED]) referenced in function "public:
__thiscall
KEvent::KEvent(void)" (??0KEvent@@[EMAIL PROTECTED])
Can anyone help me how can I overcome these errors.
Thanks
--Hanumanth
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users