|
|
Home » Developing U++ » UppHub » sysinfo gets error
Re: sysinfo gets error [message #34712 is a reply to message #34710] |
Wed, 07 December 2011 00:54   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
OK, as could be predicted, its not you it's me
I just built the SysInfo_demo_gui and it works fine. I added my geotiff package to it and it still appears to work fine.
No idea what I am doing wrong in my own software.
Nick
EDIT: OK, the SysInfo package likes to get included first. It is a very important package and so should come straight after
#include <CtrlLib/CtrlLib.h>
#include <GridCtrl/GridCtrl.h>
So now I can compile with MSC10 but not MSC10x64. In MSC10x64 I get
----- SysInfo ( GUI MT OCOE PRO MSC10X64 FORCE_SPEED WIN32 MSC ) (14 / 29)
SysInfo.cpp
C:\upp\bazaar\Functions4U/Functions4U.h(297) : warning C4267: '+=' : conversion from 'size_t' to 'int', possible loss of data
C:\upp\bazaar\SysInfo\SysInfo.cpp(646) : error C2065: 'GWL_HINSTANCE' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(660) : warning C4244: 'initializing' : conversion from 'LRESULT' to 'int', possible loss of data
C:\upp\bazaar\SysInfo\SysInfo.cpp(1607) : error C4235: nonstandard extension used : '_asm' keyword not supported on this architecture
C:\upp\bazaar\SysInfo\SysInfo.cpp(1608) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
C:\upp\bazaar\SysInfo\SysInfo.cpp(1608) : error C2065: '_emit' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1608) : error C2143: syntax error : missing ';' before 'constant'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1609) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
C:\upp\bazaar\SysInfo\SysInfo.cpp(1609) : error C2146: syntax error : missing ';' before identifier '_emit'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1609) : error C2065: '_emit' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1609) : error C2143: syntax error : missing ';' before 'constant'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1610) : error C2146: syntax error : missing ';' before identifier 'mov'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1610) : error C2065: 'mov' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1610) : error C2146: syntax error : missing ';' before identifier 'DWORD'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1610) : error C2146: syntax error : missing ';' before identifier 'PTR'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1610) : error C2275: 'DWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\windef.h(152) : see declaration of 'DWORD'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1610) : error C2065: 'PTR' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1610) : error C2146: syntax error : missing ';' before identifier 'start'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1611) : error C2065: 'eax' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1611) : error C2146: syntax error : missing ';' before identifier 'mov'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1611) : error C2065: 'mov' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1611) : error C2146: syntax error : missing ';' before identifier 'DWORD'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1611) : error C2146: syntax error : missing ';' before identifier 'PTR'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1611) : error C2275: 'DWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\windef.h(152) : see declaration of 'DWORD'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1611) : error C2065: 'PTR' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1612) : error C2065: 'edx' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1612) : error C2143: syntax error : missing ';' before '}'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1616) : error C4235: nonstandard extension used : '_asm' keyword not supported on this architecture
C:\upp\bazaar\SysInfo\SysInfo.cpp(1617) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
C:\upp\bazaar\SysInfo\SysInfo.cpp(1617) : error C2065: '_emit' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1617) : error C2143: syntax error : missing ';' before 'constant'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1618) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
C:\upp\bazaar\SysInfo\SysInfo.cpp(1618) : error C2146: syntax error : missing ';' before identifier '_emit'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1618) : error C2065: '_emit' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1618) : error C2143: syntax error : missing ';' before 'constant'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1619) : error C2146: syntax error : missing ';' before identifier 'mov'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1619) : error C2065: 'mov' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1619) : error C2146: syntax error : missing ';' before identifier 'DWORD'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1619) : error C2146: syntax error : missing ';' before identifier 'PTR'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1619) : error C2275: 'DWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\windef.h(152) : see declaration of 'DWORD'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1619) : error C2065: 'PTR' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1619) : error C2146: syntax error : missing ';' before identifier 'end'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1620) : error C2065: 'eax' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1620) : error C2146: syntax error : missing ';' before identifier 'mov'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1620) : error C2065: 'mov' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1620) : error C2146: syntax error : missing ';' before identifier 'DWORD'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1620) : error C2146: syntax error : missing ';' before identifier 'PTR'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1620) : error C2275: 'DWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\windef.h(152) : see declaration of 'DWORD'
C:\upp\bazaar\SysInfo\SysInfo.cpp(1620) : error C2065: 'PTR' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1621) : error C2065: 'edx' : undeclared identifier
C:\upp\bazaar\SysInfo\SysInfo.cpp(1621) : error C2143: syntax error : missing ';' before '}'
Does this mean anything to you?
I also get this with MSC9x64 and I also get it when I compile SysInfo_demo_gui.
I can setup a machine with Windows 7 x64, UPP 4193 and MSC10 and MSC10x64 for you to test on here through remote access if you're up for it. Let me know by email and I can send you the login etc.
Nick
EDIT tried SDKs 6.1, 7.0 and 7.1 all with same result
For now I have had to comment out the bodies of GetWindowsList() and GetCpuSpeed(). I don't need these functions anyway so not a problem for now.
[Updated on: Wed, 07 December 2011 02:12] Report message to a moderator
|
|
|
 |
 |
sysinfo gets error
By: silverx on Tue, 24 May 2011 15:31
|
 |
|
Re: sysinfo gets error
By: koldo on Tue, 24 May 2011 17:38
|
 |
|
Re: sysinfo gets error
By: silverx on Tue, 24 May 2011 17:58
|
 |
|
Re: sysinfo gets error
By: koldo on Tue, 24 May 2011 22:36
|
 |
|
Re: sysinfo gets error
By: tojocky on Wed, 25 May 2011 10:01
|
 |
|
Re: sysinfo gets error
By: silverx on Thu, 26 May 2011 13:08
|
 |
|
Re: sysinfo gets error
By: koldo on Fri, 27 May 2011 09:03
|
 |
|
Re: sysinfo gets error
By: tojocky on Fri, 27 May 2011 15:40
|
 |
|
Re: sysinfo gets error
By: koldo on Mon, 30 May 2011 08:17
|
 |
|
Re: sysinfo gets error
By: koldo on Mon, 30 May 2011 14:14
|
 |
|
Re: sysinfo gets error
By: tojocky on Mon, 30 May 2011 16:17
|
 |
|
Re: sysinfo gets error
By: koldo on Mon, 30 May 2011 21:25
|
 |
|
Re: sysinfo gets error
|
 |
|
Re: sysinfo gets error
By: koldo on Tue, 06 December 2011 23:35
|
 |
|
Re: sysinfo gets error
|
 |
 |
Re: sysinfo gets error
|
 |
|
Re: sysinfo gets error
By: Tom1 on Wed, 07 December 2011 11:09
|
 |
|
Re: sysinfo gets error
By: koldo on Thu, 08 December 2011 01:08
|
 |
|
Re: sysinfo gets error
By: Tom1 on Thu, 08 December 2011 12:18
|
 |
|
Re: sysinfo gets error
By: koldo on Thu, 08 December 2011 18:49
|
 |
|
Re: sysinfo gets error
By: Tom1 on Thu, 08 December 2011 20:24
|
 |
|
Re: sysinfo gets error
By: koldo on Thu, 08 December 2011 20:47
|
 |
|
Re: sysinfo gets error
|
 |
|
Re: sysinfo gets error
By: peek on Fri, 09 December 2011 14:53
|
Goto Forum:
Current Time: Tue Apr 29 23:17:46 CEST 2025
Total time taken to generate the page: 0.00605 seconds
|
|
|