When I try to create a new Dart project on VSCode, I get the following error:
https://i.stack.imgur.com/dii5H.png
Does anyone know how to resolve this? Thanks!
[error message reads:
Command 'Dart: New Project' resulted in an error (Stagehand exited with code 127. /bin/sh: /Users/redacted-name/Development/flutter/bin/cache/dart-sdk/bin/pub: No such file or directory )
I'm using an R Sweave doc and trying to compile a pdf from RStudio using TinyTex. Let's assume my Sweave file is titled "Example.Rnw" and my file path to the .tex output is "Path/Example.tex." After hitting "Compile PDF" in my Sweave doc, I get the following error:
[1] "Example.tex"
Compiling document with tinytex ... Error: LaTeX failed to compile /Path/Example.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.
Execution halted
failed
Error running /usr/local/bin/pdflatex (exit code 1)
When I copy and paste the resulting .tex file into Overleaf, the pdf looks fine. My guess is there's some issue with pdflatex and TinyTex, but I'm not sure what. After a few hours I'm still stumped. Any advice for how to compile this pdf? I've already updated and reinstalled TinyTex, and set my PATH to the TinyTex distribution folder. Thanks in advance.
I have a folder containing main.lua opened in Sublime Text, but when I try to compile it in the text editor, it gives me this error. I have no problem running the code in the game engine. Can someone tell me what I am doing wrong and how to fix it in layman's terms? I am new to coding. Here is the full error:
[WinError 2] The system cannot find the file specified
[cmd: ['lua', 'C:\\Users\\eshig\\Desktop\\pong-0\\main.lua']]
[dir: C:\Users\eshig\Desktop\pong-0]
[path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\Java\jdk-13.0.2\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;]
[Finished]
I cant get my simple dart code to work after setting up Sublime Text 3 for dart development. I only get the build time, while the print command does not work.
I checked all my configurations, checked if my SDK is properly defined at the right places. I also added the location of the dart-sdk to my PATH variable
This is just a simple dart code which I want to run.
void main(){
print("Hello World");
}
I am using Sublime Text 3, latest version of Dart plugin for ST3 and latest Dart-sdk as well. I can only see:
* Running <path>dartprojs.dart
* (output starts below the next line)
==============================================================================
[Finished in 0.1s with exit code 255]
[cmd: <cmd data>]
[dir: <project directory>]
[path: <my path variable>]
While in all of the tutorials I can see:
* Running <path>dartprojs.dart
* (output starts below the next line)
==============================================================================
Hello World
[Finished in 0.1s with exit code 255]
I would like to use OpenCV 3.1.0.2 (the latest one) with Xcode 7.2.1.
I downloaded the OpenCv then as I did with OpenCV 2.4.11 before, I used the following command to generate the opencv2.framework:
python opencv-3.1.0\ 2/platforms/ios/build_framework.py ios
But after a while, my build failed. Here the error:
** BUILD FAILED **
The following build commands failed:
CompileC /Users/nameUser/openCV/ios/build/arm64-iPhoneOS/3rdparty/zlib/OpenCV.build/Release-iphoneos/zlib.build/Objects-normal/arm64/gzlib.o 3rdparty/zlib/gzlib.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/nameUser/openCV/ios/build/arm64-iPhoneOS/3rdparty/zlib/OpenCV.build/Release-iphoneos/zlib.build/Objects-normal/arm64/gzread.o 3rdparty/zlib/gzread.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
============================================================
ERROR: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=arm64', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65
============================================================
Traceback (most recent call last):
File "build_framework.py", line 87, in build
self._build(outdir)
File "build_framework.py", line 81, in _build
self.buildOne(t[0], t[1], mainBD, cmake_flags)
File "build_framework.py", line 139, in buildOne
execute(buildcmd + ["-target", "ALL_BUILD", "build"], cwd = builddir)
File "build_framework.py", line 34, in execute
retcode = check_call(cmd, cwd = cwd)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=arm64', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65
Before posting here, I searched on the internet but I couldn't find any solution for this problem. I don't even know what does this error means.
Can anyone help me please ?
Thank
It's not exactly same with my case but you can try two ways:
Did you install cmake?
If not, install that.
Did you check your python version?
Because Python 3 and 2 are much
different, you should check that.
In my case, 2.x is working. If you installed 2.x and 3.x both, the command "python" means 3. so you should use "python2.x" command.
I'm not sure you can understand what I'm writing(bc my english skill is not good..) but I hope It helps you to solve the problem!