Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
not work ethernet.h + SD.h
2014 年 10 月 18 日
04:36:53
iki
New Member
Forum Posts: 5
Member Since:
2014 年 09 月 23 日
Offline

After inserting SD.h into Web Server example (86duino one clasic examples)

error compiling message:

In file included from C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/dirent.h:20,
from C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/hardware/86duino/x86/libraries/SD/SD.h:5,
from WebServer.ino:20:
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sys/types.h:71: error: redefinition of 'struct SWS_fd_set'
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sws_sock.h:73: error: previous definition of 'struct SWS_fd_set'
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sys/types.h:73: error: invalid type in declaration before ';' token
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sys/types.h:73: error: conflicting declaration 'typedef int SWS_fd_set'
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sws_sock.h:77: error: 'SWS_fd_set' has a previous declaration as 'typedef struct SWS_fd_set SWS_fd_set'
In file included from C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/dirent.h:20,
from C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/hardware/86duino/x86/libraries/SD/SD.h:5,
from WebServer.ino:20:
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sys/types.h:71: error: redefinition of 'struct SWS_fd_set'
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sws_sock.h:73: error: previous definition of 'struct SWS_fd_set'
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sys/types.h:73: error: invalid type in declaration before ';' token
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sys/types.h:73: error: conflicting declaration 'typedef int SWS_fd_set'
C:/Documents and Settings/ivan/Plocha/86Duino_Coding_105_WIN/DJGPP/include/sws_sock.h:77: error: 'SWS_fd_set' has a previous declaration as 'typedef struct SWS_fd_set SWS_fd_set'
make.exe: *** [C:/DOCUME~1/ivan/LOCALS~1/Temp/build8737543258827670974.tmp/WebServer.cpp.o] Error 1

Cry help me please ( how to join)
thank you
ivan

2014 年 10 月 20 日
15:41:53
Android_Lin
Moderator
Forum Posts: 211
Member Since:
2014 年 04 月 01 日
Offline

Hello, ivan
We modified the Ethernet library for this issue, download a new Ethernet library here: http://www.roboard.com/Files/8.....hernet.zip
(The Ethernet lbrary will be also released with the next 86Duino Coding 106 IDE)

After download, run 86Duino IDE and select "Sketch > Import Library... > Add Library..." to add this new Ethernet library (it will be installed in C:\Users\user name\Documents\86Duino\libraries under Windows). And then try to use Ethernet and SD libraries in your sketch again.

Forum Timezone: Asia/Taipei

Most Users Ever Online: 66

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Dinosaur: 27

leutenecker: 13

mrZagg: 10

lukeross: 8

tomka: 8

smeezekitty: 8

hippy: 8

Ekkehard: 8

UIdahoCIT: 8

blaxxun: 7

Member Stats:

Guest Posters: 0

Members: 1541

Moderators: 14

Admins: 5

Forum Stats:

Groups: 2

Forums: 10

Topics: 239

Posts: 1082

Newest Members: nhollywoodmarli, bat869cube672, lenggeleranto, iknowesp, dimka, elihu, Woodrowcercraby, Robertnalty, Homerwoppy, RonaldLew

Moderators: Glaux: 70, uaa: 11, guigra: 17, asian55: 22, Android_Lin: 211, bcarroll: 12, cucubutter: 84, recycled-air: 12, stevemork: 16, zerozaber: 52, pongraczi: 20, George Andrews III: 56, poto: 11, garpastym: 20

Administrators: eveshih: 1, anthony: 31, viky6: 0, roboard: 135, hcl: 0