Eclipse CDT headless build from cygwin terminal issues - cygwin

Are there any tutorials on doing a headless build from the command line that are more specific than https://gnu-mcu-eclipse.github.io/advanced/headless-builds/. I am having some issues following this tutorial. Headless build example
I am getting an error -> eclipse: command not found when I follow the tutorial. I am also unsure of what the configuration I am supposed to enter is in the last line. Any help is very appreciated.

The eclipse that is not found is the eclipse you downloaded/installed. You may need to run with the full path to eclipse for it to find eclipse itself.

Related

Why LeetCode extension can‘t run in Visual Studio Code which on ubuntu 16.04?

I have successfully installed the LeetCode extension and node.js,then I click the icon of Switch Endpoint or Sign in that in LeetCode extension ,it reports these error:
command 'leetcode.toggleLeetCodeCn' not found
or
command 'leetcode.signin' not found.
I have tried changing the version of nodejs and LeetCode extension, but it didn't work. When I reload the VSCode window, it would reports this error:
LeetCode extension needs Node.js installed in environment path
And then I follow the prompts to open the output channel, the OUTPUT menu show:
/bin/sh: 1: /usr/local/bin: Permission denied
Error: The environment doesn't meet requirements.
Has anyone ever encountered this problem? please help me! thanks.
my software version:
Ubuntu: 16.04 x64
VScode: 1.52.1 x64
nodejs version which I have tried: 8.9.3/15.6.0/15.10.0
leetcode extension version which I have tried: 0.16.2/0.17.0
This error also occurs to me. The leetcode plugin worked well in the past weeks, but today, all of sudden, it stopped working
I tried
re-intall leetcode cli globally
add source .bash_profile and .bashrc to my zshrc
update node
However, none of them works.
The problem was resolved by doing the follow
disable leetcode plugin
reload
enable leetcode plugin

How Do I Get j2objc To Run With Doppl?

When I follow the instructions to get Doppl going, and I run the dopplBuild Gradle task, I get an error message about j2objc returning error code 127. What is going on?
One cause of this is not having a JDK available for command-line use on your development machine. While Android Studio can use its own JDK copy, that does not make javac and related tools available from the command line. The j2objc tool in the Doppl toolchain needs these tools available from the command line.
The simplest solution is to download and install a JDK, following whatever the normal practice is for doing so on your development machine's OS, such as downloading JDK 8 from Oracle's site and installing it. If javac runs successfully from the command line, then try running dopplBuild again and see if you get past the "error code 127" result.

VB.Net development in Ubuntu - Build error in Monodevelop

I want to start coding in VB.Net but I have a Linux machine ATM i don't want to switch to Windows.
I installed MonoDevelop on my Ubuntu 16.04 by following the steps from their page: http://www.monodevelop.com/download/linux/. Everything is fine until I try to run the program I get the following error:
/home/user/Projects/Project/Project/Project.vbproj: Error: Target named 'Build' not found in the project.
I searched around for a solution but didn't find any. Didn't mess with any of the settings just created the project and tried to compile. Is there anything extra i had to install/set maybe?
Thanks in advance!

Can't find Git or Cordova on your path (Windows/Netbeans), Can't find GitHub under AppData/Local, FIX 2015

Error: NetBeans cannot find git or cordova on your path.
When trying to create a new Cordova Application in Netbeans.
How to fix? > THE ANSWER CAN BE FOUND BELOW :)
If anyone wants to know how to get Cordova working in Netbeans anno 2015/2016 here is the fix:
I have installed:
Git version: 2.5.1 for Windows 64 bit
Cordova version: 4.3.1 for Windows 64 bit
Node.js version: 0.12.0 for Windows 64 bit
Netbeans version: 8.0.2 x86
In Netbeans when I start a new project and select HTML5>Cordova Application then I will get this error:NetBeans cannot find git or cordova on your path.
After some searching on the good old internet, I found some pieces of information hither and thither which was correct but which didn't solve my problem. The reason for this was that it was old or slightly different than my problem. So I did the following to fix this problem:
I checked where my Cordova/npm files where and I happily found them in: C:\Users\\AppData\Roaming\npm
Next I had to find my Git.exe which FOR ME is located in: C:\Program Files\Git\bin (FOR SOME PEOPLE IT CAN BE FOUND IN: C:\Users\\AppData\Local\GitHub\PortableGit_)
Now I found out that Netbeans is using the windows PATH VARIABLES to locate git and cordova. For those who don't where to find or set the system Path Variables this website will help you find or set it: https://java.com/en/download/help/path.xml
I use windows 7 so I did this to change my path variables:"
-Select Computer from the Start menu
-Choose System Properties from the context menu
-Click Advanced system settings > Advanced tab
-Click on Environment Variables, under System Variables, find PATH, and click on it.
-In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.
SO edit path and then you see like C:/apath;C:/asdas; < enter here your git path;<enter here your cordova path and save it by clicking the OK button.
Restart Netbeans and now it has to work.
:)
For those getting here and the solution from #bboni did not work - as it did for me:
Make sure everything is installed correctly by opening a command prompt (open start-menu and type cmd).
Type the following commands git --version, cordova -v and node -v.
For me it looked like this:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\JohnDoe>git --version
git version 2.8.4.windows.1
C:\Users\JohnDoe>cordova -v
6.2.0
C:\Users\JohnDoe>node -v
v4.4.5
That makes sure everything is installed correctly. If one or more commands result in an error, then it's either not installed or not added to PATH as described by #bboni.
Now open your Netbeans and go to Tools → Options → HTML/JS → Mobile Platforms and check if you can see somethink like Installed Cordova version: 6.2.0. This is to make sure Netbeans is basically able to detect Cordova.
At that point all the tutorials I found online ended. I came up with the idea to check if Netbeans' own Terminal would be able to execute the command above as well: Tools → Open in Terminal
I got an error telling me I'd need Cygwin to use the Terminal. So I installed it, restarted Netbeans, opened the Terminal, checked the commands above and they worked.
I checked Configure Cordova again - the error was gone and I could finally ran my app directly from Netbeans as I wanted to.   :)

how to compile Intellij IDEA from Source to Executive file

i download Intellij Idea 13 (ideaIC-13.tar.gz) from jetbrains.com and i want to install it on ubuntu 13.10.
i'm not prefer to run intellij with terminal commands everytime i wanna use it, it's gonna be great if i can open it like another applications we install from ubuntu software center.
so i searched over the internet and found out i should compile it to .deb file to do that. i tried several ways to compile but i got error every time.
can anyone help me solve this problem?
thanks in advance
edit :
i tried "Create Desktop Entry" to make shortcut for it, but i got this error.
there is another warning about "native file watcher". how can i solve them?:|
the problem was my Ubuntu installation or lack of my ubuntu dependencies.
now i use Ubuntu 14.04 LTS and Intellij Idea Works Properly! i just run the .sh file with bash command.
and Create Desktop Entry worked fine.

Resources