Browsing this Thread:
1 Anonymous Users
Compile the library on Visual Studio 2010 |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2007/5/27 17:32 Group:
Registered Users Posts:
4
Level : 1; EXP : 21
HP : 0 / 5 MP : 1 / 95 ![]() |
I am starting with Visual Studio 2010 and want to compile the whole library. Unfortunately I am not able to compile the files without errors and a lot of warnings. Does anybody has experiences with Visual Studio 2010 and DVTk?
Posted on: 2010/10/8 12:39
|
|
Transfer
|
||
Re: Compile the library on Visual Studio 2010 |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2006/10/12 14:45 From Best, Netherlands
Group:
Webmasters Registered Users Core Developers Content Owners Posts:
259
Level : 15; EXP : 5
HP : 0 / 351 MP : 86 / 6791 ![]() |
Question is if this is due to the fact that you use the new Visual Studio 2010 or that it is some other error.
A common issue we have is that there is a space in the path containing the source code root folder. Can you check that? Do you still have Visual Studio 2005, maybe you can use that to verify that it is a 2010 specific issue.
Posted on: 2010/10/27 11:51
|
|
Transfer
|
||
Re: Compile the library on Visual Studio 2010 |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2007/5/27 17:32 Group:
Registered Users Posts:
4
Level : 1; EXP : 21
HP : 0 / 5 MP : 1 / 95 ![]() |
The path contains no spaces and should be therefore no problem for the compiler.
Unfortunately I do not own a Visual Studio 2005. Some of the totally 24 errors I encountered: 1. Fehler 909 Die Assembly "D:\Daten\DICOM\DVTk\DVTk\Source\Assemblies\DVTk Managed Code Adapter\bin\Release\DVTk Managed Code Adapter.dll", auf die verwiesen wird, konnte nicht geladen werden. FileNotFoundException mit der Information "Die Datei oder Assembly "D:\Daten\DICOM\DVTk\DVTk\Source\Assemblies\DVTk Managed Code Adapter\bin\Release\DVTk Managed Code Adapter.dll" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden." wurde aufgefangen. D:\Daten\DICOM\DVTk\DVTk\Source\Assemblies\DVTk Ihe Actors\ResGen DVTk Ihe Actors 2. Fehler 475 error C1083: Datei (Include) kann nicht geöffnet werden: "script_parser.cpp.h": No such file or directory D:\Daten\DICOM\DVTk\DVTk\Source\Libraries\Scripting\script_lexer.l 29 1 Scripting Some of the totally 890 warnings: 1. Warnung 9 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\Daten\DICOM\DVTk\DVTk\Source\Libraries\AttributeGroup\attribute.cpp 750 1 Attribute Group 2. Warnung 36 warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\Daten\DICOM\DVTk\DVTk\Source\Libraries\AttributeGroup\ext_char_set_definition.cpp 1064 1 Attribute Group 3. Fehler 43 error C1083: Datei (Include) kann nicht geöffnet werden: "ext_char_set_parser.cpp.h": No such file or directory D:\Daten\DICOM\DVTk\DVTk\Source\Libraries\AttributeGroup\ext_char_set_lexer.l 30 1 Attribute Group
Posted on: 2010/10/27 21:01
|
|
Transfer
|
||
Re: Compile the library on Visual Studio 2010 |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2006/10/12 14:45 From Best, Netherlands
Group:
Webmasters Registered Users Core Developers Content Owners Posts:
259
Level : 15; EXP : 5
HP : 0 / 351 MP : 86 / 6791 ![]() |
Against which .NET Framework are you trying to compile this. Because of some internal development we will be working on compiling against the .NET 3.5 framework so might run into these same issues.
Posted on: 2010/11/17 9:27
|
|
Transfer
|
||
Re: Compile the library on Visual Studio 2010 |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2007/5/27 17:32 Group:
Registered Users Posts:
4
Level : 1; EXP : 21
HP : 0 / 5 MP : 1 / 95 ![]() |
Because I am a newbie within Visual Studio I changed nothing and tried first with the .NET 3.5 framework. Afterwards I looked around and tried with .NET 2.x but did not succeed.
Posted on: 2010/11/17 19:57
|
|
Transfer
|
||
Re: Compile the library on Visual Studio 2010 |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2007/5/27 17:32 Group:
Registered Users Posts:
4
Level : 1; EXP : 21
HP : 0 / 5 MP : 1 / 95 ![]() |
Sorry, I used the framework shipping with Visual Studio 10, so it's .NET 4.0.
Posted on: 2010/11/18 17:13
|
|
Transfer
|
||
Re: Compile the library on Visual Studio 2010 |
||
|---|---|---|
|
Just popping in
![]()
Joined:
2011/8/24 7:04 From Washington
Group:
Registered Users Posts:
1
Level : 1; EXP : 0
HP : 0 / 0 MP : 0 / 0 ![]() |
Hey this is video where you get how to Compile and configure the library on Visual Studio 2010.
youtube.com/watch?v=XeBhwbRoKvk
Posted on: 2011/8/24 7:21
|
|
|
_________________
SEO Auckland |
||
Transfer
|
||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.





Transfer

