General :: Compiling And Running GTK Programs

Jun 24, 2010

I am trying to study gtk programming and get stucked before some errors in compiling them. Iam using ubuntu 9.10 and i didnt installed any additional libraries or packages for running these gtk programs assuming gtk is already installed in ubuntu. I am newbie to gtk I tried compiling some example programs from my tutorial and it ended up in errors. So do I need any additional packages to run these programs.when compiling it shows package config cannot find any gtk+-2.0 packages and to try specifying .pc in environment path. I don't know how to set these path stuff.

View 1 Replies


ADVERTISEMENT

General :: Compiling And Running C Programs

Aug 19, 2010

I am new to C programming and I need a way to compile and run my code. I've made a little research and I found that eclipse is a nice IDE. But I don't know how to configure it and generally. What do I need to download and install to make it work. I've also tried downloading easy eclipse that doesn't need any configuration or extra files but the link on the site was broken. Is there any other C IDE like easy eclipse available?

View 5 Replies View Related

Ubuntu :: Compiling And Running Some C++ Programs (with G++ From The Terminal)?

Jun 7, 2011

so i've just been sitting here, compiling and running some c++ programs (with g++ from the terminal), I looked away for one minute to open a file that had just been written out (opened it with gedit if that makes a difference), now my terminal says:kbuildsyscoca4 running...so I'm wondering if anyone knows what this is about?hy it suddenly started running and why it has appeared on my terminal. I'm basically just curious as I though bash shells were entirely separate virtualizations of shells, and unrepresentative of other processes. i'm also wondering what kbuildsyscoca4 is/does (i've got gnome going on and generally gnome varieties of programs). I found a post from about a year ago mentioning the same thing, though no replies.

View 1 Replies View Related

General :: Compiling And Installing Programs As Non-root In Home-dir ?

May 31, 2011

I'm trying to compile programs under Solaris in my Home directory.

Ive had experience with simple installs which work with just

But with more involved programs, with dependencies on special libraries, how do I have the system look into my home directory for these? and how would I compile them into my home dir?

View 2 Replies View Related

General :: Compiling 32bit Programs - How To Set Arch Variable

May 21, 2011

I am new to Slackware and I am wondering how you set the ARCH variable. On the multilib wiki page it says:

"Rather than editing the script and change/remove CFLAGS definitions, you can set the ARCH to 'x86_64' and save yourself some time."

So from this I understand that they advise against editing the Slackbuild script. How do I set the ARCH variable on the command line or is it a configuration file I need to edit? I am running Slackware 13.1 64.

View 2 Replies View Related

General :: Compiling Programs - Understanding Concept Of Makefile2

Jan 13, 2011

# Filename: makefile2
# Usage: make-f makefile2
# Description: Maintains all the dependencies between modules using the
# Agenda1.

CC=g++
CFLAGS=-c -Wall
LDFLAGS=
SOURCE_MODULES=main.cpp factorial.cpp hello.cpp
OBJECT_MODULES=$(SOURCE_MODULES:.cpp=.o)
EXECUTABLE=programa1
all: $(OBJECT_MODULES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECT_MODULES)
$(CC) $(LDFLAGS) $^ -o $@
.o: .cpp
$(CC) $(CFLAGS) $< -o $@

I am suppose to explain the dependencies that exist and each of the following lines of makefile. Lists orders to be executed as a result of running the make utility on it.

View 3 Replies View Related

General :: Compiling Programs - Steps For Producing Executable

Oct 19, 2010

I'm trying to get my head around compiling programs, and need some things clarified. Can anyone confirm or deny my understanding so far:

1) Program is written in high level language, such as C. File(s) of the program are the 'source code'.
2) Program is then 'compiled' to turn it into low-level code that is both hardware - i.e. Intel/AMD/ARM processor specific, and also Linux distribution specific. This resulting files are called the binaries.
3) I can go from source code to installed and usable program by doing these steps:
./configure
make
make install

