John-Ed
 Advanced Member Posts:41
 |
| 2011-02-17 03:17 AM |
|
Thanks for keeping up with me. I am still trying to recompile the sdk. Now I cannot open the clearcanvas.imageviewer.csproj file in imagviewer.sln. There are several other projects that are not opening as well. I am waiting for the help and suggestions. Any help will be greatly appriciated. Thanks. |
|
|
|
|
postb99
 Senior Member Posts:162
 |
| 2011-02-17 03:34 AM |
|
Hi, The error log is very instructive. You have to correct them one by one, starting from first one then recompile. "Error 5 'Action' is an ambiguous reference between 'System.Action' and 'ClearCanvas.Desktop.Actions.Action' C:\Downloads\Dicom code\ImageViewer\Utilities\StudyFilters\AutoFilters\Actions\CompareFilterMenuAction.cs 26 41 ClearCanvas.ImageViewer.Utilities.StudyFilters" You have to use the appropriate "using" instruction (in this case it is 'ClearCanvas.Desktop.Actions.Action') in the CompareFilterMenuAction.cs file. I had this "error" too. It's an IDE more strict check that causes this error. |
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-17 05:45 AM |
|
Do you think it is a Visual Studio issue? I am thinking of compiling the imageviewer in Visual Studio 2008 in which it is made. In Visual Studio 2010 there is a conversion problem. All the projects don't convert properly and give errors. Some of the projects like ClearCanvas.Imageviewer don't load. Will it compile properly in Visual Studio 2008? |
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-17 05:45 AM |
|
sorry I re-posted here, so I removed the post.. |
|
|
|
|
postb99
 Senior Member Posts:162
 |
| 2011-02-17 05:57 AM |
|
Yes it is a minor VS 2010 issue. C# code of ClearCanvas will succeed in compiling in VS 2010 at the price of some modifications as I did and you started to do. I bet you're close to getting it compile fully now. PS : ClearCanvas team uses VS 2008 for now. C++ code related to codecs doesn't compile in VS 2010 (I tried and opened a thread about it) so if you want to recompile everything you have to have both versions of IDE... |
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-19 02:18 AM |
|
Hi! Thanks for the advice. I am trying to compile it in VS 2008. But still several of the projects could not be loaded. Did you come across this issue? The errors are also there. I have a new error log now. Now I just have to view the errors and see if they are easier to remove now. Most of the errors refer to the methods that are within the clear canvas libraries. The problem is that I don't know the exact syntax to re-write the code, since it is specific to Clear Canvas. Any help is appreciated.
Edit: I viewed the error list. There are warnings mostly about the references. View my error log in the post below.
Edit: I removed the warnings. There is a new error log in the last post. You should look at that. Thanks. |
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-19 02:22 AM |
|
Also this message is appearing at the start, when I load the project in VS 2008:- Unable to read the project file 'ClearCanavs.ImageViewer.csproj', c:\ImagViewer\ClearCanvas.ImageViewer.csproj(843,11): The imported project "c:\imageViewer\Common\ClearCanvas.Strings.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. I can't seem to find the file ClearCanvas.Strings.targets. Is it included in the trunk. Thanks. |
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-19 03:23 AM |
|
Okay here is the list of projects that are missing in my solution:-
ClearCanvas.Common
ClearCanvas.Controls.WinForms
ClearCanvas.Desktop
ClearCanvas.Desktop.Executable
ClearCanvas.Desktop.Explorer
ClearCanvas.Desktop.Explorer.View.WinForms
ClearCanvas.Desktop.ExtensionBrowser
ClearCanvas.Desktop.ExtensionBrowser.WinForms
ClearCanvas.Desktop.Help
ClearCanvas.Desktop.Help.UpdateTools
ClearCanvas.Desktop.WinForms
ClearCanvas.Dicom
ClearCanvas.Dicom.DataStore
ClearCanvas.Enterprise.Common
ClearCanvas.Enterprise.Desktop
ClearCanvas.Enterprise.View.Winforms
ClearCanvas.Executable
ClearCanvas.ImageViewer
ClearCanvas.ImageViewer.DesktopServices
ClearCanvas.ImageViewer.Explorer.Local
ClearCanvas.ImageViewer.Layout.Basic
ClearCanvas.ImageViewer.StudyFinders.LocalDataStore
ClearCanvas.ImageViewer.StudyFinders.Remote
ClearCanvas.ImageViewer.StudyLoader.LocalDataStore
ClearCanvas.ImageViewer.Tools.Measurement
ClearCanvas.ImageViewer.View.Winforms
ClearCanvas.ImageViewer.Volume.Mpr
ClearCanvas.Server.ShredHost
ClearCanvas.Server.ShredHostService
ClearCanvas.Utilities.DicomEditor
ClearCanvas.Utilities.DicomEditor.View.Winforms
ClearCanvas.Utilities.Manifest
I guess some of them are not downloaded from trunk. Maybe, a faulty download. I tried searching for some they were not in the trunk. I have attached my new error log with this message. |
Attachment: 001_error_log.txt
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-19 06:11 AM |
|
I removed all the warnings in the above error log. Now there are around 87 errors that are in the code. I hope they can be easily removed. Again I would like any help in removing the errors. I have included a new error log. |
Attachment: 002_001_error_log.txt
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-21 02:22 AM |
|
I have tried removing the above errors but I think the real issue is with the Clear Canvas SDK 2.0 libraries. The methods included in them are not compatible with the code written for the imageviewer. The image viewer code tries to access the methods that were in the older library. So even after updating the projects with the new libraries, the code still remains old and it trys to use older methods in previous library. That are not present in the SDK 2.0. Can any one guide me which library was used to make the image viewer code. I will try including it in the project. Although I have found a previous version of SDK, I guess I will start from there and see if it works. Any help will be appreciated. Thanks. |
|
|
|
|
postb99
 Senior Member Posts:162
 |
