Fatal error - cannot execute Fortran code in Eclipse compiler - eclipse

The other night compiling Fortran in Eclipse was working for me, however, today I have been receiving this error:
gfortran: fatal error: cannot execute 'as': execvp: No such file or directory
compilation terminated.
It script builds but I would get the error:
Binary not found
Any idea on what I can do?
I cannot configure a build neither as no project can be searched for.

Related

Not able to compile swift on Ubuntu 18.04

I installed swift toolchain using instructions from swift.org. While compiling helloworld code I am getting below error.
warning: 'helloworld': failed loading cached manifest for 'helloworld': disk I/O error
error: 'helloworld': Invalid manifest
<unknown>:0: error: unable to open output file '/usr2/xyz/.cache/clang/ModuleCache/IJ5GUC7XMAO5/SwiftShims-1TLN9ZL6HKTHR.pcm': 'No such file or directory'
<unknown>:0: error: could not build C module 'SwiftShims'
I tried removing '/usr2/xyz/.cache/clang/ModuleCache', but did not work. Please help in resolving this issue.

Swift error on Windows: invalidManifestFormat: Missing or empty JSON output from manifest compilation

I've installed Swift 5.6.1 on my Windows 10 machine, including all the necessary Visual Studio components, but I can't seem to build anything. Even just running the following set of commands in git bash results in an error:
mkdir swiftTest
cd swiftTest
swift package init --type executable
swift build
Specifically, the swift build command gives the following errors:
warning: Failed creating default cache location, Error Domain=NSCocoaErrorDomain Code=256 "(null)"
'swiftTest': error: invalidManifestFormat("Missing or empty JSON output from manifest compilation for swiftTest", diagnosticFile: nil)
The error message seems surprisingly rare -- the top google results were the source of the program that generated that error, and an unrelated error with similar wording from a ReactJS application.
Do I just have to add some flags to the swift build command, or is there something else wrong with my setup?
In my case what fixed it was invoking the command from a Visual Studio Developer Command prompt.

Running Simulink produces make error

Opening a file in simulink and running it produces the following make error:
Making simulation target "ekf_trial_sfun", ...
/Applications/MATLAB_R2013a_Student.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Applications/MATLAB_R2013a_Student.app/stateflow/c/mex/include -I/Applications/MATLAB_R2013a_Student.app/stateflow/c/debugger/include ekf_trial_sfun.c
xcodebuild: error: SDK "macosx10.7" cannot be located.
xcrun: error: unable to find utility "clang", not a developer tool or in PATH
mex: compile of ' "ekf_trial_sfun.c"' failed.
gmake: *** [ekf_trial_sfun.o] Error 1
I have clang on my computer. Do I need to open up the mex .sh file and rename all the old operating system refences (10.6) to 10.10.4? I tried doing a find and replace and that didn't work.
The file was given to me by another engineer
I also get the warning: Some of the issues encountered during model compilation may be because this model was created in a previous release.

Blackberry app compilation error

Please can anybody help me..
I am compiling a blackberry html5 app and is given out this error though I have search for the error but I have been unable to locate it
the error code is(as shown in the command line)
"out: I/O Error: Cannot run program "C:\Program": CreateProcess error = 2, The system cannot
find the file specified
error response - <"code":1 , "msg":"[ERROR]> \t\tRAPC exception occurred"
This error occurred during compilation
Could you verify that you have the 32-bit JDK installed and NOT the 64-bit?

fatal error: 'gtk/gtk.h' file not found

So I'm trying to install Gtk-Perl-0.7000 from http://search.cpan.org/dist/Gtk-Perl/ on a mac
I already successfully followed the steps to instal gtk+ at http://www.gtk.org/
when I run the Makefile.pl from Gtk-Perl-0.7000 it gives me:
gtkvertmp.c:3:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
^
1 error generated.
Unable to find Gtk version...
Invoking gendefs.pl with [].
Please wait, this may take a moment...
gtktypexp.c:1:10: fatal error: 'gtk/gtktypeutils.h' file not found
#include <gtk/gtktypeutils.h>
^
1 error generated.
I have:
echo $PKG_CONFIG_PATH
:/Users/one/gtk/source/gtk+-2.24.16/gtk:/Users/one/gtk/inst/include/gtk-2.0/gtk:/Users/one/gtk/inst/lib/pkgconfig
I do have the gtk.h file in my system. I've searched online but haven't gotten Gtk-Perl to compile.
Your Mac OS need libgtk to be installed to run the script properly.