Xcode repeated build error code - xcode4

Am running Xcode 4.3 and have had this repeated error code for five times:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254
Have quite Xcode, and even rebooted the computer and got the same message which is listed as a Apple LLVM compiler 3.1 error command.
Does anyone else have this error message and know what to do about it?
Thank you.

I had the same error.
Please copy/paste the message that clang says before crashing.
For me it was a enum declaration that made clang crash, only on Xcode 4.3.

Related

Problems with PATH variable when installing the GPU version of tensorflow

I am currently working on installing the gpu version of tensorflow onto my computer; however, I am experiencing several difficulties. My initial problem was a relatively common problem where Tensorflow was not able to find the CUDA libraries during installation, and I found a very useful post here on StackOverflow that mentioned that by changing the 'CUDA_PATH' environment variable on my computer and adding the 'bin' folder to said variable's path, Tensorflow should be able to find the CUDA libraries.
This didn't work for me, and so I changed the name of the environment variable 'CUDA_PATH' to simply be 'PATH', since that was the environment variable name that was shown on the post I followed.
It didn't work either so I changed it back. Now, everytime I open RStudio, the following error message appears:
Error in Sys.setenv(PATH = new_path) : wrong length for argument
In addition: Warning message:
In system2(conda, c("run", in_env, run_args, shQuote(cmd), args), :
running command '"C:/Users/maria/AppData/Local/r-miniconda/condabin/conda.bat" run --prefix "C:\Users\maria\AppData\Local\r-miniconda\envs\r-reticulate" --no-capture-output "python" -c "import os; print(os.environ['PATH'])"' had status 1
I have tried uninstalling R, Rtools, Rstudio, miniconda and all my Nvidia GPU drivers, as well as CUDA and CUDANN. I then have re-downloaded every programme, and the error still appears whenever I start a session in Rstudio (before I can even do anything remotely related to tensorflow or before I even use R in any way).
If anyone has any suggestions I would greatly appreciate some help with this issue.
Thanks :)
P.S.: Please find below a screenshot of my RStudio upon opening the programme.

Can't use "print" command with octave

Im trying to save a plot to a file, when using the print command i get this error:
print "data"
Unknown device: pswrite
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
warning: broken pipe`
You should realy provide more infos when asking for help with software. What OS are you running? Which Octave version? Installed from repo or source? What graphics_toolkit?
But I've asked my crystal ball and I guess it's a problem with ghostscript. Ghostscript versions >= 9.09 removed the pswrite command, see also https://savannah.gnu.org/bugs/?41141
So install a older version of ghostscript or a newer version of GNU Octave or use the qt or fltk graphics_toolkit.

Qt is not available error while compiling a wireshark plugin

I am trying to built a wireshark plugin code on my RHEL5 Virtual machine and while I am trying to compile it, I am getting the below error.
On ./configure command , below is the error message I receive and the make file is not being generated.
checking for Qt5Core - version >= 4.6.0... no
checking for QtCore - version >= 4.6.0... no
configure: error: Qt is not available
Please advise on how to go about this error. I have looked up for various rpm files and tried installing them but none works!
Try installing below packages as stated in this answer. Worked for me.
libqt4-dev (4:4.8.2+dfsg-11)
libqt4-dev-bin (4:4.8.2+dfsg-11)
libqt4-opengl-dev (4:4.8.2+dfsg-11)
libqtwebkit-dev (2.2.1-5)
qt4-linguist-tools (4:4.8.2+dfsg-11)
qt4-qmake (4:4.8.2+dfsg-11)
The error message you post is telling you that you need a version of Qt greater than or equal to 4.6.0. Since you are building software against Qt you will need the developer version of the package. There seems to be packages named qt47-devel that should be suitable.

Error in sourceCpp after installing Rtools

A month ago I installed Rtools all by default options on my personal computer and was able to write C++ functions in R ever since. Now I am trying to install Rtools on my company's computer and unable to correctly install Rtools. I believe it has something to do with the PATH or some relevant thing that I don't quite understand. Help is so needed. Below are my steps and results:
Install R-3.03 in the local drive c; successful
install.packages(c("Rcpp","installr")); successful
library(installr)
install.Rtools(). In this step there's one thing suspicious:
I only chose "Save version information to registry".
5. library(Rcpp); evalCpp("1 + 1"); and I got the following:
running command:
make -f "C:/R- 30~1.3/etc/i386/Makeconf" -f "C:/R-30~1.3/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)
Warning message:
SHLIB="sourceCpp_35432.dll" OBJECTS="file1bb831d14d68.o"' had status 127
Error in sourceCpp(code = code, env = env, rebuild = rebuild, showOutput = showOutput, :
Error 1 occurred building shared library.
WARNING: The tools required to build C++ code for R were not found.
Please download and install the appropriate version of Rtools:
http://cran.r-project.org/bin/windows/Rtools
And I did restart the computer to see if miracles can happen, but no.
Can anyone help me? Thanks!

compiling glmnet failed in windows

Since the R package glmnet doesn't provide binary for windows, so I have to compile it under my OS win7 64bit. How ever I got this error message:
gfortran -m64 -fdefault-real-8 -ffixed-form -O2 -mtune=core2 -c newGLMnet.f90
-o newGLMnet.o
f951.exe: sorry, unimplemented: 64-bit mode not compiled in
make: *** [newGLMnet.o] Error 1
ERROR: compilation failed for package 'glmnet'
I also tried to compile it under windows XP 32bit, but with 'configuration failed for package glmnet' error message.
Has anyone succeed compiling glmnet in Windows?
Trevor Hastie posted this on r-help 12 hours ago:
"We are aware that glmnet_1.7.3 does not pass for windows
and are looking into the problem. It has something to do
with the gcc compiler being slightly different on
windows versus linux/mac platforms. As soon as we have
resolved the issue, we will post a new version to CRAN"
On 64bit Windows, instead of the default PATH :
C:\Rtools\MinGW\bin
try :
C:\Rtools\gcc-4.6.3\bin
Then of course, stop and start a new DOS window to pick up the new PATH.
Also see: https://stackoverflow.com/a/15221883/403310

Resources