Skip to content

Undefined References #10

@alexisguiter

Description

@alexisguiter

Hi,

I am trying to compile C++ code based on the example code "i2c_without_internal_address.c"

However I keep getting erros when compiling such as:

undefined reference to `i2c_open'
undefined reference to `i2c_ioctl_write'
undefined reference to `i2c_close'

Is ther a proper way to compile perhaps? I'm using g++ my_code.cpp -o output

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