Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Can't build examples
Re: Can't build examples [message #25883 is a reply to message #25881] Wed, 17 March 2010 16:37 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Have you tried it after installing the Win 7 SDK?

I have not tried Upp with MINGW but with other apps the version
of MINGW was important.

With 2232 the few examples I tried worked OK with the Win 7 SDK.
One of my apps works fine with 2230 but 2232 gives errors.

Which build of Upp are you using and do any of the examples you have tried work?
C:\upp\uppsrc\Core\App.cpp:457: error: `SHGFP_TYPE_CURRENT' was not declared in this scope
C:\upp\uppsrc\Core\App.cpp: In function `Upp::String Upp::GetDocumentsFolder()':
C:\upp\uppsrc\Core\App.cpp:468: error: `CSIDL_MYDOCUMENTS' was not declared in this scope
In file included from C:/upp/out/Core/MINGW.Debug.Debug_full.Gui\$blitz.cpp:435:
C:\upp\uppsrc\Core\Win32Util.cpp: In function `void* Upp::GetDllFn(const char*, const char*)':
C:\upp\uppsrc\Core\Win32Util.cpp:172: error: invalid conversion from `int (*)()' to `void*'

error: `SHGFP_TYPE_CURRENT' was not declared in this scope
error: `CSIDL_MYDOCUMENTS' was not declared in this scope
error: invalid conversion from `int (*)()' to `void*'
These 3 seem strange for an example that comes with Upp.

[Updated on: Wed, 17 March 2010 16:56]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Questions about VectorMap
Next Topic: new
Goto Forum:
  


Current Time: Thu May 16 07:31:31 CEST 2024

Total time taken to generate the page: 0.03076 seconds