Error launching external sccanner info generator(gcc -E -P -v -dD C:/Documents/Workspace)
Do any one know what is the problem this is for the windows . I downloaded the exact C version without java support but still it is showing this error .
Thanks
Might be a path problem.
Try copying the gcc.exe to c:\Windows as a test. It won't work from there stand-alone, but you should at least see some difference that will help you determine if your problem is indeed a PATH one.
Related
I've been trying to use WSL to generate html reports for the code coverage of my flutter project, but this happens when I run genhtml coverage/lcov.info -o coverage/html:
Reading data file coverage/lcov.info
Resolved relative source file path "lib\blocs\bloc1\bloc1.dart" with CWD to "/mnt/c/Users/User/flutter_project/lib\blocs\bloc1\bloc1.dart".
Found 284 entries.
Found common filename prefix "/mnt/c/Users/User/flutter_project"
Writing .css and .png files.
Generating output.
Processing file flutter_project/lib\otherDir\other_file.dart
genhtml: ERROR: cannot read /mnt/c/Users/User/flutter_project/lib\otherDir\other_file.dart
I can understand that this has possibly to do with the paths, but I'm not sure on how to fix it. Any tips?
I ran into the same problem when attempting to use lcov through WSL, and I have figured out the issue.
The lcov file generated by flutter test --coverage on Windows has back slashes \ for paths instead of forward slashes /.
Simply replacing all back slashes in your lcov.info file with forward slashes before running genhtml, should resolve the issue.
I don't know if this could be useful in that environment.
I had the same problem, and to solve it I created this script. I hope this helps you!
https://github.com/jorgesarabia/flutter_coverage
Please let me know if this solves your problem!
I tried this!!
Instead of cd'ing into coverage/ then running genhtml lcov.info -o anything
Just run the whole command from the root of project, So the new command will look something like this:-
genhtml coverage/lcov.info -o anything
P.S. I was trying to run a coverage file generated by Flutter test.
I've installed Mojolicious on OS X Mavericks using the instructions found on the Mojolicious web page (http://mojolicio.us/).
The directions state " To run this example with the built-in development web server just put the code into a file and start it with "morbo". " When I do so, the command line gives me the error " morbo: command not found ".
I'll delete this if it's some rookie mistake but the only solution I've found is another stackoverflow page that didn't help me.
As part of the installation process of any Perl module that contains scripts, they are installed to a specific location. If that location is not in your executable path, then they cannot be run. I would do a file search for the morbo script and check your $PATH variable. The script must be in the directories listed in that variable to run it by name. Check by running echo $PATH in a terminal (I know that works on Linux, I think it should work for Mac).
You can also run morbo by executing the full path to the executable:
/home/joel/perl5/perlbrew/perls/perl-5.18.1/bin/morbo myapp.pl
(p.s. as you can see, I use perlbrew, I highly recommend it).
My morbo is here: /usr/local/Cellar/perl/5.24.0_1/bin/morbo
if I run it from there it works as expected. Just run
find / -name morbo and you will find it.
Hope it helps.
I had the same problem, but with the standard Perl install, not perlbrew. I was expecting the mojo command to be available, but I only had the morbo command.
which morbo -> /opt/local/bin/morbo
sudo ln -s /opt/local/bin/morbo /opt/local/bin/mojo
For the past week, i have been hunting a free development environment for STM32F1xx, which is supported by FreeRTOS. And no success yet :( .
Now I've found this: http://www.stf12.org/developers/ODeV.html
It's an Eclipse configuration for STM32 compiling and debugging, and there is a FreeRTOS demo too. Perfect!
So I downloaded a preconfigered version of eclipse and tried to compile a demo project to get this error:
Cannot run program "cs-make": Launching failed.
Depressing. Please help, i am very bad at configuring IDE's, compilers and linkers so this has to be newbie-friendly :)
The Eclipse project is configured for CodeSourcery toolchain. You need to install CodeSourcery compiler toolchain from: http://www.mentor.com/embedded-software/codesourcery. Choose Lite Edition, ARM-NONE-EABI package. After the installation make sure you can start cs-make from command prompt (by typing it's name there). Generally, you want all toolchain programs to be accessible from command prompt, which implies that their installation path must be in system PATH variable.
P.S.
Make sure the path DOES NOT contain spaces like standard Windows programs directory "C:\Program Files", instead install the tools in a directory like "C:\arm-none-eabi", "C:\ARM_tools" or something like that.
Ah, thank you got it to work now!
And I ran into another problem too. When I tried to compile another error came up saying something like: "C:\Program is no file or directory". I Solved it by placing all compilers and OpenOCD in the root of my C-drive. I think it's because the make doesn't understand spaces in the make file, if anyone else get the same problem.
I am new to Omnet++. I installed Omnetpp-3.3p1 and am having trouble opening it. I tried creating a makefile within the project which has simulation codes with command opp_makemake -f -N, but I am getting command opp_makemake not found error. Am I missing something here?
The error might raise if OMNeT++ is not properly installed or the lib is not properly linked. This PDF should be what you are looking for, since it explains how to properly install version 3.3p1. - Hope to help!
Everything builds and runs in the simulator fine ... but when I attempt to run on device I get:
"arm-apple-darwin10-gcc-4.2.1:
..../three20/Build/Products/Debug-iphoneos/libextThree20JSON+YAJL.a:
No such file or directory"
I check that directory and indeed the file doesn't exist. It does exist in the "Debug-iphoneosimulator" though (which I guess explains why it works in the simulator).
So what gives and what can I do to correct this?
Thanks
This is fixed by adding the library via the python script from Three20. Do this in the command line:
python src/scripts/ttmodule.py -p ~/MyApp/MyApp.xcodeproj -c Debug -c Release extThree20JSON:extThree20JSON+SBJSON
OR
python src/scripts/ttmodule.py -p ~/MyApp/MyApp.xcodeproj -c Debug -c Release extThree20JSON:extThree20JSON+YAJL
depending on which library you need.
Are you building libextThree20JSON+YAJL.a from source, or did you just copy that .a file into your project? If the latter, the problem is probably that it is built for your computer's architecture (probably i386 or x86_64) and not ARM, what the iPhone/iPad use. To work on the device you need to either add the ARM-built version to your project, or add the library's source to your project so that it will automatically be built for the correct architecture with the rest of your code.
I switched from SBJSON to YAJL and for me a Clean Build Folder helped.