Skip to content
This repository was archived by the owner on May 24, 2020. It is now read-only.
This repository was archived by the owner on May 24, 2020. It is now read-only.

Building on a Mac #15

Description

@torntrousers

I run esp-rs/build.sh --install and get the following fail:

esp-rs/build.sh --install
info: component 'rust-std' for target 'i686-unknown-linux-gnu' is up to date
Building mrustc/minicargo@b5b7089
make: Nothing to be done for `RUSTCSRC'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile all
[CXX] -o .obj/main.o
In file included from src/main.cpp:25:
In file included from src/trans/main_bindings.hpp:10:
src/trans/trans_list.hpp:62:1: warning: 'TransList' defined as a class here but previously declared as a struct [-Wmismatched-tags]
class TransList
^
src/mir/main_bindings.hpp:14:1: note: did you mean class here?
struct TransList;
^~~~~~
class
src/main.cpp:72:3: error: "Unable to detect a suitable default target"
# error "Unable to detect a suitable default target"
  ^
src/main.cpp:181:30: error: use of undeclared identifier 'DEFAULT_TARGET_NAME'
    ::std::string   target = DEFAULT_TARGET_NAME;
                             ^
1 warning and 2 errors generated.
make[1]: *** [.obj/main.o] Error 1
make: *** [bin/mrustc] Error 2
C02V83QTG8WN-478:rust-esp8266 anthonyelder$

Any ideas on how to fix or debug this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions