I am trying to set up an environment for Component Pascal.
I chose the JVM option. I set a new system variable JROOT and added to the Path variable.
I try to run a new file I created via command line and got this error:
Error: Could not find or load main class CP.gpcp.gpcp
You must set a CPROOT environment variable to the instalation path of GPCP, something like
CPROOT=$HOME/gpcp;export CPROOT;
then add the bin directory to the GPCP executables to the PATH,
PATH=$CPROOT/bin:$PATH;export PATH;
both, in your .bashrc
Compile your CP program with
cprun gpcp <program>.cp
and execute with
cprun <program>
Related
I'm trying to set up and share maven run configurations in my team and I have this problem. Every team member has different project path. I would like to use path variable in order to define working directory for maven run config. Looks like IntelliJ doesn't evaluate this path variable. Any ideas how to solve this problem?
Error:"the working directory '$MODULE_DIR$' does not exist". "$MODULE_DIR$" is default IntelliJ path variable.
You do not need to do anything. Just use the default value which is a real path to the module inside your project. IDE will automatically use the Path Variable for the Run Configuration xml file.
Note that path variables can not be used in the UI for specifying paths. IDE automatically substitutes them when you use real paths.
I'm new to node js, I having a issue with express-gateway
I have installed node(V 10.0.0), express(V 4.16.3) & express-gateway.
I'm getting an error:
D:\User\Test\Express-Gateway>eg -version
'eg' is not recognized as an internal or external command,
operable program or batch file.
as I fire cmd: eg -version or eg express-gateway create
Thanks in advance.
In case of a valid installation, you can find a corresponding windows command script (named eg) residing in your node installation folder (e.g.: C:\Program Files\nodejs\eg).
Next the windows environment variable PATH has to contain the above mentioned path (in order to check this just run PATH in cmd shell => this will print out the value of PATH, which is a list of file paths seperated by semi colons). If the node.js entry is missing, you can add the path by updating the variable manually.
Bottom line I need lessc to compile my main.less file to $CATALINA_EC_TMP/main.css
I'm working on this project, where I need to generate multiple output css files originating from the same source (LESS file) using LESSC.
So with Jet Brain's (WebStorm or IntelliJ Idea) File Watcher, I don't get much of options to save the output files to a custom path using an environment variable.
The reason why I use an environment variable is because some of the outputted files is in a temporary path (it changes whenever I deploy with ant)
That said ...
This is my Environment Variable:
$CATALINA_EC_TMP = '/foo/bar/'
and it's changing so in the next deployment, it won't be /foo/bar/ anymore.
and this is the command line that's being executed by my IDE to compile less files
/usr/local/bin/lessc --no-color main.less
I need lessc to compile my main.less file to $CATALINA_EC_TMP/main.css
so the resulting file would be in that case /foo/bar/main.css or wherever the $CATALINA_EC_TMP value is.
I hope that there's a solution to this, anyway if it doesn't exist I think I'll use fswatcher to copy my generated css files into my destinations whenever I compile.
I am a beginner in this. I just install Cygwin. I have problem in access all my environment variable.
e.g.
prior to install cygwin, i am using cmd prompt. I added a variable named "shotcut" with value "c:\my_doc\". In the c:\my_doc\, i create a shotcut.bat. The content is cd /dc:\my_doc.
Then, i added %shotcut% into a variable called "PATH". When i use cmd, once i type shotcut, it will move to c:\my_doc\
However, using cygwin terminal, i type shotcut and pops out command not found. What can i do in order to use all my environment variable.
Thanks
Cygwin imports environment variables, so if you have one called "shotcut" as you say, the equivalent var called $shotcut should exist in your Cygwin environment. Doing echo $shotcut should output the path you set in your OS.
Alternatively, you could run the env command, which will list the full set of vars currently set in your shell session, and look for your variable in there.
I'm learning Objective-C using GNUStep in my Windows(Cygwin) and i have two files, one source and one make file:
include $(GNUSTEP_MAKEFILES)/common.make
APP_NAME = HelloWorld
HelloWorld_HEADERS =
HelloWorld_OBJC_FILES = main.m
HelloWorld_RESOURCE_FILES =
include $(GNUSTEP_MAKEFILES)/application.make
But when i run make in the directory i'm getting this errors:
GNUmakefile:1: /common.make: No such file or directory
GNUmakefile:8: /application.make: No such file or directory
make: *** No rule to make target `/application.make'. Stop.
What is wrong?
The GNUSTEP_MAKEFILES variable needs to be set to point to the directory
that has that commmon.make file in it.
K
You haven't set the value of the GNUSTEP_MAKEFILES variable. You have two ways to achieve this:
Use an environment variable: export GNUSTEP_MAKEFILES=/the/path/you/want.
Set it directly in the Makefile: put a line GNUSTEP_MAKEFILES = /the/path/you/want in the Makefile somewhere before you use it.
Debian Linux provides /usr/share/GNUstep/Makefiles/GNUstep.sh script that sets and exports all the appropriate GNUSTEP_* environment variables. Perhaps there is something similar in your Windows GNUstep distribution package?