General :: Compiling Library In Cygwin To Be Linked With VC++

May 21, 2010

I'm interested in modding an open-source turn based game called Advanced Strategic Command or ASC, but to do that I need bunch of libraries. Installing those libraries is very easy in linux, I know but the thing is I'm working with windows in which the building of the libraries is a bit more complex, as you probably know. One of those libraries is the ligsigc++, I'm using VC++ but haven't been successful in building the libsigc++ in VC++. I considered making my life easier with Cygwin (a unix shell for windows) and simply executing ./Configure, Make. I's worked like a charm and the library dll it produced is named cygsigc-2.0-0.dll which made me wonder is compiling a library in cygwin to be linked with VC++ perfectly ok? That is is there any difference in compiling in cygwin and VC++?

View 2 Replies


ADVERTISEMENT

General :: Compiling Using Cygwin - Error Not ELF

Oct 14, 2010

New to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:

Error: Not ELF
make[2]:*** [scripts/mod/elfconfig.h] Error 1
make[1]:*** [scripts/mod] Error 2
make:***[scripts] Error 2

Every time I try to compile it from the main directory of the source, which I hope is what I'm supposed to do, I always get this.

View 14 Replies View Related

General :: Difference Between Static And Dynamically Linked Library?

Aug 30, 2010

Libraries have always been ambiguous to me. I would love to have a clear understanding of them. Here's what I know so far... Ok I know that libraries are a bunch of functions and definitions in C that binaries use. I also understand that static libraries are used by the binaries in /sbin:/usr/sbin:/usr/local/sbin and dynamically linked libraries are used by the binaries in /bin:/usr/bin:/usr/local/bin So why have statically linked and dynamically linked libraries? I know that dynamically linked libraries are used to save space. Otherwise each binary would need its own private copy of a library. So dynamically libraries are used to save space.

1. Where are the static libraries and the dynamically linked libraries located in the file structure?

2. Where does ldconfig fit into all of this?

3. Would a rootkit affect both statically and dynamically linked libraries? I would think yes unless the libraries only have read permissions.

4. If the above is true, is there any reason for your libraries to have write permission other than when you want to edit them?

View 5 Replies View Related

General :: How To Know If A Symbol Refers To A Static Linked Library With "nm"

Apr 19, 2011

Given the code below:

<<snip>>
jlfdiaz@narcea:/tmp$ cat foo1.c
int foo1() {}
jlfdiaz@narcea:/tmp$ gcc -c -o foo1.o foo1.c

[code]....

Is possible to know with "nm", "ldd", "ar" or other unix similar command that executable "a.out" is statically linked with "libfoo1.a".

View 1 Replies View Related

Software :: Error In Compiling Libnet On Cygwin

Jun 26, 2011

I want to compile Firewalk in cygwin, But error compiling libnet occur:

Firewalk-0.99.1 #./configure
loading cache ./config.cache
checking host system type... i386-pc-cygwin32
checking target system type... i386-pc-cygwin32
checking build system type... i386-pc-cygwin32
checking for gcc... gcc .....
checking for PacketSetMode in -lpacket... no
configure :erroracket lib not found

What is "Packet Lib"? I have compile Plib Package, but the this error occurs again!

View 1 Replies View Related

Programming :: Compiling A C++ Program Including Libpq-fe.h Using Cygwin

Sep 16, 2010

Compiling a C++ program including libpq-fe.h by the command Code: g++ -I/usr/include -L/lib -lpq my_program.cpp for access to a PostgreSQL database results in the error Code: undefined reference to '_PQconnectdb'

View 4 Replies View Related

General :: How To Have A Mix Of Linked And Not Linked Files Without Linking Every File

Feb 20, 2010

I've got a shared (Windows/multiuser Linux) laptop, and I've got installed World of Warcraft and some steam games in Windows. With steam games, there is (almost) no problems. I've installed steam in Linux, and soft linked the 'steamapps' directory (per-game compatibility is another issue). With WoW, the problem is different. I would like to have almost (but not) all files. Under World of Warcraft, every file and directory must be linked except the Interface directory and WTF/config.wtf file (so every user can play with their own settings and addons). How can I have a mix of linked and not linked files without linking every file? If I link manually every file/dir, when updating from Linux other users and Windows Wow is not updated; when updating from Windows, new files remains "unlinked".

View 3 Replies View Related

