Skip to content

Pebble.js compilation fails for Pebble 2 / Diorid #172

@compelling

Description

@compelling

Originally posted this in https://forums.pebble.com/t/pebble-js-support-for-pebble-2-diorid/ Seems several persons have this problem, both using cloud pebble and the sdk locally


There’s now a tick box in Pebble.js for Pebble 2 / diorid. But when i tick it, the compilation fails with:

[ 51/127] diorite | c: src/simply/simply_msg.c -> build/src/simply/simply_msg.c.31.o
In file included from
/tmp/tmpzJDE1o/src/util/color.h:3
:0,
from ..
/src/simply/simply_res.h:5
,
from ..
/src/simply/simply.c:4
:

/tmp/tmpzJDE1o/src/util/compat.h:17:14: error: nested redefinition of 'enum GBitmapFormat'
/tmp/tmpzJDE1o/src/util/compat.h:17:14: error: redeclaration of 'enum GBitmapFormat'

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