View 6 Replies View Related

General :: Compiling Modular Programs - Not Present Directory

Jul 6, 2010

I am trying to write modular program but when I try to compile I come to know I don't have any files in /usr/src/linux. I have installed fedora 12 which has 2.6.31.5-127.fc12.i686.PAE. I am including in my code:

linux/kernel.h
linux/module.h

Those are not present directory in /usr/src/linux is not present. My goal is to compile modular programs.

View 10 Replies View Related

General :: Security - Running Suspicious X Programs In GNU?

Mar 18, 2010

What the most harmful thing can malware program started as separate limited user account do if it has access to the X server? Network and filesystem things are already considered by chroot and netfilter.

It obviously can lock the screen and I will need to switch to other vt and kill it manually. Can it for example disrupt other GUI programs on the same X server (access a root terminal in nearby window)?

I know that it is safer to run it in separate X server, for example, in Xtightvnc or even some virtual machine, but how dangerous is to just run it like other programs?

View 3 Replies View Related

Software :: Typing CC Command While Compiling Programs?

Feb 24, 2010

I am doing my project which detects and displays the error message along line number when compiling c programs under Linux. Using gcc command..cc command which we generally use. For which my program must act as a compiler and generate error messages when user program is written and compiled. My idea was to develop a shell script program using name suppose ncc that would be..

$ vi ncc.sh
echo "compiling program $1"
$cc MyPgm.c
$.a/.out
<esc>
:wq
Now user program pgm1.c can be compiled using
$ sh ncc.sh pgm1.c

This will invoke my compiler program. But the thing is how to pass user program pgm1.c as input to my compiler program...

View 2 Replies View Related

Fedora :: Compiling Programs - No Package Libnotify Found

Jul 26, 2011

I want to compile program. "./configure" giving :

Code:
[kuba@Kuba-fedora uget-1.8.0]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executable .....

Configure: error: Package requirements (libnotify) were not met:
No package 'libnotify' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
and LIBNOTIFY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. But I have the newest version of libnotify.

View 2 Replies View Related

Ubuntu Security :: Compiling Programs Using OpenSSL Libraries

Mar 30, 2010

I tried to compile C program that uses Openssl libraries on shell but got this error. I guess libraries are not linked properly.
undefined reference to SSL_library_init()

View 1 Replies View Related

General :: Disable Internet Access For Programs Running In Wine?

Feb 24, 2011

How can I disable Internet access for programs running in Wine?

View 3 Replies View Related

General :: Programs No Longer Showing In Task Bar - System Running Much Slower After Update

Apr 26, 2011

using mint 10, now after updates my system is barely working. The programs were no longer showing in the task bar, and the system was running much slower.

[code]...

This repeated over and over again. My temperature was never to high 40-55, and I found a suggestion to update my kernel to 2.6.37-020637. After doing so there is no longer the thermal limit exceeded error but the computer is still running poorly. The system is slow and again no programs are showing up in the task bar when open.

View 6 Replies View Related

General :: Lost All Running Programs On A Server (inside *screen) When Client Restarted?

Apr 21, 2011

I sshed to a server a week ago, then ran *screen* and created a few windows in my screen session. I then ran a few programs on those screens. All the programs were running in the background (I run them with &). I did not close or detach from the screen sessions. So I was still connected to those screen sessions from my client machine.

Then, this morning I find my client machine rebooted. When I do screen -ls I find there are no screens available to reattach to. But that is not the worst part. The strange thing is that all my processes (which were running on the server) have disappeared as well, even though they were running in the background. I thought 1) using screen I will be able to re-attach to old screens when my client restarts, 2) If I have sshed to a server and have run programs in the background, restarting the client should not stop those programs (even if I had not used screen).

View 2 Replies View Related

Software :: UnsatisfiedLinkError While Compiling And Running JVLC (Java Binding For VLC)

Sep 3, 2010