General :: Using A Non-standard Library Path When Compiling Software?

Jan 10, 2010

I was wondering if there is an argument I can pass to the configuration file to have it use a library from a non-standard path to compile with - for example I would like it to use my perl located in /scratchbox/users/jeff91/usr/bin/perl instead of the standard /usr/bin/perl

View 3 Replies View Related

Programming :: Compiling The Library + Application?

Nov 28, 2010

I'm trying to learn how to cross-compile libraries (static and shared) and executables for the Blackfin + uClinux environment.At this point, I can successfully compile a stand-alone "Hello, world" but fail when trying to add a (static) library to the mix.Here's the source code I wrote:

Code:

#========== bar.h
void mytestfunc(void);
#========== bar.c
#include <stdio.h>

[code]...

Googling for this returns talks about "name mangling", but I don't know if this is what it is, and how to change the source/command to solve it.

View 1 Replies View Related

Programming :: Compiling The Poppler Pdf Library?

Jul 29, 2011

I am trying to use the QT4 frontend of poppler library in my application so I need to compile the library.In its main directory ./configure can be run but I got

Code:

checking which font configuration to use... fontconfig
checking for FONTCONFIG... no
configure: error: Package requirements (fontconfig >= 2.0.0) were not met:
No package 'fontconfig' 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 FONTCONFIG_CFLAGS
and FONTCONFIG_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.

I have fontconfig installed (ubuntu):

2.8.0-2.1ubuntu3 (fontconfig)

However I have no idea where those flags are and what to set them to.

View 11 Replies View Related

Ubuntu :: Missing Library Files While Compiling

Aug 18, 2010

I have tried to compile several programs from source code and have into a similar error in each case. I try make the program and I get an error like: fail program confsdefs.h. Reading further into the log file, I see there is a long list of missing library files when I compile something like Samba 3.5.x:

[Code]...

I have searched for dependency information and used apt-get to add anything I can find. How can I identify and find the dependencies for source? I have checked the source documentation though typically does not list required packages. My other question is how to check the path used to locate the libraries? Given the length of the missing library list, I think the problem may be configuring make.

View 2 Replies View Related

Programming :: Error Compiling C++ Program Using C Library

May 8, 2010

I've created 3 files: swap.h and swap.c then make static library from it

Code:

Then I write 2 program to test this library: test_swap.c and test_swap.cpp

I compile

Code:

What's wrong with this in C++? And how can I make a library that can work both for any C and C++ program?

Here the source code

Code:

Code:

Code:

View 2 Replies View Related

Programming :: Get Rid Of Cygwin.dll/Cygwin1.dll In Program Compiled Under Cygwin ?

May 17, 2009

I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.

I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.

I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).

View 1 Replies View Related

Software :: Compiling Libssh2 Error: The Required Libssh2 Library Was Not Found

Jun 18, 2010

I need to install libssh2 on my CentOS 32bit server to get ssh2 extension of PHP working, after installation of this rpm, I still can't run "pecl install ssh2-beta" because it give me this error: configure: error: The required libssh2 library was not found. You can obtain that package from [URL] ERROR: `/tmp/tmp2ImZz1/ssh2-0.11.0/configure --with-ssh2=/usr' failed

View 1 Replies View Related

General :: Listing All Linked Files

Jan 21, 2010

I can't seem to find a way to do this, so maybe it's not actually possible, but I was wondering if there was a way to list all files that link to a file.

For example.

touch a
ln a b
ln a c

I want to find out what files link to a (not symlinks, mind you), assuming that this is more complicated (they are spread around to different directories).

I kind of understand about the filesystem storing links in one area and data in another, so I understand it probably takes more work to find a link from a file location than the other way around.

View 1 Replies View Related

General :: How To Work On Cygwin

Jul 28, 2010

As one of our friends told, I have downloaded and installed the CYGWIN on my winows xp pc, to learn and practice linux commands.when the icon of it is double clicked, its screen as appearing as below:

System1@system ~
$
MY DOUBT IS :

I could make a directory with command like mkdir. But after that it is not allowing commands like touch, vi, vim etc.How i have to write data or a file in it. Still anything to do after installing CYGWIN.

View 3 Replies View Related

General :: Removing Linked Soft Link?

Sep 2, 2010

currently i am wanted to clean up my proj area but the problem with rm i am facing is some copy remain in disk with linked i am meaning soft link

A linked to B
B linked to C
C which is on other directory
A & B are on same folder

know when i run

rm -rf A

it removes only A & B but the C remain on the disk how i can remove C from the disk.. using the the same command..

View 2 Replies View Related

General :: Command To Show Me Which Directories It Linked To?

Mar 25, 2010

Which command will tell me whether a directory is a symbolic link or not?
if it is a symbolic link, is there another command to show me which directories it is linked to?

View 1 Replies View Related

General :: Fpermissive Error Of Gcc In Cygwin?

Apr 15, 2011

I am using cygwinI am getting these errors when i compile sim_routing.cc program by this command../../bin/cxx sim_routing.ccg++ -Wall -o sim_routing sim_routing.cxxfollowing errors comes../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*);error : there are no argument to 'strcat' that depend on template parameter so a declaration of 'strcat' must be avaible.error : <if you use -fpermissive g++ will accept your code but allowing use of undeclared name is deprecated>error : there are no argument to strcat that depends on template parameter,so declaration to strcat must be avaible

View 1 Replies View Related

General :: Installing Libraries For Cygwin?

Mar 19, 2010

I want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?

g++ - the version 4.4
graphviz
gnuplot
plotdrop

[Code].....

View 1 Replies View Related

General :: Can't Copy And Paste Into Cygwin

May 7, 2010

I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?

View 7 Replies View Related

General :: All Commands Exist In Cygwin?

Jan 25, 2011

I want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.

View 4 Replies View Related

General :: Make Not Working In Cygwin

Aug 16, 2010

I installed the CUnit framework which is a .tar.gz file from the bash shell in cygwin.

make gives me an error saying:

make install works
make clean works

I am not able to compile but install works I do not know if it is installed and as to where it is installed

when i checked it gives me a list of header files and also the lib files. I do not know as to why the make command is not working in cygwin. When i go to the bin directory it shows the make command.

View 5 Replies View Related

General :: Motion Detection" Sw Linked To Liberaries?

May 9, 2011

How is Motion Detection software interpreted, and who is responsible for the interpretation operation? Is motion.conf linked to a specific libraries?

View 10 Replies View Related

General :: Manual Install Perl-5.10.1-3.tar.bz2 On Cygwin?

Jun 6, 2010

I have the binaries: perl-5.10.1-3.tar.bz2 and I don't have access (admin privileges) to run setup.exe for cygwin, my question is how can I install manually inside cygwin the module for perl: perl-5.10.1-3.tar.bz2?(or maybe can I get the sources and compile? can someone tell me please how?)

View 1 Replies View Related

General :: Console Hex Editor Under Windows/cygwin?

Oct 18, 2010

ould recommend for a console hex editor under windows/cygwin/linux?

View 3 Replies View Related

General :: Cygwin - Myscript Command Not Found

Nov 8, 2009

But I just downloaded cygwin to my xp machine. Tried my first experimental script and created it one level directly below where cygwin put me by default. The script, named show two says:

#!/bin/bash
echo $1
echo $2

But bash apparently can't find it. The name of the script is showtwo, but I also tried naming it showtwo.sh; no dice.

View 8 Replies View Related

General :: Make Command Is Not Found In Cygwin

May 13, 2009

I have installed cygwin to my windows xp machine. I typed the commmand in cygwin shell it shows "command not found". How can i install make command in cygwin

View 2 Replies View Related

General :: Make - Command Still Not Working On Cygwin

Jan 21, 2010

Based on previous forum discussions, I tried to install cygwin with 'make' installed from develop during installation. I can even see 'make.exe' in bin folder, but still while running the make command, it still shows error.

I was confused in one other part. Should I put the bin folder in some specific location or just wherever it is placed during cygwin installation? I was running VIC model, do I need to place the bin folder inside VIC source code folder.

View 2 Replies View Related

General :: Unable To Declare A Variable In Cygwin?

Jan 21, 2010

I recently installed Cygwin on my windows vista to practice on Linuxunix commands.I am unable to do a simple task of declaring variables on the command prompt I am trying:

$ vech=Bus
$ echo $vech
bash: vech : command not found

What am I missing? Do i need to add something to .bashrc? Also, I remember right click on the shell command gives the ability to copy or paste text from the shell. I am using Bash, how do I copy n paste text on shell window?

View 4 Replies View Related







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