General :: Can't Compile C++ Programs On OPENSUSE
May 15, 2011
pgm of mine is not getting compiled
#include<iostream>
int main()
{
cout<<"Hi
";
}//Saved as g.cpp
The foll. error is shown on compiling as c++ g.cpp or gcc c.cpp or cc g.cpp
and i've gcc 4.5
g.cpp: In function int main():
g.cpp:5:2: error: cout was not declared in this scope
v
View 1 Replies
ADVERTISEMENT
Feb 19, 2011
I was wondering about a package that can be used to write and compile/run programs in different programming languages. I was also wondering how possible it is to program in Visual Basic 2010 in openSUSE if at all.
View 9 Replies
View Related
Nov 1, 2010
I am using embedded linux (xlinux) and i need to compile the programs on desktop pc.i am currently using eclipse.can someone suggest me how I can configure, to make a project thats compile the programs for the embedded linix where I need to run them.
View 1 Replies
View Related
May 29, 2010
Is there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.
Is there an easier way to compile programs and their dependencies manually or are package managers the only way?
View 1 Replies
View Related
Apr 25, 2011
I've tried compiling C++ programs with extension .cc and .cpp. I've tried compiling with gcc, g++ and even cc (with .cc extension files). Earlier (as g++ wasn't installed) i tried installing g++ (sudo apt-get install g++) for which i got the message "g++ has no installation candidate". Later from Synaptic i found it as g++-2.95 and installed it. I've also installed pentium-builder
Whenever i've tried to install "build-essential" (using apt-get and aptitude) i've got messages along the line of "no installation candidate". I've searched many posts and not got the answer for this. I've treid update and upgrade before installation, no use. I have all the repositories checked in software sources and the server as "main server". Now, the main problem is: (when trying to compile a .cpp file)
user@dell-desktop:~$ g++ hello.cpp
Unable to exec g++.real: No such file or directory
ser@dell-desktop:~$ gcc hello.cpp
[code]....
View 9 Replies
View Related
Mar 15, 2009
I work on Fedora 9 and I'm unable to compile my c++ program using the make in the terminal as well as in the IDE-Anjuta.although 'make' works fine with C programs,I get an error that g++ command is not found whenever I try it with C++ programs.
View 3 Replies
View Related
Jun 24, 2010
iam using ubuntu 9.10 and iam working in gcc for about half an year for devoping c programs. but i find its not possible to compile any c++ programs in my gcc.Always it ended up showing the error below:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
i find the same when i tried to install wxpython from its source and hence cant complete it.
View 9 Replies
View Related
Dec 16, 2009
Tell me how to compile and run java programs using openJDK on fedora 11
i have gcc installed
View 6 Replies
View Related
Sep 11, 2010
How to compile and execute Java programs
View 1 Replies
View Related
May 30, 2009
What is the software to be installed to compile and execute c/c++,lex and yacc programs in rhel4??
View 1 Replies
View Related
Jan 31, 2010
I've been trying to compile and install different terminal emulators:Eterm, aterm, and libAfterImage for urxvt.
I've been getting all these errors, and it seems odd to me. I did some fiddling awhile back enabling KMS with my radeon, install custom packages for xf86-ati, mesa, and libdrm. Could that or some other fiddling have broken these dependencies?
Here is an excerpt, with the full error log attached and here:url
Code:
In file included from libungif/../xwrap.h:5,
from libungif/../asim_afterbase.h:23,
from libungif/../afterbase.h:36,
from libungif/gif_hash.h:24,
from libungif/gif_lib_private.h:5,
code....
View 1 Replies
View Related
Jun 3, 2010
I am having a problem I have never encountered before. When I try to install programs, I get a failure to compile error in configure. I have tried to install Prozilla, Prozgui, and Aria2, but I get the same message for each. The message follows code...
View 9 Replies
View Related
Oct 30, 2009
Is it possible with minimal modification?
View 3 Replies
View Related
Feb 2, 2010
Where do I find the linux-source package and the linux-headers package? Are they on the CD that I can copy to /usr/src (is that the right place...)? Or do I need to download them from the old-releases.ubuntu.com site?
The issue now is that the nVidia installer from their website wants the source code to build the right packages for this machine, however, I do not have the src directory with the source code that it is looking for. Is there some way to give this too it now?
I am running Mythbuntu 7.10
View 2 Replies
View Related
Jul 28, 2011
Actually I had a folder called Lib, in which I had a few libraries installed and configured.(MPI, PETSc, SLEPc) I accidently deleted (by rm) the contents of that folder.
Then I reinstalled MPI,PETSC,SLEPC using the same tarballs as earlier(thus, the version etc. is the same).
I already had a fortran program with many modules and subroutine files, and the corresponding makefile which used to compile and run fine. But now when I type "make" in the same directory as before, I get this: (shortened, many similar errors)
Code:
Firstly, why is mpif90 compiling my program when I didnt tell it to? In my makefile, I have specified gfortran as my compiler....nowhere have I even mentioned mpif90. Such a thing never used to occur before.
Also, if I rename file_variable.f to file_variable.f90, these errors dissappear (I understand why, but that is not the problem), but a new error comes:
Why is the new MPI installation interfering with make ? I want to go back to how things were before I stupidly broke all installations. The errors themselves are not the problem, the problem is why the new mpi installation is interfering with make.
It seems as if mpif90 has taken over make and gfortran. I suppose I didnt install it correctly, or probably I didnt uninstall the earlier one correctly.
Everything that worked earlier doesnt work suddenly. I use ubuntu 11.04 MPICH2-1.3.2
View 1 Replies
View Related
Dec 29, 2009
can open the programs pe-install, but can't open other programs or install new programs
View 4 Replies
View Related
Jan 5, 2010
I'm quite new to linux and I recently (and courageously) upgraded the computer of my work from opensuse 11.0 32bits to opensuse 11.2 64bits.
Well, everything would be quite fine except that I still have some softwares 32 bits that have the 64 bits version available. I know that because, using YaST, I can see by the Installed software section that there are 'choices' of versions for some programs; these versions are 'i586' and 'x86_64', and many of them have the i586 version installed.
So, I wonder if there is some type of auto upgrade all programs which are i586 and have the matching x86_64 avaliable...
View 6 Replies
View Related
Apr 15, 2011
Trying 11.4. But, confused on package managers and update programs.There are no updates found when I run "online update" from yast. But, KPackageKit says updates are available. Why are the two opensuse update programs showing inconsistencies? Which one do I trust?
View 9 Replies
View Related
Mar 27, 2010
How do I compile a tar.bz2 file I have never successfully done it. I really want to do it for mac on Linux.
View 9 Replies
View Related
May 16, 2010
I had a difficulty with scilab, it would not plot! an would give me error 21. and crash.!I could not figure it out. I tried to install from source. and this is where real trouble came ./configure crashed with the following errorchecking Symlink for /usr/lib/jvm/java-1.5.0-gcj/bin/javac... Filename changed... Keeping the one found beforeJava base directory (probably) available here : /usr/lib/jvm/java-1.5.0-gcjchecking for zip or jar files to include on CLASSPATH... checking to see if the java compiler works... configure: error: Could not compile simple Java program with '/usr/lib/jvm/java-1.5.0-gcj/bin/javac'. Try with the Sun JDK (1.5 or 6). I changed to the directory to find this
alon@linux-6xrt:~/Downloads> cd /usr/lib/jvm/java-1.5.0-gcj/bin/
alon@linux-6xrt:/usr/lib/jvm/java-1.5.0-gcj/bin> ls
appletviewer jarsigner javac javah rmic
[code]....
View 2 Replies
View Related
Jun 20, 2011
I was using my college's unix server (ubuntu presumably) to compile programs in the laboratory. Now, i have installed Opensuse 11.4 with gnome3. I have installed the Developers pattern, and almost all the packages that looked relevant (which came up when i searched for libgc , gcc, and all). Now, i cant compile a program:
Code:
/*program to test file I/O and getch/putch functionaliny in gcc*/
#include<stdio.h>
int main()
{ FILE *fi;
char ch;
[Code]....
View 1 Replies
View Related
Mar 22, 2010
The module vboxdrv cannot be succesfully compiled on my system. It has OpenSuSE 11.2 with kernel 2.6.31.12-0.1-desktop
The following rpms are installed:
gcc, make, autoconf, automake and pam-devel are present too.
The command
leads to an error message:
The log contains these lines in the first part:
Is something wrong with the kernel headers or source?
View 7 Replies
View Related
Oct 14, 2010
I am having trouble compiling CineFX. These are the errors I get:
linux-q69k:/home/dmbmagic/CineFX # cd jahwidgets
linux-q69k:/home/dmbmagic/CineFX/jahwidgets # make
list='src';
for subdir in $list; do
make -C $subdir all || exit 1;
[Code].....
View 9 Replies
View Related
Nov 1, 2010
I am trying to install an Open GL screen saver "EulerTop-1.2" and I get the following error message when I run configure - "checking for perl /usr/bin/perl checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. For more details about this problem, look at the end of config.log. Make sure that you have compiled Qt with thread support!" It appears to be installed -
vance@linux-i4xo:/> rpm -q qt3
qt3-3.3.8b-93.1.x86_64
how does one enable thread support? I have looked around the web but cannot find a solution.
View 9 Replies
View Related
Jun 14, 2011
I'd like to install the following plasmoid HDAPS monitor KDE-Look.org. For some reason it is no longer available for openSUSE.
how I should compile this and then install it.
EDIT: should have specified I'm using 11.4 and KDE4.6.3
View 6 Replies
View Related
Nov 24, 2010
I can compile and run ntpd 4.2.6p2, but after a while the reach indicator falls back from 377 to 0 and then the ntpd is in an unsynced state for a while. So far I haven't seen any indication why we have this.
View 1 Replies
View Related
Dec 26, 2010
I just tried to install qtparted ver0.4.5 on my computer to help partitioning my HDs.After doing the "configure/make"-sequence (using unsermake, as required), I received following error during compilation:
"qp_libparted.cpp:1751: error: �ped_free� was not declared in scope",My parted version is 1.9.0-3.7.1 from openSuSE 11.2.My question:
1. Do you know, which other library might contain this "ped_free"-declaration?
2. Any other perted GUI, that might work better (gparted is only available on a live DVD after boot)
View 2 Replies
View Related
Jan 21, 2010
I would need to compile some old codes with g77 (unfortunately, they doesn't compile with gfortran). The gcc44-fortran is installed on my computer but if I have well understood, there is no g77 compiler in this package... Do you think I can install gcc33-fortran without creating conflicts between the 2 packages?
View 2 Replies
View Related
Apr 14, 2011
our prof wants us to make some measurable changes in the kernel as a part of our assignment. I'm new to linux (started using linux only day b4 yest)... till now i've built a new kernel using cloneconfig and ended up with a rpm package (since i couldnt find any other option).and here's the prob
1. how to make changes in the kernel code?
2. do i have to create an rpm everytime after a change? (it jus takes too long )
View 9 Replies
View Related
Mar 14, 2009
I have used a new header file named curses.h in my program.when i try to compile my program it shows me the following error "No such path or directory".What may be the problem?A part of the program is shown below
#include<unistd.h>
#include<stdlib.h>
#include<curses.h>
[code]...
View 2 Replies
View Related