|
|
Home » Community » Newbie corner » Can't build examples
Can't build examples [message #25881] |
Wed, 17 March 2010 15:49 |
Steve
Messages: 1 Registered: March 2010
|
Junior Member |
|
|
Hello
I have just installed Ultimate++ (XP & MINGW) and I've tried to build some of the included examples but I just get errors such as this:
Quote: | ----- CtrlLib ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (1 / 9)
----- CtrlCore ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (2 / 9)
----- Draw ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (3 / 9)
----- plugin/bmp ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (4 / 9)
----- RichText ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (5 / 9)
----- Core ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (6 / 9)
BLITZ: Cpu.cpp Mt.cpp sheap.cpp String.cpp WString.cpp StrUtil.cpp CharSet.cpp Bom.cpp Path.cpp NetNode.cpp App.cpp Stream.cpp BlockStream.cpp Log.cpp Debug.cpp Util.cpp mathutil.cpp Random.cpp LocalProcess.cpp Vcont.cpp Hash.cpp Callback.c
pp TimeDate.cpp Value.cpp Format.cpp Convert.cpp Color.cpp Gtypes.cpp t.cpp Lang.cpp LangInfo.cpp parser.cpp XML.cpp Xmlize.cpp Uuid.cpp Ptr.cpp z.cpp Topic.cpp CoWork.cpp MD5.cpp SHA1.cpp Dli.cpp Win32Util.cpp
----- plugin/z ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (7 / 9)
----- plugin/png ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (8 / 9)
----- Bombs ( GUI MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (9 / 9)
In file included from C:/upp/out/Core/MINGW.Debug.Debug_full.Gui\$blitz.cpp:94:
C:\upp\uppsrc\Core\App.cpp: In function `Upp::String Upp::GetShellFolder(int)':
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*'
Core: 43 file(s) built in (0:02.84), 66 msecs / file, duration = 2859 msecs, parallelization 0%
There were errors. (0:03.00)
|
Would somebody please tell me where I'm going wrong?
Thanks
Steve
|
|
|
Re: Can't build examples [message #25883 is a reply to message #25881] |
Wed, 17 March 2010 16:37 |
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
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Mon Jun 03 23:36:56 CEST 2024
Total time taken to generate the page: 0.02137 seconds
|
|
|