Skip to content

cannot open shared object file: No such file or directory #264

Open
@mechlya

Description

@mechlya

Hello!

whene I compile the model I get this error
this is my first time using hls4mland I wonder if I have something setup wrong !

hls_model.compile()
Writing HLS project
Done
build_lib.sh: line 14: g++: command not found
build_lib.sh: line 15: g++: command not found
build_lib.sh: line 16: g++: command not found
Traceback (most recent call last):

File "", line 1, in
hls_model.compile()

File "/home/ahmed/anaconda3/lib/python3.8/site-packages/hls4ml/model/hls_model.py", line 402, in compile
self._top_function_lib = ctypes.cdll.LoadLibrary(lib_name)

File "/home/ahmed/anaconda3/lib/python3.8/ctypes/init.py", line 459, in LoadLibrary
return self._dlltype(name)

File "/home/ahmed/anaconda3/lib/python3.8/ctypes/init.py", line 381, in init
self._handle = _dlopen(self._name, mode)

OSError: firmware/myproject-51a9dCAc.so: cannot open shared object file: No such file or directory

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