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

win/package: Let cmake resolve nvim-qt, win32yank #6132

Closed
wants to merge 1 commit into from

Conversation

justinmk
Copy link
Member

@equalsraf
Copy link
Contributor

FYI cmake wont be able to fully resolve nvim-qt, because it does a lot of run time dll loading via plugins.

@justinmk
Copy link
Member Author

justinmk commented Feb 16, 2017

The dumpbin issue happens with nvim-qt:

cd /d C:\projects\neovim\build\src\nvim && C:\msys64\mingw64\bin\cmake.exe -DCMAKE_PREFIX_PATH=C:/projects/neovim/.deps/usr -DBINARY="C:/projects/neovim/.deps/usr/bin/nvim-qt.exe" -DDST=C:/projects/neovim/build/windows_runtime_deps -P C:/projects/neovim/cmake/WindowsDllCopy.cmake
CMake Error at C:/msys64/mingw64/share/cmake-3.4/Modules/GetPrerequisites.cmake:798 (message):
  C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/dumpbin.exe
  failed: 1000
  
  Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
  
  Dump of file C:/projects/neovim/.deps/usr/bin/libgcc_s_dw2-1.dll
  
  File Type: DLL
  
  LINK : fatal error LNK1000: Internal error during DumpSections
  
    Version 9.00.30729.01
  
    ExceptionCode            = C0000005
    ExceptionFlags           = 00000000
    ExceptionAddress         = 001871A0 (00160000) "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\link.exe"
    NumberParameters         = 00000002
    ExceptionInformation[ 0] = 00000000
    ExceptionInformation[ 1] = 00000004
  
  CONTEXT:
    Eax    = 40000040  Esp    = 0033E478
    Ebx    = 027F3918  Ebp    = 0033E4A0
    Ecx    = 00000004  Esi    = 00000004
    Edx    = 0016405C  Edi    = 0000014C
    Eip    = 001871A0  EFlags = 00010246
    SegCs  = 00000023  SegDs  = 0000002B
    SegSs  = 0000002B  SegEs  = 0000002B
    SegFs  = 00000053  SegGs  = 0000002B
    Dr0    = 00000000  Dr3    = 00000000
    Dr1    = 00000000  Dr6    = 00000000
    Dr2    = 00000000  Dr7    = 00000000
Call Stack (most recent call first):
  C:/msys64/mingw64/share/cmake-3.4/Modules/GetPrerequisites.cmake:925 (get_prerequisites)
  C:/projects/neovim/cmake/WindowsDllCopy.cmake:19 (get_prerequisites)
  
src\nvim\CMakeFiles\external_nvim-qt.exe.dir\build.make:56: recipe for target 'src/nvim/CMakeFiles/external_nvim-qt.exe' failed
mingw32-make[2]: *** [src/nvim/CMakeFiles/external_nvim-qt.exe] Error 1
mingw32-make[2]: Leaving directory 'C:/projects/neovim/build'
CMakeFiles\Makefile2:326: recipe for target 'src/nvim/CMakeFiles/external_nvim-qt.exe.dir/all' failed

So I guess it's back to plain old copy.

@equalsraf
Copy link
Contributor

BTW the nvim-qt share folder was not installed in master g4a107a11

@justinmk
Copy link
Member Author

Thanks, I'll fix that.

@justinmk
Copy link
Member Author

The share folder will be addressed by #6139

@justinmk justinmk closed this Feb 18, 2017
@justinmk justinmk deleted the win32-build branch February 18, 2017 17:32
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

Successfully merging this pull request may close these issues.

2 participants