I'm also trying to do a portable version, so can you tell me where I am going wrong please?
I've downloaded and unzipped Arduino IDE 1.6.5
Dumped the first empty folder
Created folder inside 'c:\arduino-1.6.5-r5' called 'portable'
Ran the arduino executable, pasted in the esp link and installed the latest esp8266 2.3.0 using boards manager.
Didn't see any 'libraries' folder structure created in 'portable' to be able to copy websockets library to, and didn't know what should be copied where, so installed it using Sketch, Include Library, .ZIP library, and steered it to the downloaded Basic-NewWebSockets\ESP8266Basic folder, which it apparently installed ok into the portable\sketchbook\libraries folder.
Closed and re-ran Arduino.
Opened ESP8266Basic.ino and tried to compile (verify) but got several quick library errors.
So copied websockets libraries structure over the top of portables\libraries, just getting 1 duplicate readme file error.
Re-opened ESP8266Basic.ino and tried to compile again, this time it went quite a long way through (20+secs)before eventually aborting with the errors shown below (which I will try to past into a scrollable code window if it will let me).
A couple of things:
The initial errors seem 64bit specific, but I don't remember being given a choice to download.
Should the websockets espbasic source all be copied (what where), or is it just the libraries folder mentioned in a previous post?
Code: Select allArduino: 1.6.5 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"
ESP8266Basic\Base64.cpp.o: In function `base64_dec_len(char*, int)':
C:\arduino-1.6.5-r5\portable\sketchbook\libraries\ESP8266Basic/Base64.cpp:140: multiple definition of `base64_enc_len(int)'
Base64.cpp.o:C:\Users\Robin\AppData\Local\Temp\build6866435099386799829.tmp/Base64.cpp:105: first defined here
ESP8266Basic\Base64.cpp.o: In function `base64_encode(char*, char*, int)':
C:\arduino-1.6.5-r5\portable\sketchbook\libraries\ESP8266Basic/Base64.cpp:140: multiple definition of `base64_dec_len(char*, int)'
Base64.cpp.o:C:\Users\Robin\AppData\Local\Temp\build6866435099386799829.tmp/Base64.cpp:112: first defined here
ESP8266Basic\Base64.cpp.o:(.irom.text+0x0): multiple definition of `b64_alphabet'
Base64.cpp.o:(.irom.text+0x0): first defined here
ESP8266Basic\Base64.cpp.o: In function `base64_encode(char*, char*, int)':
C:\arduino-1.6.5-r5\portable\sketchbook\libraries\ESP8266Basic/Base64.cpp:140: multiple definition of `base64_encode(char*, char*, int)'
Base64.cpp.o:C:\Users\Robin\AppData\Local\Temp\build6866435099386799829.tmp/Base64.cpp:21: first defined here
ESP8266Basic\Base64.cpp.o: In function `base64_decode(char*, char*, int)':
C:\arduino-1.6.5-r5\portable\sketchbook\libraries\ESP8266Basic/Base64.cpp:59: multiple definition of `base64_decode(char*, char*, int)'
Base64.cpp.o:C:\Users\Robin\AppData\Local\Temp\build6866435099386799829.tmp/Base64.cpp:59: first defined here
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "WebSocketsServer.h"
Used: C:\arduino-1.6.5-r5\portable\sketchbook\libraries\WebSockets
Not used: C:\arduino-1.6.5-r5\portable\sketchbook\libraries\arduinoWebSockets
Multiple libraries were found for "Servo.h"
Used: C:\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\Servo
Not used: C:\arduino-1.6.5-r5\libraries\Servo
Multiple libraries were found for "OneWire.h"
Used: C:\arduino-1.6.5-r5\portable\sketchbook\libraries\OneWire
Not used: C:\arduino-1.6.5-r5\portable\sketchbook\libraries\MAX31850_OneWire
Multiple libraries were found for "DallasTemperature.h"
Used: C:\arduino-1.6.5-r5\portable\sketchbook\libraries\MAX31850_DallasTemp
Not used: C:\arduino-1.6.5-r5\portable\sketchbook\libraries\dallas-temperature-control
Multiple libraries were found for "SoftwareSerial.h"
Used: C:\arduino-1.6.5-r5\portable\sketchbook\libraries\espsoftwareserial
Not used: C:\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\SoftwareSerial
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.