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 » Errors during compiling the examples  () 1 Vote
Errors during compiling the examples [message #42086] Tue, 18 February 2014 16:25 Go to previous message
Yeti86 is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED]Build fails, "Warning: stabn: description field '10005' too big, try different debug format
Next Topic: [SOLVED]Control property syntax (ArrayCtrl, Button), IDE syntax guide unclear to me
Goto Forum:
  


Current Time: Mon Apr 29 10:20:46 CEST 2024

Total time taken to generate the page: 0.01732 seconds