| 2011-02-21 02:54 AM |
|
Hi, Sorry for the doubt here : the code you're compiling is either trunk or 2.0 SP1 svn tag, right ? You're not trying to mix 2.0 SP1 SDK and svn trunk code ?
|
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-21 02:56 AM |
|
Hello Barbara, I need some clear guidence on recompiling the Clear Canvas library. It will be a big help, if you can provide some guidence on more frequent basis. I really need some help on this project. So if you can provide any assistence directly like through email or some other means of communication, it will make a big difference for me. Thanks and take care.
John |
|
|
|
|
John-Ed
 Advanced Member Posts:41
 |
| 2011-02-21 02:58 AM |
|
I have downloaded the SDK 2.0 from downloads section of the (clearcanvas.ca) this website. Is there some different SDK that I need to download from the trunk?
Edit: Okay I guess, now I understand. I need to download the trunk code that has 2.0 SP1 svn tag. Thanks for the suggestion. I'll download it now.
Edit: Still searching.... |
|
|
|
|
postb99
 Senior Member Posts:162
 |
| 2011-02-21 06:39 AM |
|
Hi, I didn't find how to send you a private message via the forum to give you my e-mail addresse. Here are the two usable SVN urls : 2.0 SP1 : svn://svn.clearcanvas.ca/source/Xian/Tags/RisViewer2.0SP1 Trunk/HEAD (code which changes every day) : svn://svn.clearcanvas.ca/source/Xian/Trunk PS : remember that forum topics followup doesn't resend an e-mail when editing a message but it's not a problem for now for minor edits as you did so as not to flood subscribed people ;) |
|
|
|
|
rajkumar
 New Member Posts:2
 |
| 2012-04-19 02:24 AM |
|
please Help me i am new clear canvas how to install sdk in own machine i donot know please help me |
|
|
|
|
stewart
 Senior Member Posts:2128
 |
| 2012-04-19 09:03 AM |
|
The 2.0 SP1 SDK is a downloadable installer available via our downloads page. Once you install it, there is a "Developer's Guide" help file that you can access via your Windows Start Menu. It has a lot of information to get you started writing plugins for ClearCanvas. |
|
| Real-time support available to Clinical Edition and Team Edition customers |
|
|