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.
Related
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.
I am following this tutorial in order to get Visual Studio Code and SourceKit-LSP integrated on Ubuntu 18.10, however, I got stuck at building sourcekit-lsp project.
The error I'm getting:
fatal error
:
error in backend: invalid llvm.linker.options
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 7.0.0-3 (tags/RELEASE_700/final)
Target: x86_64-unknown-linux
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
I'm not sure if its relevant, but after typing Swift in the console I get the following errors:
error: ld-2.28.so 0xffffffff0005f117: adding range [0x14167-0x141ca) which has a base that is less than the function's low PC 0x148c0. Please file a bug and attach the file at the start of this error message
error: ld-2.28.so 0xffffffff0005f117: adding range [0x141e0-0x141e6) which has a base that is less than the function's low PC 0x148c0. Please file a bug and attach the file at the start of this error message
error: ld-2.28.so 0xffffffff0005f184: adding range [0x14167-0x141ca) which has a base that is less than the function's low PC 0x148c0. Please file a bug and attach the file at the start of this error message
error: ld-2.28.so 0xffffffff0005f184: adding range [0x141e0-0x141e6) which has a base that is less than the function's low PC 0x148c0. Please file a bug and attach the file at the start of this error message
Welcome to Swift version 5.0-dev (LLVM b10ce3d642, Clang c1979d7668, Swift 94b167db75).
Type :help for assistance.
I would appreciate if anyone could give me a hint how to solve the problem. The only thing that came up to my mind was reinstalling clang, but it hasn't solved the issue.
This is an llvm bug (https://bugs.llvm.org/show_bug.cgi?id=39743). See workaround here: https://forums.swift.org/t/error-while-trying-to-build-sourcekit-lsp-on-linux/18138/2
I have tried to install the libsvm package with
mex -setup
(since "make" resulted in an error). This was followed by one choice for a compiler, so I chose "1".
Afterwards I typed in "make" got the following error though:
xcrun: error: SDK "macosx10.7" cannot be located
clang: warning: no such sysroot directory: '-mmacosx-version-min=10.7'
libsvmread.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^
1 error generated.
mex: compile of ' "libsvmread.c"' failed.
If make.m fails, please check README about detailed instructions.
What can I do?
I think the following answer from the matlab support might be helpful (http://www.mathworks.com/matlabcentral/answers/103904-can-i-use-xcode-5-as-my-c-or-c-compiler-in-matlab-8-1-r2013a-or-matlab-8-2-r2013b):
The Mac OS X 10.7 SDK, available in Xcode 4.1 through 4.6, is used by
MEX and related capabilities. This SDK is no longer available in Xcode
5, resulting in errors similar to the following when compiling:
xcodebuild: error: SDK "macosx10.7" cannot be located.
xcrun: error: unable to find utility "clang", not a developer tool or
in PATH
The simplest solution is to avoid updating Xcode to version 5 if you
are using R2013a or R2013b. If you need Xcode 5, or you have already
irreversibly upgraded to it, you can update MEX to use the 10.8 SDK:
In the MATLAB Command Window, execute the following commands:
cd(matlabroot)
cd bin
edit mexopts.sh
Save a backup copy of this file somewhere in case you make a mistake and you need to revert your changes.
Scroll down to the Mac (“maci64”) section of this file, beginning around line 120.
Replace all instances of 10.7 with 10.8; there are four of these in all (a fifth may be found in comments only)
Save the file, then execute the following command in the MATLAB Command Window:
mex -setup
Please note that this workaround links MEX files with a different SDK
than with which MATLAB was tested. Although there are no known
compatibility issues, support may be limited.
I have downloaded AOSP source using repo and now trying to build it, when i run make i get following error during the build and compilation terminates...
dalvik/vm/interp/Stack.cpp:29:33: fatal error: backtrace/Backtrace.h: No such file or directory
Regards
-MS
You can just change the file "art/runtime/mem_map.cc" where it includes backtrace:
#include "backtrace/backtrace.h"
change to
#include "backtrace/Backtrace.h"
I am a complete noob to Arduino trying to make my first program. I have Netbeans installed and I wanted to do my first Arduino program using Netbeans. I found the following site that has some step-by-steps. http://java.dzone.com/news/arduino-development-using
I am using NetBeans 7 on a Fresh install of Ubuntu 11. I have been going step-by-step through the site.
My first hint that there is a problem is that the code Assist isn't working at all.
My next problem is that when I compile the default main.pde I get the following error:
fatal error: WProgram.h: No such file or directory in
cat main.pde >> applet/ArduinoTest1.cpp
/usr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -DF_CPU=16000000L -DARDUINO=18 -I/home/tmonteit/arduino-0018/hardware/arduino/cores/arduino -I/home/tmonteit/arduino-0018/libraries -mmcu=atmega328p applet/ArduinoTest1.cpp -o applet/ArduinoTest1.o
applet/ArduinoTest1.cpp:1:22: fatal error: WProgram.h: No such file or directory
compilation terminated.
make: *** [applet/ArduinoTest1.o] Error 1
When I troubleshoot similar problems online it seems that you have to make sure that you are using the correct library.
To install I used apt-get install librxtx-java arduino-core arduino
And then I downloaded arduino-1.0
How do I know if I have the correct libraries or setup?
Is there a proper way to get the right version of these libraries and arduino that will work with NetBeans?
Is there an easy fix?
Since the version used in the guide you are using (Arduino 0018) there have been several library changes (mostly in Arduino 1.0 and notably the renaming of WProgram.h to Arduino.h).
To accommodate these changes the main.pde file will need to change to:
#define __AVR_ATmega328P__
#include <binary.h>
#include <HardwareSerial.h>
#include <pins_arduino.h>
#include <Arduino.h>
#include <wiring_private.h>
#include <EEPROM/EEPROM.h>
void setup()
{
}
void loop()
{
}
Also, pins_arduino.h has moved from hardware/arduino/cores/arduino to hardware/arduino/variants/standard so you'll need to add this to your include path.