I am try to compile and run JVLC (Java binding for VLC). I download it from the following link. [URL] It works on windows platform with eclipse. But I want to run on linux. I use openSUSE 11.2 and Netbeans 6.9.1. When I running it, it appear user interface but when I play it, I got the following error. The error is

Code: java.lang.UnsatisfiedLinkError: Error looking up function 'libvlc_video_set_parent': /usr/lib/libvlc.so.5.1.0

I thinks I miss "libvlc.so.5.1.0" package to install. But where I can get it. In my openSUSE I have already installed "libvlc5-1.1.3-1.2.i586.rpm". But I cannot found /usr/lib/libvlc.so.5.1.0 directory.

View 1 Replies View Related

Fedora :: 100% CPU Useage With No Programs Running ?

Sep 10, 2009

I have a HP 530 laptop running Fedora 11

If I run 'uname -ar' Linux 2.6.30.5-43.fc11.i586 #1 SMP Thu Aug 27 21:18:54 EDT 2009 i686 i686 i386 GNU/Linux

It has virtual machines and a dual core processor.

The results of

Code:

Power management:

processor: 1

flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts pni monitor vmx est tm2 xtpr pdcm

bogomips: 3657.37

clflush size: 64

power management:

View 11 Replies View Related

Fedora :: Running Programs On Gnome Log Off?

Dec 18, 2010

I am using Unison so synchronise my files. I have configured Unison to start when I log on no problem, but is there any way that I can open Unison when I click log off, such that it will wait for Unison to finish before actually logging off (I need to input a password and respond to prompts)?

View 2 Replies View Related

OpenSUSE :: Programs Not Running Under Another Console?

Dec 19, 2010

I installed openSuse 11.3, and configured my inittab like:

1:2345:respawn:/sbin/mingetty --noclear tty1
2:2345:respawn:/sbin/mingetty tty2
3:5:respawn:/usr/bin/startx -- :3 tty3

[code]...

under the console 7 (ctrl+alt+f7), I have a virtual win xp, and I run some music and apps in it.. but, when I switch to any another console, it just shuts up.. also, when I log in as a root under console 2 and go back to console 7, sound card also shuts up..

View 3 Replies View Related

Ubuntu :: Running Programs After ISO Mount

Apr 8, 2010

My problems is that after i've DL a program and then use unrar to open up the files...I was able to successfully mount a linux version game using Furious ISO mount (the game is Civilization call to power loki) Now I can see the files inside the folder but I can't figure out how to run the game after its mounted

I've looked around a lil bit and I know someone has probably asked this question before but most of what i find is people asking how to mount the image to begin with

View 5 Replies View Related

Ubuntu :: Running Programs From Windows?

Jul 3, 2010

I have a dual boot system, Windows 7 and a WUBI installed Ubuntu 10.04, both are 64 bit. Can I use Wine to run a program installed on the Windows partition? If so is there anything special I need to do? My Ubuntu partition is really small and I:d like to keep it that way.

View 3 Replies View Related

Ubuntu :: KDE Programs Running Under Gnome?

Feb 15, 2011

Are there potential compatibility problems if a KDE program is installed and run under Gnome in the standard Ubuntu Desktop 10.10? If two programs with the same functions are available, is it better to select the Gnome version?

View 3 Replies View Related

Red Hat / Fedora :: Running Exe Files Through C Programs?

Apr 7, 2010

i have a C program which creates an executable file in linux after that we can use that exe file and decode any file which is encoded by flatedecode algo now i have to write a C program... which reads a file.....use the above mentioned exe file and den post the decoded output.... i am in need for a code in C which can run EXE files and perform some function...

View 1 Replies View Related

Ubuntu :: Running WinXP Programs In VirtualBox?

Jun 5, 2010

