Skip to main content
Visitor II
February 17, 2024
Question

No such file or Directory but file was included

  • February 17, 2024
  • 1 reply
  • 2178 views

Hi, I am having trouble building my ISPU project. When I attempt to build i get 3 errors:
1- fatal error: neuton_generated/neuton_user_types.h: No such file or directory ispu line 13, external location: C:\Human_Movements_Recognition_8_float_off_scale_unique\neuton\include\neuton\nn\neuton_nn.h C/C++ Problem

2- Description Resource Path Location Type
make: *** [makefile:48: all] Error 2 ispu C/C++ Problem

3- Description Resource Path Location Type
make[1]: *** [src/subdir.mk:20: src/main.o] Error 1 ispu C/C++ Problem

I have included neuton_generated already but it doesn't seem to want to find it

Any Ideas?image.pngimage.pngimage.png

1 reply

Andrew Neil
Super User
February 22, 2024

@Cesar-Luna wrote:

Hi, I am having trouble building my ISPU project. When I attempt to build i get 3 errors:
1- fatal error: neuton_generated/neuton_user_types.h: No such file or directory ispu line 13, external location: C:\Human_Movements_Recognition_8_float_off_scale_unique\neuton\include\neuton\nn\neuton_nn.h C/C++ Problem

So it's not finding the neuton_nn.h file

Does that file actually exist in that location on your system?

 

AndrewNeil_0-1708619329567.png

That's a relative path, so it has to be relative to somewhere that the compiler is looking - ie, somewhere  in your Include Paths.

Is it?

Rather than confuse the issue with relative paths, why not just add the actual path to your Include Paths?

 


Please use this button to properly post source code - not as images:

AndrewNeil_1-1708619518401.png

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Visitor II
August 21, 2024

Boa tarde, tive esse mesmo problema,

make: *** [makefile:48: all] Error 2 ispu C/C++ Problem

exclui esse arquivo makefile da pasta do projeto e tente recompilar o projeto, experimenta fazer o mesmo.