Programming :: Link A C Application Using Glib 2.0?

Mar 29, 2009

I never had to use anything more than -l , -lm , -c ,-o.It was only through dev documentation that I came across glib. Now I want to to compile and link a program with glib.

View 5 Replies


ADVERTISEMENT

Programming :: Link Network Driver And Application Program?

Dec 23, 2008

I had return a driver for receiving and transmitting packets for the ethernet controller named rtl8139.I want to test it by writing an application program (socket programming).But I am unable to link it with the interface. Can anyone help in this regard?

View 1 Replies View Related

Ubuntu :: GLib-WARNING **: /build/buildd/glib2.0-2.28.6/./glib/goption.c:2132: Ignoring No-arg, Optional-arg Or Filename Flags

Jun 15, 2011

Quote:

(gimp:4216): GLib-WARNING **: /build/buildd/glib2.0-2.28.6/./glib/goption.c:2132: ignoring no-arg, optional-arg or filename flags ( on option of type 0
segmentation fault

gimp stopped working on kubuntu after installing updates, any fix?

View 9 Replies View Related

Programming :: Link Directories - Symlink Not Updated / Hard Link Not Supported?

Sep 6, 2010

In the ordering of files I keep I need links to directories. Sometimes I even need to move directories to new locations. I have tried using symlinks, but they become dead when I move the directory they point to. I have tried hard links, but I haven't found any Linux file system that would support hard linked directories. How can I achieve that a complex structure of directories (currently with symlinks for directories and hard links for files) keep symlinks live when directories are moved?

- is there any utility that updates symlinks when a directory is moved?

- is there any Linux filesystem that supports hard linked directories?

- is there any good Linux interface to the new NTFS (the only file system I know to support automatically updating directory links, called directory junctions)?

View 9 Replies View Related

Programming :: Looking For A C Programmer That Knows GTK/Glib?

Feb 28, 2011

I have posted this a couple of places - The Bodhi team and I are looking for some help from someone that knows their way around C and GTK/glib. Firstly - we are interested in having an extension written for the Midori webrowser that would allow it to open apt: protocol links with the command /usr/bin/apturl Second, I am interested in getting this and this added to the file manager PCManFM as features.

View 5 Replies View Related

Programming :: GTK - GLIB Version Mismatch During Installation ATK?

Jul 28, 2010

I'm currently installing GTK+ under Fedora Core 13. Before you install GTK+ you have to install GLIB, Pango and ATK. When installing ATK it goes wrong. After giving the "./configure" I get following error:

checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.25.8, but GLIB (2.24.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system

[Code]...

Apparently there is an old version of GLIB on my system bugging my installation process. Does anybody know how to get rid of this old version?

View 2 Replies View Related

Programming :: Error Message 'You Must Have Glib Installed'?

Feb 15, 2010

My level is starter with Ubuntu. Moderate experience with C.Problem starting with programming in C under Ubuntu.I have installed Anjuta IDE and made this classical program.

#include "stdio.h"
main()
{

[code]....

View 2 Replies View Related

OpenSUSE Install :: Glib Error - GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: Assertion Failed

Mar 31, 2011

As root, type "zypper update" and get several lines of the following error:

**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Loading repository data...
Reading installed packages...

Nothing to do. Used zypper dup to upgrade from 11.3. Still have boot problems (will open another thread), but had major problems upgrading timezone. File downloads would reach some percentage of completion, then B/s would slowly reduce, to zero. Upgrade would halt until manually aborted. Solution was to manually download 5 timezone files and install them in a directory repository. File download did not specify just the timezone file, but also a part of the directory. Could this be part of the problem? example: ./rpm/i586/timezone-2011d-0.2.1.i586.rpm instead of just the file name.System is a Dell 3000 (Pentium 4, 512MB memory).

View 5 Replies View Related

Debian Programming :: Using Glib To Create Menu File

May 12, 2015

I am using GTK and C and on my application I have a Drag and drop feature.

Code: Select allicon_view = gtk_icon_view_new_with_model(create_and_fill_model(pALP));
   g_object_unref(pALP->list_store);      /* destroy model automatically with view */
   gtk_icon_view_set_selection_mode(GTK_ICON_VIEW(icon_view), GTK_SELECTION_SINGLE);
   gtk_icon_view_set_reorderable(GTK_ICON_VIEW(icon_view), TRUE);
   gtk_icon_view_set_text_column(GTK_ICON_VIEW(icon_view), COL_DISPLAY_NAME);

[Code] ....

The drag and drop works fine but when I exit the application and enter again, the changes of the drops are not saved, meaning the new location is not saved. I understand that in order to save the location of the drops I need to create a menu file and write some xml, But how do I do this? it there another way?

View 0 Replies View Related

Debian Multimedia :: Create Link To Application In Kde

Jul 31, 2015

I installed debian 8.1, network install on a ThinkPad T60. When I right click the Desktop, I don't get "Create New -> link to application" and other links. In mint 17.1, I get a Menu with all links. I want to create a link to seamonkey with an icon on desktop.

View 3 Replies View Related

Ubuntu :: Link To Application Cannot Find Applications In Home Folder

Jan 27, 2010

I seem to be seeing some weird behavior in kubuntu with KDE 4.3.2 and KDE 4.3.5 for Kubuntu 9.10 32-bit.I have a few programs in my home folder. For instance Eclipse and Mendeley. it seems that when i create a Link to Application does not launch them. Here is how I create the links.

-> I right click and create a new "Link to Application"
-> I click on the Application tab and browse to where the shell script, or executable is.

and when I try to launch them it does not work. The link is using the absolute path. I tried setting the working directory and using a relative path but nothing. If I run the link in a terminal it says "Warning: Could not find" and the application I set. Now this seems to not be a problem for system applications like Kate. If i change the link to launch Kate it works perfectly.

View 1 Replies View Related

OpenSUSE :: Adding "link To Application" To The KDE Panel

May 3, 2010

My "dolphinsu" application is buggy. It won't allow superuser opening of files for editing in superuser kwrite.

But if I make a "link to application" on my desktop with this as the application command:

Code:

Then I get a superuser file manager that does allow me to open files for sditing with superuser kwrite.

I'd like to add the link (to "kdesu konqueror /") onto my KDE Panel so I don't have to hunt down the icon on the KDE Desktop to open it.

How do I add a custom link like this into the icons on the KDE panel?

View 3 Replies View Related

Programming :: How To Link To Different APIs

Apr 21, 2010

I decided, as a project of mine, to create a small computer that could link up to a small display. Because the computer is very low-powered, guess what OS I decided to use? Linux... Ubuntu to be specific.Anyway, I come from using Xcode on OSX (very user-friendly compiler) and some tools for GUI and scripting development. That's where the problem comes in.I know C++, but I do not know how specifically Linux handles programming. I have the GCC compiler installed, and I know the terminal command to compile, but I have a few questions:

1. How do I link to different APIs (like OpenGL)
2. When I compile multiple files, do I compile the main .cpp/.cc file? Or is there a project file I use.
3. Is there a way to make GUIs easily in Linux? I was looking at the 'QT 4' tools.
4. What do the 'QT 4' tools do specifically?
5. Any good IDE? I am using 'Kate' at the moment, but I am not sure how it compares to other programs.
6. Any other tips? Pitfalls to watch out for? Hints to program quicker? Other software I could use?

View 2 Replies View Related

Programming :: Static Link SDL?

Jun 13, 2010

I have made a very simple program in SDL that draws one image four times on a window.However I wanted it to be statically linked so the end user wouldn't have to install SDL and SDL-image in order to get the program working.

View 3 Replies View Related

Programming :: Link Static Libraries With Gcc

Oct 15, 2010

I am stuck with a problem to link static libraries with gcc. There is no problem with source files since I am able to compile in a machine where the static library is installed. I am compiling with the following: Code: :~/Emotion/pjproject-1.0.3/third_party 157% gcc -Wall -I/portaudio/include -o rec patest_record.c -L./lib -lportaudio-x86_64-unknown-linux-gnu

[Code]....

View 5 Replies View Related

Programming :: GCC Linker Failed To Link ?

Apr 7, 2011

In linking a library in using GCC.

I am compiling Pro*C code.

When the maKe file start compiling if prints following :

Code:

I tried different options but unable to find the reason why it is not linking the libraries correctly.

View 3 Replies View Related

Programming :: Write C++ Progrms And Link Them To Tcl?

Dec 16, 2010

how to a write c++ progrms and link them to tcl. I.e if I want to implement a protocol of my own. I tried but lot of errors appear. In response to( file not included errors) i added proper paths of header files in (#include)my c++ file only to get many more errors.I tried also with marc greis tutorial 7th chapter ping protocol program also with same result. Even compiling a small c++ program is also difficult. Please anyone tell me the steps to be followed how to a write c++ progrms and link them to tcl. I.e if I want to implement a protocol of my own.

View 1 Replies View Related

Programming :: Capture Link Values With Cgi Script

Mar 23, 2010

I'm creating my personal site in HTML/CSS and Perl/CGI. I have a list of links:

Quote:
<a name="link1" href="/cgi-bin/script.cgi">value1</a>
<a name="link2" href="/cgi-bin/script.cgi">value2</a>
<a name="link3" href="/cgi-bin/script.cgi">value3</a>
<a name="link4" href="/cgi-bin/script.cgi">value4</a>
<a name="link5" href="/cgi-bin/script.cgi">value5</a>

I want capture values of "value*" in <a> tags with script.cgi.

View 8 Replies View Related

Programming :: Link A Code In C++ With Tinyxmldll Library

Jul 1, 2010

i am trying to link a code in C++ with tinyxmldll library:

Code:

master out # ls -la
total 1388
drwx------ 2 root root 4096 May 10 14:02 .
drwx------ 6 root root 4096 Apr 5 08:35 ..

[code].....

When i link, i get 'undefined reference' error:

Code:

master hneat # make nt
g++ -g -DTIXML_USE_STL -DHCUBE_NOGUI -fPIC -I./hneat -L./hneat -I/home/niko/hyperneat3/HyperNEAT_v3_0/JGTL/include/ -I/home/niko/hyperneat3/HyperNEAT_v3_0/tinyxmldll/include/ -I./Experiments -I../ -I./ -L/home/niko/hyperneat3/HyperNEAT_v3_0/tinyxmldll/out/ -L/usr

[code]....

The problem is, the symbols contain weird characters. How do I tell g++ that it should ignore these characters and link the functions correctly?

View 4 Replies View Related

Programming :: Link Mobility File With Tcl Script?

Apr 26, 2011

i want know how to link mobility file with tcl script? i tried with set val(sc) "test" but getting error message like

[root@localhost example]# ns box.tcl
setting initial variables...
setting other default settings...
removing unecessary packet headers...

[code].....

View 1 Replies View Related

Programming :: HTML: Make A Link That Goes Absolutely Nowhere?

Jul 29, 2010

I need to make a link that goes absolutely nowhere, since it has an onclick event that uses javascript to show/hide content. It needs to look like a standard link and the mouse needs to change to the finger cursor like a standard link.

The following all don't work:

Code:

<a href="#" onclick="show_element('jetshop')">Read more...</a>
- moves to the top of the page.
<a href="" onclick="show_element('jetshop')">Read more...</a>

[code]....

View 3 Replies View Related

Programming :: Link One Library Statically Others Dynamically - Gcc - G++

Jul 6, 2011

I would like to make gcc to link one lib (pthread in the example) statically, and the rest dynamically.

(See the example .c file at the end of this post.)

compiles fine, but every lib is linked dynamically.


Now every lib is linked statically

Not a dynamic executable

I would like to link the libpthread statically and the rest dynamically. Is it possible?

[url]says if I give the full path to the .a lib then it will be linked statically:

So for me it does not work.

On other sites I found that I should use -Wl,-Bstatic -lpthread -Wl,-Bdynamic, but it also doesn't work:

So, how can I do that?

Machine: Linux 2.6.16.60-0.27-bigsmp #1 SMP Mon Jul 28 13:06:32 UTC 2008 i686 i686 i386 GNU/Linux SLED 10

As an example I used a little demo program from [url]

Here is the code:

View 4 Replies View Related

Programming :: Proposal For Symbolic Link Technology?

Sep 12, 2010

Consider that symbolic links at times can be broken. The target reference can be lost or misplaced. As such, usage of a symbolic link becomes deterred or broken. I propose the following: Symbolic links from now on carry a checksum relating to the original file they are linked to. The original file will carry a property that checks if it has been changed. This property will figure out the new checksum, reconfigure the symbolic link, and continue the symbolic link. Furthermore, if the system were to change, there would exist the possibility of have a symblink-comparison feature that allows the user to check the entire filesystem for files that meet the checksum criteria so that symbolic links can once more be re-established.

View 2 Replies View Related

Programming :: Replacing Text With A Http Link With Sed?

Dec 10, 2010

Been at this all morning and fail on every attempt.

I have a file called sitemapindex.xml

Its contents just are names of the other sitemaps. Google gets pissy because it isn't in a http:// format.

So, I need "<loc>sitemap-c1mediawiki-............</loc>" to be replaced with "<loc>http://domain.tld/sitemap-c1mediawiki-............</loc>".

Here's the expression I've been trying:

find /path/to/site/sitemap-index-c1mediawiki* -type f | xargs sed -i 's/[<loc>sitemap]/[<loc>http://domain.tld/]/'

It fails.

I've tried with and without brackets.

View 4 Replies View Related

Programming :: Link Titles - Get HTML Tags

Jul 8, 2010

I had a set of link titles and wanted to get HTML tags for them. Actually I wanted to get from

[code]...

It's PHP based (running on linux of course . I'm sure same thing is possible by some awk/sed magic, but i wanted somehting more visual.

View 1 Replies View Related

Programming :: Linker Error - Couldn't Get The Program To Link

Jul 9, 2010

I have a simple C program which uses ncurses library and I am having linker issues and couldn't get the program to link.

[Code]...

So I think the ncurses libraries are in place but gcc still couldn't link. I am totally stumped.

View 3 Replies View Related

Programming :: Change / LINK Text To Yellow , White , Red?

Apr 25, 2009

Can anyone tell me how to change the LINK text to yellow or white or red??
The page is ( http://www.multidistro.com ) code...

View 5 Replies View Related

Programming :: Link Objects In Separate Directories Using KDevelop?

Oct 4, 2010

Using: Open SUSE 11.0 64 bit, KDE 3.5.9 (release 49) and KDevelop 3.5.1. Problem: A singleton was created in subproject A, and so an object file is created in subproject A. In subproject B, I want to use that object file. We have not been able to find a way to link that object file created in subproject A with subproject B. Also, the subprojects are in different directories. We created a symbolic link to the ".h" and ".cpp" files in directory A. And the project compiles and links just fine after adding the symbolic link to the header and cpp files in subproject B. My concern is, that two objects of that singleton will be created. The whole idea of making a singleton is so that there is only one instance at a time.

View 8 Replies View Related

Programming :: Parse Final Domain From Redirect Link ?

Jun 2, 2011

I have a collection of redirect links I need to grab the final domain from (indicated after "->"):

[url]
[url]

I'm thinking PHP/cURL is the way to do it. I've searched the net but failed to find a solution that works for all redirection links.

View 2 Replies View Related

Programming :: Get Path Of One Library To Link It Dynamically In Program?

Apr 28, 2010

I'd like to get path of one library to link it dynamically in my program. Probobly the best way would be to add macro to my configure.ac file.

View 2 Replies View Related







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