Everything works fine; No problems running WinXP from an ISO, etc. I have several Windows only applications which I want to run on the WinXP VM. I cannot see the programs I have downloaded when using Explorer for Windows.Ordinarily, in a WinXP only system, I just find the program to be installed and double click on it to start the automatic installation routine.In this case, I cannot see any of the .exe files used for the install.I have placed those downloaded Windows application in the same directory on my Ubuntu Box as where VirtualBox, the Sun Guest Editions and the CD Image of the Garmin Trip and Map system.I installed the Garmin system directly from and ISO of the CD I made using Brasero. It works without a hitch.Should I take the Windows e.e programs and burn them to a CD and then transfer them as ISO tback to the VM drive?

View 3 Replies View Related

Ubuntu :: Get A Segfault Whenever Running Programs With OpenGL?

Oct 24, 2010

I'm running Ubuntu 10.04, and for some reason I get a segfault whenever running programs with OpenGL. I ran "lspci | grep VGA" in the terminal and this is the output:

Code:
02:00.0 VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500 Series]

View 2 Replies View Related

Ubuntu :: Wine, Or My Error, Programs Not Running?

Apr 11, 2011

i used to run wine and a windows chat program. I got away from linux for a while, but now am back, but the same program i used to run, now gives and error.. to check my internet connection. <urlopen error [Errno 5] Access denided> I gave the program the permission to run, but what am i missing?

View 9 Replies View Related

Ubuntu :: Modding Programs Not Running In Wine

Jul 8, 2011

im try to run modding programs for xbox which are all for window (.exe) but the ones that dont have an install they just click and run in windows dont open my laptop thinks about it and doesnt open them here are the programs that dont work

mw2 clan edit
ezgt2.2
lefluffie
usb xtaf xplorer
modio

View 2 Replies View Related

Ubuntu :: Bash For Programs Running In Terminal?

Aug 9, 2011

Trying to write a script for desktop launchers that are adaptable to screen resolution. Ideally, the program should:

1. Determine screen resolution:

if "a" use xdotool options window size 1305 x 869 px and move to 135,0
if "b" use xdotool options window size 1545 x 1019 px and move to 135,0

2. Check if program running:

if no, open program, and use "a" or "b" placement options, focus window
if yes, focus window

3. Close script and leave program open (if possible).

Problems arise when trying to use the script on programs that run from and hog the terminal
(e.g. brasero, gcalctool, nautilus)

Here the script will load the program, and nothing else (probably because it still occupies the terminal as it runs)

Code:

gcalctool && xdotool search "calculator" windowmove 135 0

This next command will cause the program to load, move, but it keeps focusing itself like xdotool is running the windowmove function constantly - it keeps focusing itself until script stopped.

Code:

gcalctool & xdotool search "calculator" windowmove 135 0

This had the same effect as the above code, but seems to work as a conditional subscript running when the process is running in the terminal - it just goes infinitely.

Code:

while [1] ; do xdotool search "calculator" windowmove 135 0 done exit

Is there some kind of "if, then" or "while, do" or some kind of conditional I can put in to the script ensure the window is moved only once if the program is running within the terminal? Is there a way to remove the program from the terminal from the script once it's been called?

View 5 Replies View Related

Software :: Running Programs On Acer Aspire One ?

Aug 17, 2010

I have successfully created a dual boot system on my Aspire One net book computer with Windows XP and Ubuntu for net books. When I use the software installer the program icon shows up but when I click on the icon nothing happens. All of the software that was installed when I installed Ubuntu works fine. The software in question is a flight simulator named Saber.

View 1 Replies View Related

Debian Programming :: Running Programs In Parallel In Bash

Jul 22, 2014

I am trying to replicate what is happening on this page under the tcsh shell, but using the bash shell found in Wheezy. Here is the page I am referring to:[URL] The command I am trying to replicate is on page 6 under figure 2.4. The command is "prompt> ./mem &; ./mem &".

I would like to run the same program twice, concurrently, but do not know how. Note that I am not trying to use a bash script, but rather by simply using syntax on the command line.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved