Home » Community » Newbie corner » Errors during compiling the examples
() 1 Vote
Errors during compiling the examples [message #42086] |
Tue, 18 February 2014 16:25 |
Yeti86
Messages: 10 Registered: February 2014
|
Promising Member |
|
|
Hello everybody,
I'm new to GUI programming and Ultimate++.
#include <CtrlLib/CtrlLib.h>
//#define _WIN32_WINNT 0x501
using namespace std;
using namespace Upp;
GUI_APP_MAIN {
PromptOK("Hello world");
}
I tried at first to compile the examples. Unfortunately I get errors in the example above:
D:\upp\uppsrc\Core\Socket.cpp: In function 'int Upp::sGetAddrInfo(const char*, const char*, addrinfo**)':
D:\upp\uppsrc\Core\Socket.cpp:44:47: error: 'getaddrinfo' was not declared in this scope
return getaddrinfo(host, port, &hints, result);
^
D:\upp\uppsrc\Core\Socket.cpp: In static member function 'static DWORD Upp::IpAddrInfo::Thread(void*)':
D:\upp\uppsrc\Core\Socket.cpp:65:24: error: 'freeaddrinfo' was not declared in this scope
freeaddrinfo(result);
I'm compiling with MinGW. What do I have to do?
Regards
Marco
|
|
|
|
|
Errors during compiling the examples
By: Yeti86 on Tue, 18 February 2014 16:25
|
|
|
Re: Errors during compiling the examples
By: BioBytes on Tue, 18 February 2014 17:35
|
|
|
Re: Errors during compiling the examples
By: Yeti86 on Tue, 18 February 2014 18:18
|
|
|
Re: Errors during compiling the examples
By: Oblivion on Tue, 18 February 2014 18:44
|
|
|
Re: Errors during compiling the examples
By: Yeti86 on Tue, 18 February 2014 20:06
|
|
|
Re: Errors during compiling the examples
By: Oblivion on Tue, 18 February 2014 20:28
|
|
|
Re: Errors during compiling the examples
By: Yeti86 on Wed, 19 February 2014 01:36
|
|
|
Re: Errors during compiling the examples
By: Yeti86 on Wed, 19 February 2014 01:58
|
|
|
Re: Errors during compiling the examples
|
|
|
Re: Errors during compiling the examples
By: Yeti86 on Wed, 19 February 2014 12:57
|
|
|
Re: Errors during compiling the examples
By: forlano on Wed, 19 February 2014 13:22
|
|
|
Re: Errors during compiling the examples
By: mirek on Sat, 21 February 2015 19:26
|
|
|
Re: Errors during compiling the examples
By: Edward on Thu, 19 February 2015 22:29
|
|
|
Re: Errors during compiling the examples
By: Edward on Sat, 21 February 2015 18:39
|
Goto Forum:
Current Time: Mon Apr 29 10:20:46 CEST 2024
Total time taken to generate the page: 0.01732 seconds
|