Go Down

Topic: OpenECoSys-NetworkViewer Support for Arduino (Scope Demo) (Read 3 times) previous topic - next topic

Graynomad

#5
Sep 27, 2011, 03:59 am Last Edit: Sep 27, 2011, 06:47 am by Graynomad Reason: 1
Thanks Dominic,

I'm downloading Qt now, this is the second attempt and at 1.4G I've already blown a large portion of my monthly allowance on the first day of the billing period :(

I'm sorry I just don't get this svn.sourceforge stuff, all I see is a directory listing with dozens of files and folders with more files, am I suppose to right-click on them all the "save as"?  There has to be a better way.

I got CMAKE as well, it seems that's required.

The NSIS link is broken but I found it and got that although I'm a long way from needing an installer. At 1.5M I'm not convinced it downloaded the actual install, it may only be an online installer.

WRT the the reading of variables from a target system, as long as you're happy with the occasional non-read I think the semaphore idea is usable. There's almost not overhead on the target code, just set and clear a byte.

My monitor program is only concerned with bytes at present so I don't have to worry about this, but the semaphore is what I'd do when I get back to that project.

Quote
standardized API from the Arduino stack for interrupt disable/enable.

sei() and cli(), but they are already macros that just do the assembly instructions of the same name IIRC.

We're hitting the road today and will be between towns for a few days so I won't have much internet but the Qt download just finished so at least I can play with that while I'm out of touch.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

doumdi

Quote
I'm sorry I just don't get this svn.sourceforge stuff, all I see is a directory listing with dozens of files and folders with more files, am I suppose to right-click on them all the "save as"?  There has to be a better way.


You have to install an SVN client (Subversion) to get the latest revision of the code :

http://tortoisesvn.net/

Quote
sei() and cli(), but they are already macros that just do the assembly instructions of the same name IIRC.


Thanks for the info.

Quote
We're hitting the road today and will be between towns for a few days so I won't have much internet but the Qt download just finished so at least I can play with that while I'm out of touch


Allright, keep me informed of your progress.

Dominic



Dominic L├ętourneau
http://www.openecosys.org

Graynomad

#7
Sep 27, 2011, 03:32 pm Last Edit: Sep 27, 2011, 04:14 pm by Graynomad Reason: 1
We didn't leave today after all, had a slack attach.

Got Qt installed and played with a few demos.

Got TortoiseSVN installed and checked out your code.

Started a new project in Qt Creator and thought I imported all the files because it gave me a huge list, but all I have is a "Hello world" window.

EDIT: I guess hello world is some sort of default it put in because I hadn't added all the files, man I hate learning a new toolchain, but it does look good.

LATER: Slowly getting there, all files included in project but the compiler can't find "QDomDocument", it's in about 30 places but obviously not the right places.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

doumdi

Rob,

Have you installed the MinGW version of Qt? Also, it is important that you modify your PATH so MinGW & Qt bin directories are included.

Opening the CMakeLists.txt file in the NetworkViewer directory should be straightforward to create the project with QtCreator. Also, make sure you use the CMake MinGW generator when creating the project. You might have generated the project for Visual Studio.


Dominic
Dominic L├ętourneau
http://www.openecosys.org

Graynomad

#9
Sep 29, 2011, 04:39 pm Last Edit: Sep 29, 2011, 05:34 pm by Graynomad Reason: 1
Quote
Have you installed the MinGW version of Qt?

I only saw a single download option for the main install.

When looking at the libraries section the text says
Quote
The edition you download here must match the OS you have your development system on.

No mention of the difference between VS and MinW, they are just talking about the OS.

I did however download the MinGW libraries but that was by mistake as I assumed the VS 2008 libs would be what I use as I already use VS.

I haven't installed the MinGW libraries or Cmake yet, so far other stuff (ie the examples) works and I don't like to install stuff I don't need. I assume things are largely working because I already have VS installed.

So are you saying that your prog is compiled with the MinGW libs and needs them and Cmake as well?

Quote
You might have generated the project for Visual Studio.

Given the above I'd say that's what I'm doing.

UPDATE: So I figure what the heck, I'll install the MinGW "Libraries" I downloaded by mistake, except they aren't libraries at all, at least not according to the dialog, it's the open source version of Qt. So if this is the full bottle why did I download 1.4Gs worth of "Qt, the cross-platform application framework" from the top of the downloads page?

No matter, I can install the open source version if it gets me away from a Windows dependancy. But that fails because I don't have MinGW installed of course. Not surprising as I'd never heard of it until yesterday.

To be continued...

:)

>mingw-get install gcc

That appears to work. So the install of the main package should work because it was objecting to the lack of a G++ install.

"The installer could not find a valid C:\MinGW\include\w32api.h, (Only versions with W32IPI.H 3.13 are supported)"

I check my w32api.h file, looks like it's version 3.17. Sod it I'll install anyway.




______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Go Up