I tried to install Mango and I found that it requires ldc. the
makefile for Mango is from
makefile
I tried to install ldc on Windows but it doesn't go very smooth
for the whole weekend, so I decide to try to install Mango with
DMD.
Can anyone help me with that?
Related
I am new to F# and am trying run my code on a mac. I am using Visual Studio(Xamarin) and used NuGet to install FSharp.Charting.Gtk. I also have Gtk3 installed using macports.
When I try to run this simple code:
open FSharp.Charting
[<EntryPoint>]
let main argv =
Chart.Line([ for i in 1 .. 10 -> i, i * i ]).ShowChart()
It compiles but simply crashes on launch with this lengthy error:
https://pastebin.com/4n8jBMi5
Does anyone know what I am doing wrong? Many thanks
The README in the FSharp.Charting repo says that on Windows, you need to install Gtk# version 2.12.26. I notice that you said you have Gtk3 installed via MacPorts -- but do you have Gtk2 installed? As far as I know, the Gtk2 and Gtk3 APIs aren't 100% compatible, which is why there was a major version number bump. So if the FSharp.Charting code is using the Gtk2 API but you only have Gtk3 installed, that could be the reason. (I don't have a Mac so I can't easily check this for myself).
I have only used Mac in the past to compile, so I am a little lost with the following issue.
I am trying to compile a program in Windows 7 through cygwin. Svn co to get the source code works, but upon $ ccmake. the error "command not found" appears. I have the devel. tools from the cygwin setup, as well as cmake and MinGW-64 installed. Where can be the bug? Is ccmake. command supported at all in cygwin?
Any hints are appreciated.
If you are using Cygwin, you should install Cmake using Cygwin as well. The package should be called "cmake". Once that is done you should find ccmake at
/usr/bin/ccmake
AKA
C:\cygwin\bin\ccmake.exe
and you should make sure your PATH contains /usr/bin
ref
I am not a pro-user of Mac, so I am having a lot of problems to install software. I would like to run the Z3Py (Z3 API using Python). I download Z3 v4.3.1, I installed clang v2.9 using Macports-2.1.2 and finally, when I run for Z3
>autoconf
>./configure CXX=clang++
>python scripts/mk_make.py
>cd build
>make
I obtained:
src/shell/datalog_frontend.cpp
make: clang++: Command not found
make: *** [shell/datalog_frontend.o] Error 127
Since clang++ is in /opt/local/libexec/llvm-2.9/bin
I am not able to understand what it is happening and how to solve it. I really appreciate whatever hint because after two days trying I have not find any solution.
I just tried to replicate this error report, but I was unable to do so. Z3 builds just fine with CXX=clang++ on my machine. I can only suspect that your clang++, while it may be installed, is not in the path. For instance, simply running clang++ in the console would throw the same "command not found" error. Perhaps this could be fixed by simply running
export PATH=$PATH:/opt/local/libexec/llvm-2.9/bin
before attempting compilation. However, I suspect there would be more issues with libraries not being found after that.
I could imagine that something went wrong during the installation via MacPorts, e.g., that it requires modifications to various environment variables which are not done automatically.
As Nuno suggests, XCode (with CLI tools) may be much easier to use and they should be available for free in the AppStore.
You should install XCode CLI tools instead. It already includes an up-to-date version of clang (2.9 is very old).
I think both XCode and XCode CLI tools are free on Appstore and/or apple developer center.
I have attempted compiling libgcrypt 1.5.0 with MinGW32 on Windows 7 to no avail. I have already installed the GCC C/C++ compiler and binutils as part of MinGW32, but when I enter autogen.sh --build-w32 it tells me that there is no cross compiler kit installed...?
Despite searching around for answers, I still do not have a clue as to what is going on. How on earth do you compile libgcrypt with MinGW32? And why is it so stupidly difficult? Most standard libs usually provide a Visual Studio project, but the only Visual Studio project I can find for libgcrypt is extremely dated (1.2.2).
The --build-w32 switch is for compiling for Windows on Linux. The readme doesn't mention compiling for Windows on Windows.
I would say try autogen.sh with no arguments and hope it works.
If that doesn't work, install Linux I guess. :/
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Is there a way to install gcc in OSX without installing Xcode?
Is there any way to just install the gcc compiler on mac osx without the entire xcode development monstrosity? The latest xcode download is 4.5GB and all I want to do is compile something with gcc. That is a tad bit of overkill.
Surely there is a better way?
[Now this is supported in OSX XCode command line tools]
See https://github.com/kennethreitz/osx-gcc-installer
A sample howto is here: http://blog.strug.de/2011/09/homebrew-without-xcode-save-15-gb/
In February 2012 Apple released the command line tools for Xcode as a separate download:
https://developer.apple.com/downloads/index.action
For background you can read this post from the author of the osx-gcc-installer project:
http://kennethreitz.com/xcode-gcc-and-homebrew.html
While it is definitely possible to install gcc without Xcode, it seems that nobody packages it in such a way...
That said, it does seem like your main reason for asking is to avoid the large download? If you still have the OS install discs that came with your Mac then we can get Xcode installed without having to download it from scratch.
On the root level of the DVD should be an Optional Installs folder that contains an Xcode installer.
Edit: maybe there is a way after all!
This page links to binaries of gcc for System 10.6:
http://hpc.sourceforge.net/
Here is the place where I got the CLT without Xcode. Hope it works.
https://www.dropbox.com/sh/pneetxuvlljc6m0/jlRLmI4MBo/xcode44cltools_10_86938106a.dmg