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

unnecessary actions in install.py [question] [feature request] #3376

Closed
djleonskennedy opened this issue Apr 23, 2019 · 4 comments · Fixed by #3378
Closed

unnecessary actions in install.py [question] [feature request] #3376

djleonskennedy opened this issue Apr 23, 2019 · 4 comments · Fixed by #3378

Comments

@djleonskennedy
Copy link

Issue Prelude

Please complete these steps and check these boxes (by putting an x inside
the brackets) before filing your issue:

  • [ x] I have read and understood YCM's CONTRIBUTING document.
  • [x ] I have read and understood YCM's CODE_OF_CONDUCT document.
  • [ x] I have read and understood YCM's README, especially the
    Frequently Asked Questions section.
  • [x ] I have searched YCM's issue tracker to find issues similar to the one I'm
    about to report and couldn't find an answer to my problem. (Example Google
    search.
    )
  • [ x] If filing a bug report, I have included the output of vim --version.
  • [ x] If filing a bug report, I have included the output of :YcmDebugInfo.
  • [ x] If filing a bug report, I have attached the contents of the logfiles using
    the :YcmToggleLogs command.
  • [ x] If filing a bug report, I have included which OS (including specific OS
    version) I am using.
  • [x ] If filing a bug report, I have included a minimal test case that reproduces
    my issue, including what I expected to happen and what actually happened.
  • [x ] If filing a installation failure report, I have included the entire output
    of install.py (or cmake/make/ninja) including its invocation
  • [ x] I understand this is an open-source project staffed by volunteers and
    that any help I receive is a selfless, heartfelt gift of their free time. I
    know I am not entitled to anything and will be polite and courteous.
  • [ x] I understand my issue may be closed if it becomes obvious I didn't
    actually perform all of these steps.

Thank you for adhering to this process! It ensures your issue is resolved
quickly and that neither your nor our time is needlessly wasted.

Issue Details

Hello
I'd use it for typescript, i don't need C or C++ why i need install visual studio ?
if it possible to bypass this actions, i'd be nice

Thank you

  • What did you do?

./install.py

Include description of a minimal test case, including any actual code required
to reproduce the issue.

  • What did you expect to happen?

Include description of the expected behaviour.

  • What actually happened?

Include description of the observed behaviour, including actual output,
screenshots, etc.

Diagnostic data

Output of vim --version

N/A

Output of YcmDebugInfo

N/A
however visual studio is installed

Contents of YCM, ycmd and completion engine logfiles

No needed in this case

OS version, distribution, etc.

Windows 10
have installed:
image

image

Output of build/install commands

Include link to a [gist][https://gist.github.com/djleonskennedy/e64fce999449822c6af4cd5d5eca8ce6] containing the invocation and entire output of
install.py if reporting an installation issue.

@bstaletic
Copy link
Collaborator

YCM has a compiled component (called ycm_core.pyd on Windows), so you need a C++ compiler available. You should be able to compile YCM with "visual studio build tools" only, instead of the whole IDE. The reason that is not mentioned in the README is because only one maintainer uses Windows so no one has tried that.

@djleonskennedy
Copy link
Author

@bstaletic Thank you for answer, will try install tools

@bstaletic
Copy link
Collaborator

I think this is the correct link to download build tools 2019, but I'm not on Windows, so I can't try.

zzbot added a commit that referenced this issue Apr 24, 2019
[READY] Instruct installing Visual Studio Build Tools 2017

As suggested by @bstaletic in #3376 (comment), Visual Studio Build Tools is sufficient to build YCM. Users are told to download the 2017 version since 2019 is not yet supported (require a change to the `build.py` script and [waiting for AppVeyor to release the image](appveyor/ci#2907)).

Closes #3376.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/3378)
<!-- Reviewable:end -->
@djleonskennedy
Copy link
Author

@bstaletic thank you, all works well!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants