Skip to content

Cant even complile examples for wifi101 and arduino 101 #63

Closed
@a2liter

Description

@a2liter

When I try to compile the example sketch to scan for available networks I get the following error.

I am running IDE 1.6.9 hourly build 2016/04/28 4:33

The board I have selected is Arduino 101

I am running library wifi101 0.9.0

I have read through all the forum posts I can find and I think I am doing all the suggested fixes for this issue.

C:\Users\chris\Documents\Arduino\libraries\WiFi101\src\WiFiMdnsResponder.cpp: In member function 'bool WiFiMDNSResponder::parseRequest()':

C:\Users\chris\Documents\Arduino\libraries\WiFi101\src\WiFiMdnsResponder.cpp:152:61: error: 'memcmp_P' was not declared in this scope

 if (memcmp_P(request, expectedRequestHeader, HEADER_SIZE) == 0 &&            // request header match

                                                         ^

C:\Users\chris\Documents\Arduino\libraries\WiFi101\src\WiFiMdnsResponder.cpp:154:72: error: 'strncasecmp' was not declared in this scope

     strncasecmp(name.c_str(), (char*)requestName, requestNameLength) == 0 && // name match

                                                                    ^

exit status 1
Error compiling for board Arduino 101.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions