I am using Doxygen for is situated in a folder tree (on a Windows 7 Pro PC) where one of the folders has an Umlaut in its name: D:\Projects\Wörkspaces\Vision\Doxygen.conf
When I run Doxygen IN the directory using doxygen Doxygen.conf, everything works out fine. Idem when using DoxyWizard.
However, when I try and do doxygen D:\Projects\Wörkspaces\Vision\Doxygen.conf, doxygen quits with the error:
error: configuration file D:\Projects\W÷rkspaces\Vision\Doxygen.conf not found!
and issues the usage instructions.
The same error occurs when I try to run doxygen through a Visual Studio project. Any ideas?
The problem comes from your filepath. The word "Wörkspaces" contains a special character that might not be recognized. As you see in the error message, "W÷rkspaces" is written.
Try to replace with "Workspaces".
Related
I have installed visual studio 2019 which works fine for c++ but unable to create folders and sections to store multiple code files. So thought of switching to visual studio code and followed all tutorials available on youtube and documentation. But Visual studio IDE has got nothing showing up when Run Build task is initiated, which is expected to show the c++ extension downloaded. Mingw64 is installed and checked in the terminal too.
no output or terminal opened on Run
compiler installation checked
From the image attached regarding no output in the terminal or terminal opened, it looks like the exe is made because it says 'Build finsihed succesfully'. You'll need to run this executable from the terminal.
For this, if youre in the same directory all you have to do is type the filename. helloworld.exe in the cmd, if its powershell, then ./helloworld.exe. (Also note that for exe files you dont need to explicitly mention .exe at the end of the file name)
The powershell method should work on cmd too.
And if youre not in the same directory as the executable, you can either change directory by typing cd path/to/file and proceed as above, or run directly by typing path/to/file/helloworld.exe. where path/to/file is the directory of your helloworld.exe file
I am using visual studio code for develop my react application. I just wanted to open the project in the IDE using CLI, using "code ." command. Although it was perfectly working previously, now shows an error as below.
'code' is not recognized as an internal or external command,
operable program or batch file.
Can someone help me out to solve this matter?
This sounds like an issue with your environment variables rather than a problem with VS Code itself.
When you run the code command in Windows Command Prompt (cmd), Windows searches all commands on your path for one named code, and executes that command. VS Code installs a command with this name that opens the editor, normally located here on Windows:
C:\Program Files\Microsoft VS Code\bin
It may be that your path no longer contains this particular directory for some reason.
You can edit your path directly to add it:
From the Start menu, type "variables" and choose the option to "Edit environment variables for your account".
Locate the PATH entry and edit it.
Add the directory where the code command exists, e.g. C:\Program Files\Microsoft VS Code\bin.
The path editor may appear slightly different depending on what version of Windows you are running.
My case was different rather than general solution for this question. I saw that the number of solutions which says the probelm exists with the environment valriables. In the new release it provides a setup file only.
Before downloading, there are certain properties to be selected.When I just redownloaded the set up and run it , it starts working perfectly.
I know I can use command "code" to open VS code or file, but I don't know what should I do to make it possible after I install VS code in Ubuntu.Thanks.
Launching from the Command Line
You can launch VS Code from the command line to quickly open a file, folder, or project. Typically, you open VS Code within the context of a folder. We find the best way to do this is to simply type:
code .
Tip: We have instructions for Mac users in our Setup topic that enable you to start VS Code from within a terminal. We add the VS Code executable to the PATH environment variable on Windows and Linux automatically during installation.
Sometimes you will want to open or create a file. If the specified files does not exist, VS Code will create them for you:
code index.html style.css readme.md
Tip: You can have as many file names as you want separated by spaces.
Source: https://code.visualstudio.com/Docs/editor/codebasics
So, there are a couple of solutions for this.
I've linked a video that shows you how to add vscode to $PATH
(which didn't work for me because I couldn't find the "shell:install path" command)
I uninstalled the vscode from my ubuntu and re-installed using sudo snap install --classic code
(This method worked for me)
Tell me which one works for you... and if you have extensions installed to your vscode then i guess you ought to make a backup or something.
Link to the video: https://youtu.be/iP5FKZXtDBs
I have installed Visual Studio Code 0.5.0 on my Windows 8 machine.
I am trying to open VS Code from command line giving directory path as an argument.
code "D:\Apps\Test App New" and it doesn't open the directory inside VS Code.
It opens only D:\Apps and names it Test.
If I give a directory path which doesn't contain spaces then it opens the path correctly.
code "D:\Apps\MyNewApp"
Am I missing any argument options/switch?
That seems to be a bug. You can file an issue here: https://code.visualstudio.com/Issues/List
As a workaround you can use
cd "D:\Apps\Test App New"
code .
EDIT 2015-09-01:
VSCode 0.8.0 (insider preview) fixed that issue. You can call now
code "D:\Apps\Test App New"
Just found this link which says that this is a glitch in VS Code that is not resolved yet.
https://code.visualstudio.com/Issues/Detail/17159
I wanted to see how the code of FFMpeg works. So what I did is imported this project in eclipse. When I run the binary from the command line, it decodes the entire video without any problem and displays it as well. However if I run exactly same binary from the eclipse, it fails. It fails when the binary executes the following statement -
instance->display = XOpenDisplay (NULL);
Can anyone tell if there is any special requirement for running X11 apps in eclipse? I have linked the necessary libraries in the code. Also the binary works perfectly from the command line.
Had a similar problem developing with ROOT gui classes.
I solved the issue adding the env variable DISPLAY to :0 in the run configuration tab.