[MonoDevelop] Compiler not found: g++
Stephan Petzchen
stephan.petzchen at gesius.de
Wed Nov 21 10:02:55 UTC 2012
Hi,
are you working on a Windows System????
If so:
I. PATH variable needs to be extended with (adapt to your MinGW
installation):
C:\MinGW\msys\1.0\bin;
C:\MinGW\mingw32\bin;
This should run then on console:
//Compile
g++ -MMD "cc1plus.cpp" -g -O3 -c -o "cc1plus.o"
//Create exe
g++ -o "cc1plus" "cc1plus.o"
Hint:
1. Put your sources and out put files in different dirs than MinGW
2. Start initial test with simple cpp prog with no dependencies
#include <iostream>
using namespace std;
// main.cpp
int main (int argc, char *argv[])
{
cout << "Hello MinGW ;-)" << endl;
return 0;
}
best Stephan
On Wed, Nov 21, 2012 at 10:33 AM, obiwanjacobi <obiwanjacobi at hotmail.com>wrote:
> My command line:
>
> *D:\Cygwin\bin\"g++-3.exe" main.cpp*
>
> results in
>
> */usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe: error while loading shared
> libraries: ?: cannot open shared object file: No such file or directory*
>
> Is it the correct .exe?
>
> How can I see if my Cygwin installation is really finished?
> I can see no env-vars other than for GtkSharp.
>
> <rant>
> As a Microsoft .NET user this is all very new to me. I expect that when you
> install something it works (for the most part). I have spent some hours
> "trying" different things because this apparently it is not normal for
> mono-stuff to work when you install it...!? Sorry just really getting
> frustrated about the amount of effort and time it takes to get stuff
> working
> and going into details I really don't want to know. I just want to get on
> with my project!
> </rant>
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Compiler-not-found-g-tp4657351p4657479.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
--
Gesius GmbH
Beim Strohhause 31
20097 Hamburg, Germany
Tel. +49 (40) 6094673-10
Mobil +49 (172) 1977014
Fax +49 (40) 6094673-99
email: stephan.petzchen at gesius.de <stephan.petzchen at gesius.de>
www.gesius.de <http://gesius.de>
gesius. engineering excellence
Sitz der Gesellschaft/Registered office: Hamburg
Handelsregister/Commercial register: HRB 117558
Geschäftsführung/executive board: Stephan Petzchen
---
This communication contains confidential information. If you are not the
intended recipient please return this email to the sender and delete it
from your records.
Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der
beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den
Absender zurück und löschen Sie die E-mail aus Ihrem System.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20121121/53a63e7c/attachment.html>
More information about the Monodevelop-list
mailing list