Sponsored Content
Full Discussion: Linking GDAL and GTK
Top Forums UNIX for Dummies Questions & Answers Linking GDAL and GTK Post 302936789 by Corona688 on Friday 27th of February 2015 05:33:56 PM
Old 02-27-2015
It means what it says. There's no command called 'shell'. Just do $(pkg-config ...) instead of $(shell pkg-config ...)
 

9 More Discussions You Might Find Interesting

1. Programming

Linking problem while linking to shared library

Hi I'm getting ld: fatal: option -h and building a dynamic executable are incompatible ld: fatal: Flags processing errors When I run ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o after running gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c I'm... (6 Replies)
Discussion started by: laho
6 Replies

2. Programming

Linking with gcc

Forgive as I am new to the gcc compiler and to linux. I am trying to compile/link a program for the first time and am receiving an error complaining about the crtbegin.o file. I use the -v option and get the following: Using built-in specs. Configured with: ../configure --enable-threads=posix... (1 Reply)
Discussion started by: jbeauchamp
1 Replies

3. Programming

dynamic linking

Hi, Could any one tell me solution for this. i have a library in my /usr/lib and latest in /myhome/lib/ (thay differ functionality symbols my application uses symbols from latest lib). when compile and link my application , every thing goes fine but when running the application ld... (4 Replies)
Discussion started by: Raom
4 Replies

4. Solaris

linking in solaris9

at the end of the compilation in solaris 9. it is showing link error. like..... ld: fatal: library -lgthread-2.0 not found failed to create the binary the library is in /usr/lib and in /usr/local/lib the lib file is present --->libgthread.2.0.so ......etc if i remove... (3 Replies)
Discussion started by: biswajithit
3 Replies

5. Shell Programming and Scripting

Query in linking

Hey guys, i have written the folowing grep command to find an ip address from various files and now i have to find the reverse DNS for it. I wanted to do it via nslookup or host does someone have any clue about how to do it? what i tried was grep -o... (2 Replies)
Discussion started by: snake450
2 Replies

6. AIX

linking problem

hello, Is the code compiled under Visual Age C++ Broker (a third party library) - can be used to link against a code compiled from gcc compiler. I have a problem in building xerces in AIX Please reply. Regards, Parthasarathy (1 Reply)
Discussion started by: Parthasarathy
1 Replies

7. UNIX for Dummies Questions & Answers

is linking possible?

how would i link 2 files together? is it the same as copying? (1 Reply)
Discussion started by: trob
1 Replies

8. Programming

Database Linking

Hey, i cant seem to find #include<sqlite3> in the libraries, even after installing sqlite3 in linux. how do i solve this problem (1 Reply)
Discussion started by: gregarion
1 Replies

9. Programming

curses.h not found , gtk/gtk.h not found

i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h .. i have also included them using .. #include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h" ... (2 Replies)
Discussion started by: upvan111
2 Replies
nearblack(1)						      General Commands Manual						      nearblack(1)

NAME
nearblack - nearblack convert nearly black/white borders to black SYNOPSIS
nearblack [-of format] [-white | [-color c1,c2,c3...cn]*] [-near dist] [-nb non_black_pixels] [-setalpha] [-setmask] [-o outfile] [-q] [-co "NAME=VALUE"]* infile DESCRIPTION
This utility will scan an image and try to set all pixels that are nearly or exactly black, white or one or more custom colors around the collar to black or white. This is often used to 'fix up' lossy compressed airphotos so that color pixels can be treated as transparent when mosaicing. -o outfile: The name of the output file to be created. Newly created files are created with the HFA driver by default (Erdas Imagine - .img) -of format: (GDAL 1.8.0 or later) Select the output format. Use the short format name (GTiff for GeoTIFF for examle). -co 'NAME=VALUE': (GDAL 1.8.0 or later) Passes a creation option to the output format driver. Multiple -co options may be listed. See format specific documentation for legal creation options for each format. Only valid when creating a new file -white: Search for nearly white (255) pixels instead of nearly black pixels. -color c1,c2,c3...cn: (GDAL >= 1.9.0) Search for pixels near the specified color. May be specified multiple times. When -color is specified, the pixels that are considered as the collar are set to 0. -near dist: Select how far from black, white or custom colors the pixel values can be and still considered near black, white or custom color. Defaults to 15. -nb non_black_pixels: number of non-black pixels that can be encountered before the giving up search inwards. Defaults to 2. -setalpha: (GDAL 1.8.0 or later) Adds an alpha band if the output file is specified and the input file has 3 bands, or sets the alpha band of the output file if it is specified and the input file has 4 bands, or sets the alpha band of the input file if it has 4 bands and no output file is specified. The alpha band is set to 0 in the image collar and to 255 elsewhere. -setmask: (GDAL 1.8.0 or later) Adds a mask band to the output file, or adds a mask band to the input file if it does not already have one and no output file is specified. The mask band is set to 0 in the image collar and to 255 elsewhere. -q: (GDAL 1.8.0 or later) Suppress progress monitor and other non-error output. infile: The input file. Any GDAL supported format, any number of bands, normally 8bit Byte bands. The algorithm processes the image one scanline at a time. A scan 'in' is done from either end setting pixels to black or white until at least 'non_black_pixels' pixels that are more than 'dist' gray levels away from black, white or custom colors have been encountered at which point the scan stops. The nearly black, white or custom color pixels are set to black or white. The algorithm also scans from top to bottom and from bottom to top to identify indentations in the top or bottom. The processing is all done in 8bit (Bytes). If the output file is omitted, the processed results will be written back to the input file - which must support update. AUTHORS
Frank Warmerdam warmerdam@pobox.com GDAL
Tue Sep 18 2012 nearblack(1)
All times are GMT -4. The time now is 01:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy