|
LinnSysTray Tutorial
|
|
2011-07-10, 10:09
(This post was last modified: 2011-07-10 10:40 by grim.)
Post: #1
|
|||
|
|||
|
LinnSysTray Tutorial
Has anyone actually got this to build following the tutorial link http://oss.linn.co.uk/trac/wiki/ProgrammingTutorial
When using VS 2008/2010 I just get a bunch of compile errors mostly complaining about OssDidlLite. Can't build that as there is no DidlLite.cs, just some strange (to me) .Kode file containing source and lots of <* *> inclusions, that I don't understand. Am guessing that this runs through some precompiler to generate a .cs?? This "missing .cs" code seems to appear all over the oss solution - solution explorer showing a "generated" folder containing links to non-existent source code. What generates it? The code in LinnSysTrayForm.cs doesn't seem to match anything talked about in the tutorial either. Am wondering if I am barking up some dead tree and if so is there a more up-to-date explanation of how to get started with this? Rather frustrating way to spend a Sunday morning...
|
|||
|
2011-07-10, 11:22
(This post was last modified: 2011-07-10 11:23 by davidd.)
Post: #2
|
|||
|
|||
RE: LinnSysTray Tutorial
(2011-07-10 10:09)grim Wrote: Has anyone actually got this to build following the tutorial link http://oss.linn.co.uk/trac/wiki/ProgrammingTutorial Our control point stack code uses code generation for creating the DidlLite source and the UPnP service's code. If you use SCons this is all handled for you as part of the build process (this is the build system we use internally). If you use the Visual Studio IDE you need to manually generate the auto generated source using the relevant batch file, autogenPcServices.bat for Windows, Linux and MacOsX sources or autogenPocketPcServices.bat for PocketPc sources. Let me know how you get on after performing this step. (2011-07-10 10:09)grim Wrote: The code in LinnSysTrayForm.cs doesn't seem to match anything talked about in the tutorial either. Am wondering if I am barking up some dead tree and if so is there a more up-to-date explanation of how to get started with this? Yes you are right this documentation needs to be brought up to date with the current development state of the source. The SysTray application source is confined to a single source file and has very little code so I am sure you will be able to figure out what is going on even though the documentation does not match up exactly with what is in the source file. However, if you have any questions about the source, please feel free to get back to me. Cheers, David |
|||
|
2011-07-11, 20:44
Post: #3
|
|||
|
|||
|
RE: LinnSysTray Tutorial
Thanks for the quick reply David
I did attempt a scons build and that seemed to fail on DidlLite too. Ive never used scons before though so probably did something wrong. I can follow the SysTray app ok, just struggled to build all the referenced dlls I'll follow your suggestions and have another crack at it Cheers |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help


