Code Monkey home page Code Monkey logo

wcs2kml's People

Contributors

dstndstn avatar waqasbhatti avatar

Watchers

 avatar

Forkers

dstndstn

wcs2kml's Issues

stringprintf.cc: needs #include <cstdio>

What steps will reproduce the problem?
1. (try to) build on ubuntu 10.04 (lucid)

What is the expected output?
clean build

What do you see instead?
 g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/google -I../../src/google/libwcs -I/usr/local/gflags-1.3//include -D_BSD_SOURCE -I/usr/local/gflags-1.3//include -g -O2 -I/usr/local/gflags-1.3//include -Wall -MT stringprintf.lo -MD -MP -MF .deps/stringprintf.Tpo -c stringprintf.cc  -fPIC -DPIC -o .libs/stringprintf.o
stringprintf.cc: In function 'void google_sky::StringPrintf(std::string*, int, 
const char*, ...)':
stringprintf.cc:39: error: 'vsnprintf' was not declared in this scope
stringprintf.cc: In function 'void google_sky::StringAppendF(std::string*, int, 
const char*, ...)':
stringprintf.cc:52: error: 'vsnprintf' was not declared in this scope
make[4]: *** [stringprintf.lo] Error 1


What version of the product are you using? On what operating system?
0.2.1

Please provide any additional information below.

Adding #include <cstdio> to stringprintf.cc fixes it.

Original issue reported on code.google.com by [email protected] on 26 Aug 2010 at 1:26

Compilation error with Libpng15

What steps will reproduce the problem?
1. use of libpng15
2.
3.

What is the expected output? What do you see instead?
Does not compile

What version of the product are you using? On what operating system?
Astrometry.net

Please provide any additional information below.
modified sources have been uploaded to astrometry.net discussion forum

Original issue reported on code.google.com by [email protected] on 22 Oct 2014 at 8:32

image.cc doesn't compile because of missing png_set_gray_1_2_4_to_8

Hi,

I get the build error shown below on Mac OS X Lion.
My ligpng was installed via Macports:
  libpng @1.4.8_0+universal (active)

I'd really like to check out this tool, so if you have any advice that would be 
great!

Christoph

Btw., the INSTALL still describes that installation should be done via 
configure, but that has been removed.

$ make
g++ -I/opt/local/include -I/usr/local/include -I./libwcs -Wall -O3 -c base.cc
g++ -I/opt/local/include -I/usr/local/include -I./libwcs -Wall -O3 -c 
string_util.cc
g++ -I/opt/local/include -I/usr/local/include -I./libwcs -Wall -O3 -c color.cc
g++ -I/opt/local/include -I/usr/local/include -I./libwcs -Wall -O3 -c image.cc
image.cc: In member function 'bool google_sky::Image::Read(const std::string&)':
image.cc:456: error: 'png_set_gray_1_2_4_to_8' was not declared in this scope
image.cc: In member function 'bool google_sky::Image::Write(const std::string&) 
const':
image.cc:535: warning: 'width' is deprecated (declared at 
/opt/local/include/png.h:655)
image.cc:535: warning: 'width' is deprecated (declared at 
/opt/local/include/png.h:655)
image.cc:536: warning: 'height' is deprecated (declared at 
/opt/local/include/png.h:656)
image.cc:536: warning: 'height' is deprecated (declared at 
/opt/local/include/png.h:656)
image.cc:537: warning: 'bit_depth' is deprecated (declared at 
/opt/local/include/png.h:667)
image.cc:537: warning: 'bit_depth' is deprecated (declared at 
/opt/local/include/png.h:667)
image.cc:538: warning: 'compression_type' is deprecated (declared at 
/opt/local/include/png.h:672)
image.cc:538: warning: 'compression_type' is deprecated (declared at 
/opt/local/include/png.h:672)
image.cc:539: warning: 'filter_type' is deprecated (declared at 
/opt/local/include/png.h:674)
image.cc:539: warning: 'filter_type' is deprecated (declared at 
/opt/local/include/png.h:674)
image.cc:540: warning: 'interlace_type' is deprecated (declared at 
/opt/local/include/png.h:676)
image.cc:540: warning: 'interlace_type' is deprecated (declared at 
/opt/local/include/png.h:676)
image.cc:541: warning: 'valid' is deprecated (declared at 
/opt/local/include/png.h:657)
image.cc:541: warning: 'valid' is deprecated (declared at 
/opt/local/include/png.h:657)
image.cc:542: warning: 'rowbytes' is deprecated (declared at 
/opt/local/include/png.h:659)
image.cc:542: warning: 'rowbytes' is deprecated (declared at 
/opt/local/include/png.h:659)
image.cc:546: warning: 'color_type' is deprecated (declared at 
/opt/local/include/png.h:669)
image.cc:546: warning: 'color_type' is deprecated (declared at 
/opt/local/include/png.h:669)
image.cc:548: warning: 'color_type' is deprecated (declared at 
/opt/local/include/png.h:669)
image.cc:548: warning: 'color_type' is deprecated (declared at 
/opt/local/include/png.h:669)
image.cc:550: warning: 'color_type' is deprecated (declared at 
/opt/local/include/png.h:669)
image.cc:550: warning: 'color_type' is deprecated (declared at 
/opt/local/include/png.h:669)
image.cc:552: warning: 'color_type' is deprecated (declared at 
/opt/local/include/png.h:669)
image.cc:552: warning: 'color_type' is deprecated (declared at 
/opt/local/include/png.h:669)
make: *** [image.o] Error 1

Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 6:46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.