Tal's picture

OpenTK source drives me crazy

I use VS 2005 and can't compile OpenTK source code.
So I search a little on this forum, and found that.
So I download the missing file, but I still can't compile it. Errors:
Note: Every thing that in () is in Hebrew(my language) so I translate it.
Error 3 Cryptographic failure while signing assembly 'D:\Program Files\OpenTK\1.0\Source\OpenTK\obj\Release\OpenTK.dll' -- 'Error reading key file 'd:\Program Files\OpenTK\1.0\Source\OpenTK\OpenTK.snk' -- ‏‏(System can''t find the file). ' Project: OpenTK
Error 44 Cryptographic failure while signing assembly 'D:\Program Files\OpenTK\1.0\Source\Build\obj\Release\Build.exe' -- 'Error reading key file 'd:\Program Files\OpenTK\1.0\Source\Build\OpenTK.snk' -- ‏‏(System can''t find the file). ' Project: OpenTK.Build
Error 44 Cryptographic failure while signing assembly 'D:\Program Files\OpenTK\1.0\Source\Build\obj\Release\Build.exe' -- 'Error reading key file 'd:\Program Files\OpenTK\1.0\Source\Build\OpenTK.snk' -- ‏‏למערכת אין אפשרות לאתר את הקובץ שצוין. ' Pרםחקבא: OpenTK.Build
Error 45 The name 'Resources' does not exist in the current context D:\Program Files\OpenTK\1.0\Source\Build\Build.cs Project: OpenTK.Build Lines: 168, 169, 170, 172
I ignored all the warning, exept this one that I think you should see:
Warning 24 The custom tool 'ResXFileCodeGenerator' failed while processing the file 'Properties\Resources.resx'.
I gave here only the errors in OpenTK and OpenTK.Build project, because I think they should be fixed first.
What should I do?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture
  1. Download the source code from SVN: https://opentk.svn.sourceforge.net/svnroot/opentk/branches/1.0
  2. Run Build.exe and type "vs8"
  3. Open OpenTK.sln and hit compile

The rc1 has a few packaging bugs that prevent it from compiling.

Tal's picture

Thanks again! It's buid up fine now. The only errors that still remain are ..\OpenTK\1.0\Source\Examples\Resources\DoxyFile.txt is missing in OpenTK.Examples and The name 'Resources' does not exist in the current context in OpenTK.Build. But the main OpenTK library is what that I realy care right now.
I already used SVN as you told and it has not fix all(maybe only part of that)... The main thing that cause the diffrent is:
"2. Run Build.exe and type "vs8" "
That was the biggest source of the problem(I saw that the project are alrady built in VS 2005).
So thanks for you help and I hope the missing file and "Resources" will be fix too.
About the joystick: I will test it again and told you what is the results in that thread.