Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict between arguments "--files, --file-list" and GenerateFinalExternalFunctionMap() #3

Open
hribz opened this issue Jul 25, 2024 · 0 comments

Comments

@hribz
Copy link

hribz commented Jul 25, 2024

When I use arguments "--files, --file-list" to generate external function map for specific files, panda still generate final external function map for all files in compile_commands.json, and leading to such error:

Traceback (most recent call last):
  File "/usr/bin/panda", line 725, in <module>
    main(sys.argv)
  File "/usr/bin/panda", line 721, in main
    ExecuteFullCompilationDatabaseAction(opts, cdb)
  File "/usr/bin/panda", line 700, in ExecuteFullCompilationDatabaseAction
    GenerateFinalExternalFunctionMap(opts, cdb)
  File "/usr/bin/panda", line 548, in GenerateFinalExternalFunctionMap
    for efmcontent in p.map(getExtDefMap,
  File "/usr/lib/python3.10/multiprocessing/pool.py", line 367, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/lib/python3.10/multiprocessing/pool.py", line 774, in get
    raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '/cmake-projects/opencv/3rdparty/protobuf/src/google/protobuf/repeated_field.cc.extdef'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant