Networking :: Add A Link Library To The Kdevelop?

Mar 20, 2011

Currently, I am trying to use the Kdevelop4 in linux debian to make some debugging on a simple project. I added the <db.h> in the text editor and it is working. Unfortunately, when I am trying to build an "undefined reference to db_create error". So how to cope such error and where I have to add the searchable link libraries in Kdevelop4.

View 3 Replies


ADVERTISEMENT

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

General :: Link Shared Library Against Other Shared Library?

May 27, 2010

I think that the solution is very simple, but I cannot reach this solution. I'm trying to build an B.so that uses A.so.

A.so is compiled using C;
B.so is compiled using C++;

Inside "Aso.h" file I'had declared:

Code:

#ifdef __cplusplus
extern "C" {
#endif

[code]....

There's no error to compile that, this library seems to be compiled correctly, but using the "nm" command the Aso.so functions appear with "U" of undefined. Trying to build an executable using the Bso.so library, I got this error: /lib/../lib/libBso.so: undefined reference to `foo(int, int, int)' I think that to solve this problem it's only link the Aso.so with the .o files generated at the compilation phase of my Bso. Using the "ldd" command I'm able to see that Bso.so depends on Aso.so, so what am I missing?

View 2 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 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

Ubuntu :: Any Link To Get Source Code For PThread Library?

Aug 27, 2010

Can anyone please let me know of a link where I can find the source code for Linux pthread library?

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

Programming :: Link Code With The Real Time Library Using Qmake (.pro)?

Aug 23, 2010

I am trying to write suitable .pro file for my application. I need real-time library. Have you some ideas how to do that? I just need the line for linking with real-time library...

View 2 Replies View Related

Software :: Shared Bzip2 Library - Correct GCC Dynamic Link Switches

May 29, 2009

I am trying to use a shared bzip2 library in a program I'm writing. For the life of me I can't figure out the correct gcc switch to link it in. I've tried pkg-config, but i don't know the name of the .pc file. Is there any rule for these things?

View 3 Replies View Related

Ubuntu Networking :: Mount To Vista Needed For Apache - Symbolic Link Not Allowed Or Link Target Not Accessible

Apr 26, 2010

I have a problem where I'm using Ubuntu linux to mount a Windows Vista machine's USB drive and access it on the web using Apache. I did have the USB drive plugged into the Linux machine directly and that was working via the web. FollowSymLinks is on in httpd.conf

[Code]....

The mount works and I can see the files (see above) from my regular linux user account. If I make a test file in /mnt and soft link to that, I can see it on the web. So it's just the mount to the vista machine that seems to be a problem. It's supposed to be a simple read-only mount and the apache login should (I think) be able to see the same generic root access permissions.

log from apache: [Mon Apr 26 20:39:42 2010] [error] [client 99.99.99.99] Symbolic link not allowed or link target not accessible: /home/user1/pub_html/Music, referer: https://xx.xx.xx/~user1/music.html

The credentials have a login and password that matches a special read-only account on Vista. I can see the files on the system from Linux, but not via the web. As mentioned above, a different link to the same /mnt area works fine via the web. I've tried several different mount options with no success.

View 3 Replies View Related

Ubuntu Servers :: Mdadm Music Corruption - Link ITunes Library To The Music Files Via A Samba Share?

Dec 19, 2010

I've been building my digital music collection for some time and used to house it on a local drive with no quality issues. A while back I built myself a file server using ubuntu and mdadm in a raid1 configuration to protect against potential drive failure. I link my iTunes library to the music files via a samba share and everything works great on the surface. I've started to notice that random songs are becoming corrupted with pops clicks and silent pauses. I'll even re-download an album and notice that it's corrupted a few weeks later. Now I'm at a loss to what is causing this issue; I ignored it at first but it seems to be getting worse and more widespread as time goes on.

Do you think this could be caused by mdadm? It reports that all is fine via 'cat /process/mdstat' but I wouldn't know where to look or what to look for if there were syncing issues. The other possibility is that I have iTunes set to keep my music folder organized for me, but I've never heard of it actually corrupting the files it shuffles around. The bottom line is that my library is getting crappier as time goes on and I cannot stand for that!

View 7 Replies View Related

Software :: ./configure Problem For Libsf Library Due To Apparently Missing Libdb Library ?

Aug 4, 2011

./configure script fails to configure libsf. Please check the following last few lines of configure script error.

But find command shows the following;

It seems the file libdb does exist. man dbopen displays man page for dbopen. I also tried to ln -s /usr/lib/libdb.a and libdb.so /lib dir but all were in vain.

View 6 Replies View Related

Ubuntu :: Install KDevelop In 10.4?

Jun 3, 2010

I can't find them in the repositories, and don't want to run MS Visual Basic through wine. I'm looking into programming, and really need the highlighting feats of these programs (I know you can program in a simple word editor, but I prefer the help of an advanced program).

View 5 Replies View Related

Programming :: SDL Static Library - Shared Library ?

Apr 7, 2009

I'm reading about shared, static, and dynamic libraries. What is SDL? Is it static, shared, or dynamic?

I always thought a library would be a lot of .h and .cpp files compiled separately into .o files and then if you compiled your own program you could use the -l parameter to link the library and it was all compiled together. Now I'm not so sure.

I don't even see any SDL .cpp files in my system anywhere. All I have are lots of SDL .h files in /usr/include/SDL and I don't really understand the code in them.

I'm making a wild guess here: SDL is a shared library. SDL itself is NOT compiled into my program, therefore SDL must be on any system my program tries to run on. When I compile and link SDL all it needs is the header files to know what SDL function and objects it can use. And then on every system it uses an already compiled SDL shared library thingy somewhere.

So... where is that part of SDL? All I can find are header files.

I'm thinking the advantage of shared libraries is that someone could say update SDL on their own system and take advantage of the new features without having to download new executables with the new version of SDL compiled into them for every program that uses SDL.

So if I'm making an editor and a game engine and they both use a lot of the same .cpp and .h files that I wrote and I'm tired of updating one and then the other and I need to turn them into a library, then a shared library might be kind of a silly solution. I could just make a static library. Right? Because it's not SDL. Nobody else is ever going to use this library.

View 6 Replies View Related

Fedora :: No Plugins For KDevelop In Repo?

Nov 6, 2010

I just installed F14 (upgraded from F13), and I wanted to install the PHP plugin for KDevelop, but yum reports no plugin packages. A friend has openSUSE and he found the plugins in the repos. Have the plugins not been packaged for Fedora yet? I just want to know that before I install them from source.

View 1 Replies View Related

OpenSUSE :: Get A Binary Package For Kdevelop 3.5.5?

Apr 6, 2010

where I can get a binary package for Kdevelop 3.5.5?

View 4 Replies View Related

General :: Installing Kdevelop In Fedora10

Jan 25, 2010

please someone suggest me how to install Kdevelop in Fedora 10. i tried installin the rpm but its giving errors.please send me step by step procedure

View 3 Replies View Related

General :: KDevelop: Only To Develop GUI Applications?

Aug 12, 2011

Kernel 2.6.21.5, slackware 12.0 Kdevelop 3.3.91 writing a C program of a pretty good size and, when I am done compiling, I'll have to begin debugging. I know of dbg, but was thinking in one of those integrated development environments (IDEs). Looking into my HDD, I found a KDevelop package and began to see what it was about. The documentation (help) is copious and it seems I will never get to the point in the docs where I'll know if it serves my purpose. For I'm afraid it is intended to develop appls for KDE, when in reality, my appl runs in a text console. So that is the question. Is KDevelop mainly intended for developing GUI applications?

View 7 Replies View Related

Software :: KDevelop Language Installation

Jun 26, 2010

Trying KDevelop for the first time. I have the free pascal libraries installed, I have KDevelop 3.9.95 installed, I can select java, c+, C#, and so on, but I do not have an option for any pascal.I learned pascal in college, that is why I would like to use it (I know people dont like it, so please refrain from opinions), just looking for help.I tried lazarus, and yes it is nice, reminds me of Delphi, but I take issues with it not finding library paths when they are in the IDE.Would really like to use KDevelop, so if anyone can let me know how to let KDevelop give me options to use the pascal language, that would be great. I have searched through the menus, and cannot find anything that says something like "Insall additional language...".

View 5 Replies View Related

Software :: Kdevelop Missing Plugins?

Sep 19, 2010

I have been searching the internet in vain for the names of the packages that provide the following plugins for kdevelop in Debian Squeeze. The missing plugins are preventing me from testing the written programs.

Missing plugins:
1) C++ support
2) kdevcvs
3) make builder
4) output view
5) QtHelp
6) Subversion

The icons representing these plugins are all a question mark. I am assuming that means that they are missing. Needless to say, as it is, kdevelop is useless.

View 7 Replies View Related

Software :: Using KDevelop 4 To Make Plasmoids?

Jun 28, 2010

I have KDevelop installed but it doesn't allow me to make a new KDE4 template and searching the Internet has only yeilded headaches. Is it possible or do I have to get an older version?

View 3 Replies View Related

Slackware :: Kdevelop Doesn't Start In 13.1?

Jun 8, 2010

kdevelop doesn't start in Slackware 13.1. The output just says

Code:
...
/usr/bin/kdevelop.bin: symbol lookup error: /usr/lib/qt/plugins/sqldrivers/libqsqlite.so: undefined symbol: sqlite3_open_v2
Relevant packages installed on my system (all unmodified from 13.1):
sqlite-3.6.23.1-i486-1
kdevelop-4.0.0-i486-1
qt-4.6.2_2d3d3e5-i486-1

So it's a problem between sqlite and qt(?). Rebuild needed?

View 3 Replies View Related

Debian :: Failed To Install Kdevelop-4.2.2 From Source

Apr 9, 2011

After downloading four .bz2 source files containing the sources for kdevelop-4.2.2, I tried to follow Soul Singin' HowTo without success apart from receiving this error:

edbarx@edbarx-pc2:~/kdev$ dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):

[code]....

What should I do to enable dpkg-buildpackage build the .deb package files for me? The /home/myuserhome/kdev directory contains these directories:

kdevelop-4.2.2.orig  kdevelop-php-docs-1.2.2.orig
kdevelop-php-1.2.2.orig kdevplatform-1.2.2.orig

These .orig directories were created by dh_make --createorig, as dh_make alone grumbled that it needed --createorig.

View 1 Replies View Related

Fedora :: Restore KDevelop To Original F11 State?

Oct 23, 2009

I tried to install KDevelop4, decided I didn't want to use it, and now I am having trouble getting KDevelop3 working again. The only steps to installing kdevelop4 were installing a new version of kdevplatform and then kdevelop itself. I did this:

1) sudo yum remove "kdevplatform* kdevelop*"
2) disable updates and testing repo
3) sudo yum install "kdevelop"

The problem is that there is something wrong with the menus (File, Edit, etc). There are many important items missing, as well as one of them says "No text!". This indicates that this is not the original packaged version with F11 because I used it for a year and it was certainly not like this. Is there a better way to get back to the original version than I showed here?

View 1 Replies View Related

OpenSUSE :: Packages To Setup KDevelop For Programming With Qt?

Mar 22, 2011

I have KDevelop installed it tells me i dont have cmake so i installed one now when i created my project, it says it doesnt find the included Qt libraries i wonder if there is a pattern to install all KDevelop and Qt stuff? I am using openSUSE11.4 KDE isnt KDE built on Qt? how come there is no Qt libraries onboard?

View 2 Replies View Related

General :: Fortran Project In KDevelop On Opensuse 11.3?

Aug 27, 2010

I just installed OpenSUSE 11.3 and I want to use Kdevelop 4.0 for programming in fortran. when I try to start a new project (Project/New from template) I only get the choice between C++ and PHP. What can I do so that I can also use fortran.

View 1 Replies View Related

General :: Build A Fortran Project In Kdevelop?

Apr 20, 2011

I have installed gfortran,cmake,etc,but there is no fortran project to chose.What should I do ?

View 2 Replies View Related

Software :: Error In Building Projects In Kdevelop

Sep 18, 2009

1. I have fedora 9 installed, i installed kdevelop using command yum install kdevelop. so i think all the dependencies must have been resolved.

2.Built a new project in the category C++ -> KDE ->Simple KDE Application

3. then i tried to build it with "run automake and success" in the build tab. It was successful.

4. however, with the option "Run Configure" in the build tab again, I got the following:

View 2 Replies View Related

Ubuntu Installation :: Unable To Install Kdevelop By Using Command

Feb 6, 2010

i am new to ubuntu have migrated laptop from centos to ubuntu 9.10 i am customed to kdevelop scripting, i am however unable to install Kdevelop using commandIs there some issue with the respository configuration or kdevelop is not available with ubuntu 9.10.

View 3 Replies View Related

OpenSUSE :: Symbolic Link Not Allowed Or Link Target Not Accessible: /srv/www/htdocs?

Apr 28, 2010

i only need localhost for testing some phpnow i get[Wed Apr 28 18:44:57 2010] [error] [client ::1] Symbolic link not allowed or link target not accessible: /srv/www/htdocs

View 9 Replies View Related







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