|
|
Home » U++ Library support » U++ MT-multithreading and servers » 'Web/Web.h': No such file or directory
'Web/Web.h': No such file or directory [message #37403] |
Sun, 30 September 2012 15:16  |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I just updated U++ from 5303 to 5393 and get the fatal error:
fatal error C1083: Cannot open include file: 'Web/Web.h': No such file or directory
This is when using MSC9 or MSC10.
In this thread:
http://www.ultimatepp.org/forum/index.php?t=msg&th=6644& amp; amp; amp;start=0&
#include <Ws2ipdef.h> and #include <Ws2tcpip.h>
addrinfo
How much of this will be included in the U++ core and what will be needed?
My socket code has been using:
#ifndef _ConnSock_ConnSock_h_
#define _ConnSock_ConnSock_h_
#include <Web/Web.h>
using namespace Upp;
Will this be addressed or should I revert back to 5303?
[Updated on: Sun, 30 September 2012 15:26] Report message to a moderator
|
|
|
|
Re: 'Web/Web.h': No such file or directory [message #37405 is a reply to message #37403] |
Sun, 30 September 2012 20:16   |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
Thanks oman!
Got it to run once.
Now I get this error:
LINK : fatal error LNK1181: cannot open input file 'C:\upp\out\MyApps\Web\MSC9.Force_Size.Gui.Mt\Web.lib'
This is my code:
#ifndef _ConnSock_ConnSock_h_
#define _ConnSock_ConnSock_h_
#include <Core/Core.h>
using namespace Upp;
bool IO;
String snd(String r, int a){
TcpSocket s;
if(!s.Connect("127.0.0.1", 11811)) {
return "x";
}
if(IO) s.Put(r + "\n\0");
if(a==1 && IO){
String st = s.GetLine();
return st;
}
return "y";
}
#endif
C:\upp\out\MyApps\Web\MSC9.Force_Size.Gui.Mt is empty.
The same for MSC10 and debug
The first time it compiled and ran it put the .exe in:
C:\upp\out\MyApps\MSC9.Debug.Debug_Full.Gui.Mt\NLNe.exe
and that seems to run OK.
Why the Web directory?
I have a java app that has a server to connect with.
edit: Even with a reboot and upp re-install it gives the same error:
LINK : fatal error LNK1181: cannot open input file 'C:\upp\out\MyApps\Web\MSC9.Force_Size.Gui.Mt\Web.lib'
[Updated on: Sat, 22 December 2012 14:01] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Web/Web.h': No such file or directory Error still remaining [message #37449 is a reply to message #37448] |
Sun, 07 October 2012 10:54   |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
waiting to an update of Function4U, and
as a quick fix, I suggest you to remove the two files (GatherTpp.h, GatherTpp.cpp) from Function4U package. (if you do not use them in your project.)
in general, instead of add Functions4U to your project, I think it is better to copy the functions or files you interested in your package and modify them if necessary. (Functions4U has many dependencies).
regards
omari.
|
|
|
|
|
|
|
Re: Web/Web.h': No such file or directory Error still remaining [message #38536 is a reply to message #37460] |
Sat, 22 December 2012 05:57   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
Yes. I am using the latest nightly build under MintLinux (Ubuntu) and Web is gone and HttpClient is gone too!
I can find one reference to HttpClient and it is in XmlRpc.h and it appears to be an oversight.
Did HttpClient just get renamed to HttpRequest?
What about Htmls? Will SysInfo and Functions4U get updated to work with the latest UPP? It would be good if Sysinfo was incorporated into main UPP out of bazaar IMO.
My project is a mess just now until this all gets sorted.
Nick
[Updated on: Sat, 22 December 2012 06:03] Report message to a moderator
|
|
|
Re: Web/Web.h': No such file or directory Error still remaining [message #38537 is a reply to message #38536] |
Sat, 22 December 2012 12:58   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
nixnixnix wrote on Fri, 21 December 2012 23:57 | Yes. I am using the latest nightly build under MintLinux (Ubuntu) and Web is gone and HttpClient is gone too!
|
I have just checked lastest and it is there - in the end, I put it back, just marked it as obsolete in package description.
Quote: |
Did HttpClient just get renamed to HttpRequest?
|
Well, the whole Web was somewhat outdated, especially socket encapsulation was sort of mess. So last year I have refactored Socket as TcpSocket in Core and then naturally I had to refactor HttpClient as HttpRequest. In the end, HttpRequest is much more powerfull, resolving issues that HttpClient had no clue about (like redirection with storing cookies), adding streaming interface etc, etc.. That is the story of Web.
Quote: |
My project is a mess just now until this all gets sorted.
|
I think that you should go with Core for web related things now...
Htmls was canceled as it does not seem to bring the kind of advantage we thought it would. I guess that in case of HTML, going with raw text is as good as any abstraction.
Mirek
|
|
|
Re: 'Web/Web.h': No such file or directory [message #38542 is a reply to message #37403] |
Sat, 22 December 2012 20:27   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
Hi Mirek,
It was Linux that I was having trouble with. Web does not appear to be available in Linux.
I took your advice and updated HttpClient to HttpRequest. However, I get the following error
socket(720) / StartSSL: Missing SSL support (Core/SSL)
when submitting a request like the following
[actually will pm you an example as dont want bots pinging my licence server]
which is what I need in order to get my licencing working. I have tried activating SSL using SSL() but same result.
Any ideas?
Nick
p.s. my point about including sysinfo in core is that then we could use it without having to worry about Functions4U becoming incompatible as it does from time to time.
[Updated on: Sat, 22 December 2012 20:38] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 09:35:17 CEST 2025
Total time taken to generate the page: 0.00922 seconds
|
|
|