Hanumanth,
Sorry to be so frank, but this is just crazy! The .net sdk has command
line compilers - you don't even need Visual Studio at all!
Additionally, the error you are having is a common c++ linker error. I
suggest that you search google for c++ errors first (It probably
doesn't compile if you run it yourself, so alchemi is not going to
miraculously change that!). So please work out those errors, learn how
to compile a project on the command line (redirecting errors to an
appropriate file), and then we will be able to help you get alchemi to
gridify your app.
Cheers
Anton
See these two microsoft pages to get you started...
http://support.microsoft.com/kb/304655
http://msdn2.microsoft.com/en-us/library/ms172492.aspx

On 31/03/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

Reply via email to