Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Cross compiling for target jetson tx2 using nsight eclipse
Cross compiling for target jetson tx2 using nsight eclipse [message #1831218] Fri, 14 August 2020 01:43 Go to next message
Kunal Khosla is currently offline Kunal KhoslaFriend
Messages: 2
Registered: August 2020
Junior Member
Hi

I bought a nvidia jetson tx2 for my application. Wondering if I can cross compile my a source code in eclipse for trying it out in my jetson tx2. This is what i have tried so far:

1. The source code was not a eclipse project so i used cmake to do make it a eclipse project for me.
2. Then i imported this workspace into my nsight eclipse and clicked on
Build all.
3. I am getting some errrors: Reallocation errors EM 62. After some research i found out that the em 62 is for x86_64 bit (my host). I think i missed something on my eclipse properties.
I dont know another way to cross compile, but kindly let me know means other than eclipse to perform the same task if any.
My host is having ubuntu 16.04 and x86_64 bit arch.
My target is running a 18.04 Ubuntu OS and a arm64 v8 architecture.

Any suggestions would be appreciated.
Re: Cross compiling for target jetson tx2 using nsight eclipse [message #1831223 is a reply to message #1831218] Fri, 14 August 2020 07:36 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
For compiling on the X86 family, you will need at least an ARM cross-development toolkit for the X86. You may also need a cross-toolkit for the GPU core.


--

Tauno Voipio
Previous Topic:CMSIS zone rzone files not found?
Next Topic: Problem with debugging the C++ code with eclipse on Mac
Goto Forum:
  


Current Time: Fri Oct 11 02:25:56 GMT 2024

Powered by FUDForum. Page generated in 0.03629 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top