Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

  • 10 odgovora
  • 3.989 pregleda

Najnovija ↓

C/C++ aplikacija u Eclipse Ganymede-u 06.09.2008. u 16:15 · pre 221 mesec #1
Kako da prevodim i izvrsavam C/C++ aplikacije u eklipsu.
Treba li mi jos nesto izuzev:
C and C++ Development Platform i
C and C++ Development Tools
Re: C/C++ aplikacija u Eclipse Ganymede-u 06.09.2008. u 16:45 · pre 221 mesec #3
Koliko ja znam ne treba ti nista. To je valjda kompletno razvojno okruzenje koje ima svoj kompajler. Ipak mozda i grijesim.
Re: C/C++ aplikacija u Eclipse Ganymede-u 06.09.2008. u 17:32 · pre 221 mesec #4
Probao sam da skinem MinGW sa zvanicnog sajta ali nesto nece.
Skinua sam verziju 5.1.3 sa Rapid-a i kada sam raspakovao arhivu dobio sam sledece instrukcije za instalaciju:

1. Run the MinGW-5.1.3 installer, select "Download and install", select the Current package set, then make sure the following packages are checked and install to C:\MinGW:
MinGW base tools
g++ compiler
Objective C Compiler
MinGW Make
2. Install MSYS-1.0.10 to C:\MinGW (do NOT use the default or C:\MinGW\1.0).
When prompted, answer y to the first two questions, then type c:/MinGW for the directory path.
3. Install msysDTK-1.0.1 to C:\MinGW (do NOT the default or C:\MinGW\1.0).
4. Rename "C:\MinGW\bin\mingw32-make" to "make
5. Unpack OpenSSL and GMP into C:\MinGW\home\<user>\
6. Launch MinGW/MSYS using the MSYS icon and 'cd' to the GMP folder
7. Compile GMP with the following commands:
$ ./configure --prefix=${gmp_install} --enable-cxx
$ make && make install (take a nap)
8. Copy C:\MinGW\home\<user>\openssl-x.x.x\include\openssl to C:\MinGW\include\openssl
9. Configure OpenSSL with the following command:
$ ./configure mingw
10. Copy C:\MinGW\include\openssl back to ..openssl-x.x.x\include\openssl
11. Compile OpenSSL with the following commands:
$ make && make install (ignore any errors...after your second nap of course)
12. Copy C:\MinGW\home\<user>\openssl-x.x.x\libcrypto.a to C:\MinGW\lib\
13. Copy byteswap.h to C:\MinGW\include\
14. Compile cemu using "make mingw=1 static=1"

U cetvrtom koraku kada mi trazi da reimenujem mingw32-make u make imam problem sto u tom folderu make vec postoji.
drugi problem je u sedmom koraku kada ukucam

./configure --prefix{C:/MinGW/home/user/nesa/gmp-4.2.1} --enable-cxx

dobijam sledece:
configure: loading site script /etc/config.site
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking compiler gcc -m32 -O2 -fomit-frame-pointer ... no
checking compiler gcc -O2 -fomit-frame-pointer ... no
checking compiler icc -no-gcc ... no
configure: error: could not find a working compiler, see config.log for details

Znas li kako da resim ovo ili odakle da skinem neki MinGW koji se lakse instalira.
Re: C/C++ aplikacija u Eclipse Ganymede-u 06.09.2008. u 23:15 · pre 221 mesec
izmenjeno 1 put, poslednji put Eurora3D Team 06.09.2008. u 23:28
  1. Eurora3D Team06.09.2008. u 23:28zapis iz teksta poruke
#7
Ili Code::Blocks sa mingw kompajlerom http://www.codeblocks.org/downloads
http://downloads.sourceforge.n...codeblocks-8.02mingw-setup.exe
Potpis
HomePage http://www.eurora3d.com
Re: C/C++ aplikacija u Eclipse Ganymede-u 08.09.2008. u 00:07 · pre 221 mesec #9
OK. Hvala. Probacu nesto od ovoga pa cu videti.
Jos jedno pitanje. da li je za prevodjenje projekata radjenih u Eclipse-u moguce koristiti neki drugi kompajler,
konkretno Borland C++ 3.1. Ovaj kompajlaer je prilicno star, ali mi bas on treba.
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme