Hi Karl,
Thanks for the quick test - edbrowse www.nasa.gov - but unfortunately
my build exits with an exception, in a thread, I think... it seems to
be after the initial fetch from the url, which contain several
script src=....js, along with other things...
It seems to happen in http.c:808 - g->down_fd = creat(g->cdfn, 0666);, where
g->down_force == 2... trying to track that down... note that the cdfn
does contain some forward slashes - like
"C:\\Users\\user\\Appdata\\Local\\Temp/edbrowse/0/back1524.1" -
but I am not sure this is the problem...
While in that first 'creat(... 1524.1)', the thread switches, and it is
the next 'create(... 1524.2)' that triggers an exception dialog... very
difficult to follow...
So any discussion about maintaining a W32.x64 port is probably mute...
until I
can get it running... any ideas on that much appreciated...
Hi Kevin,
Thanks for the direct mail, and kind words, and I hope you do not mind
if I answer here, since it is for a broader audience...
Yes, to build edbrowse from source, in windows, the first thing to have
is a suitable compiler...
As has been mentioned there is cygwin... have tried it a few times... but
not my choice...
Another is MinGW-w64... I still use that now and then on some projects...
to supply an alternate Win32 EXE...
And there may be other non-native compilers...
But to use the native Microsoft compiler, you must install MSVC... the
'Community' version is free...
https://visualstudio.microsoft.com/vs/community/ ...
You will also need the Windows SDK, but I think that is included in
the install these days...
So each of those choices involves a SUBSTANTIAL install, usually requiring
admin rights, since in most cases they, write to the registry, permanently
change the environment, particularly PATH... etc, etc, ...
It may be possible, in some cases, to install each locally... that is
for one
user only, on a shared system... I certainly do that with MinGW... but this
requires additional skill, to get it all functioning...
But then you have to compile and install the considerable list of
dependencies - duktape, libcurl, pcre, readline, pthreadVC2, zlib, ...
what have I missed...
It takes real effort download the sources for EACH of the above, compile
each with the chosen compiler, and install them, where they can be
found during the configuration stage of the cmake build of edbrowse...
but I could help with that, if there was the interest...
So compiling from source is a heavy effort... and suggests programming
is already one of your (very time consuming) hobbies...
An alternative is to build and publish binaries, like here
http://www.edbrowse.org/static/
But again, that depends on the time and interest...
Meantime, will try to get edbrowse running... there must be a way
to avoid this exception... btw it also happens with 'b
http://maersk.com'... in
the same place... 2nd time thru... strange...
Regards, Geoff.