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

Current project architecture 'ARM' is incompatible with the remote system architecture #285

Closed
ndvbd opened this issue Apr 29, 2018 · 9 comments
Assignees
Labels

Comments

@ndvbd
Copy link

ndvbd commented Apr 29, 2018

I am trying to use Visual Studio 2015, as an IDE for DragonBoard 410c (arm processor, aarch64 architecture).

When I follow the instructions here: https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-for-linux-development/

And choose the project to be ARM, I get:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Application Type\Linux\1.0\Linux.targets(51,5): error : Current project architecture 'ARM' is incompatible with the remote system architecture '' ('Unknown'). Please switch the project architecture to '' in Configuration Manager.

@stanthomas
Copy link

It's 64-bit. See #110 .

@itodirel
Copy link
Member

itodirel commented May 2, 2018

regarding unknown, can you tell us what does uname -m return?

@ndvbd
Copy link
Author

ndvbd commented May 2, 2018

aarch64

@itodirel
Copy link
Member

itodirel commented May 3, 2018

Ah I see, we made a fix for that, and are working on adding ARM64 support, in addition to a way of disabling the architecture check.

@ndvbd
Copy link
Author

ndvbd commented May 6, 2018

Okay. In the meanwhile, I switched to Eclipse and continuing the work there.

@itodirel itodirel added the fixed label May 11, 2018
@itodirel
Copy link
Member

The architecture checks will be available in 15.8 Preview 2; for the ARM64 support we're working with legal and we'll update you if it can be in the same release or later

@smlehbleh
Copy link

I was also facing this issue with a 64bit ARM cpu (NVIDIA Jetson TX1 in this instance)
I installed 15.8 Preview 2 and I can confirm that disabling the architecture check removes the "'ARM' is incompatible with the remote system architecture" issue and allows the project to build. I am, however, unable to debug the program. Visual Studio successfully remote runs the application but none of the breakpoints seem to work. Is this a known issue currently? Or have I just got something not setup right?

@smlehbleh
Copy link

Nevermind, I got it working, set gdb type to just "gdb".
And also I had to update my assertion code from "__builtin_trap();" to
"{ asm volatile(".inst 0xd4200000"); }" for 64bit ARM

@lukka
Copy link
Member

lukka commented Jun 29, 2018

Closing issue, thanks for your support @smlehbleh !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants