- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
First, I have integrated the relevant oneapi debugger toolkit into eclipse.
Then I created a c++ project and built it, configured its Debugger Configurations
then i choose gdb-oneapi C/C++ Remote Application
then i click Select other...
then i click Dubugger to settings
then i settings Connection
then i use xshell to start a gdbserver
then i click Apply and Debug from eclipse
but its error
then I followed the prompts and configured the share libraries
But it still says error
so i dont know how to solve it
Eclipse IDE Version: 2021-03 (4.19.0)
oneapi debugger: 2021.6.0
Server: linux (i use x11 to start a eclipse)
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seems like libipt.so.2.* is missing.
If you call, gdb-oneapi from the command line, does it work?
$ gdb-oneapi a.out
GNU gdb (Intel(R) Distribution for GDB* 2022.2) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.; (C) 2022 Intel Corp.
Reading symbols from a.out...
(gdb)
According to the Release Notes, only Eclipse 4.20 and 4.21 are supported.
Can you update your Eclipse to 4.20 or 4.21 and give it another try?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
gdb-oneapi from the command line, it work no problem.
I changed the version of eclipse, but it still has this problem.
so how to solve this problem
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you let us know what OS version you installed oneAPI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
linux:CentOS Linux release 8.3.2011
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CenOS isn't listed as a supported OS. Please see Software Requirements at https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-dpcpp-system-requirements.html
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
Thank you for your reply, but what I want to know is that I am using Centos 8.3 with the oneapi toolkit installed, will it also affect me to use the DPC++ Compiler in the oneapi toolkit? Since the URL you gave is titled "Intel® oneAPI DPC++/C++ Compiler System Requirements", do I need to change my OS to use these?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it is recommended to use the oneAPI on supported OS.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
Okay, I got it., thank you very much
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
I changed to another system as requested, but I still get the gdboneapi --version not found error on eclipse
OS:Red Hat Enterprise Linux release 8.5 (Ootpa)
Eclipse IDE Version: 2021-09 (4.21.0)
oneapi debugger: 2021.6.0
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let me work with our integration team and get back to you.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
Thank you very much, I will wait for your reply
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you "source /your_intalled_dir/oneapi/setvars.sh" prior to launching the Eclipse?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
Thank you very much for the heads up,
I thought I only needed to source /opt/intel/oneapi/setvars.sh on the server where I started gdbserver.
I didn't source setvars.sh before starting eclipse.
Now I source /opt/intel/oneapi/setvars.sh before starting eclipse, and it works fine for debugging.
I am not too familiar with eclipse, so I would like to know if I can set source /opt/intel/oneapi/setvars.sh in eclipse instead of going to source /opt/intel/oneapi/setvars.sh on the command line in the background.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you should source setvars.sh in Eclipse.
Since it worked, can we close this thread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This thread is now closed.
Thanks,
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page