Comments (7)
Just to be clear, cross compilation is not supported. To build for ARM, you need to build on ARM.
from neovim.
I am on arm
from neovim.
Can I get some actual details? What error mesaage arenyou getting?
from neovim.
Nothing goes wrong, it just cross compiles to x86. Instead of compiling to arm64. I am guessing that is the default for cmake projects, but I don't know.
from neovim.
VS has a menu with options to choose a target.
from neovim.
It doesn't allow choosing an arm target. If I create a new desktop app project I can set target to be arm64. If I create a new cmake project this is not allowed, so it might be a current limitation of cmake + visual studio.
I also tried to compile form command line, I can do it with gcc but that gives the wrong target, I don't know how to force arm64 and also it appears gcc currently does not support windows arm64 target. So clang might be the way to go, but how?
from neovim.
I manually added the following CMake preset:
Mind you I don't know if this is correct.
{
"name": "arm",
"displayName": "arm",
"inherits": "base",
"architecture": {
"value": "arm64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
WIth this the compilation starts, but fails midway.
Severity Code Description Project File Line Suppression State Details
Error CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Luv (missing: LUV_LIBRARY LUV_INCLUDE_DIR) (Required is at
least version "1.43.0") C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake 230
from neovim.
Related Issues (20)
- autowrite when receiving SIGHUP, SIGQUIT HOT 5
- terminal :enew buffer should set buftype=terminal before BufWinEnter autocmd HOT 2
- misleading information filetype.txt help doc HOT 3
- vim-patch PRs could also contribute to the news.txt
- lsp.util.apply_workspace_edit should restrict file manipulations according to client.workspace_folders HOT 1
- 'termsync' : cursor rendering issue on zellij with floating window HOT 8
- WinLeave and WinEnter point at the same buffer on tabnew HOT 6
- Insert mode spelling completion help text is wrong
- GLIBC 2.27 HOT 2
- filetype.lua scripts.vim is sourced before the scripts in the ftdetect directory HOT 2
- calling user commands with `'<,'>` range will change cursor to line1, 0 HOT 1
- normal mode "r" not indicated by ModeChanged, mode() HOT 1
- The issue #29271 should be closed. HOT 1
- Injections are not properly parsed with `smoothscroll` and `spell` enabled HOT 7
- Failed to source nvim-treesitter.lua HOT 6
- repeat.txt: packadd explanation is strange to me at my first sight HOT 1
- Call `vim.lsp.util.jump_to_location` to jump to an unloaded buffer, where the buffer name is not shortened HOT 3
- Extra spacing around LSP Hover Buffer HOT 1
- `statuscolumn` shows room for line numbers but no actual line numbers HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim.