deachan-jabong / gmf Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gmf
Automatically exported from code.google.com/p/gmf
Not sure how to turn off treating warnings as errors, and if this is a good
idea.
goinstall gmf.googlecode.com/hg/gmf
/bin/bash: === cd /home/richardworley/go/src/pkg/gmf.googlecode.com/hg/gmf;
bash gomake -f- install
CGOPKGPATH=gmf.googlecode.com/hg cgo --
-I/home/richardworley/ffmpeg/ffmpeg/include avcodec.go avformat.go avutil.go
swscale.go
cc1: warnings being treated as errors
avcodec.go:44: error: 'avcodec_alloc_context' is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3741)
avcodec.go:63: error: 'avcodec_open' is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3870)
make: *** [_obj/_cgo_run] Error 2
--- exit status 2
goinstall: gmf.googlecode.com/hg/gmf: install: running bash: exit status 2
What version of the product are you using? On what operating system?
ffmpeg version N-33774-gffb7c6e, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 18 2011 15:21:02 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 21. 0 / 53. 21. 0
libavformat 53. 16. 1 / 53. 16. 1
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 44. 0 / 2. 44. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Using Go:
parent: 10125:6d7136d74b65 weekly weekly.2011-10-18
weekly.2011-10-18
Have the following variables in .bashrc:
export FFMPEG_ROOT=/home/richardworley/ffmpeg/ffmpeg
export CGO_LDFLAGS="-L$FFMPEG_ROOT/lib/ -lavcodec -lavformat -lavutil -lswscale"
export CGO_CFLAGS="-I$FFMPEG_ROOT/include"
export GOROOT=$HOME/go
export GOBIN=$HOME/go/bin
export GOPATH=$HOME/go
Please provide any additional information below.
user@server:~/go/src$ grep -R Werror ./*
./cmd/cgo/gcc.go: "-Werror", // warnings are errors
./pkg/crypto/tls/root_darwin.go:// Note: We disable -Werror here because the
code in this file uses a deprecated API to stay
./quietgcc.bash: -Werror \
Original issue reported on code.google.com by [email protected]
on 20 Oct 2011 at 8:39
What steps will reproduce the problem?
1. goinstall gmf.googlecode.com/hg/gmf in the Terminal on Mac OS X 10.6.6
What is the expected output? What do you see instead?
Successful installation of the gmf package is expected. What I see if the
following output:
goinstall: === cd /Users/bendavies/go/src/pkg/sync/atomic; gomake install
8a asm_386.s
asm_386.s:32 syntax error, last name: 0
asm_386.s:45 syntax error, last name: AX
asm_386.s:79 syntax error, last name: 0
make: *** [asm_386.8] Error 1
--- exit status 2
goinstall: installing sync/atomic: running gomake: exit status 2
What version of the product are you using? On what operating system?
Whichever version goinstall pulls.
Mac OS X 10.6.6.
Go version weekly.2011-04-04
Please provide any additional information below.
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 10 2011 14:46:17 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
configuration: --enable-libmp3lame --enable-shared --disable-mmx --arch=x86_64
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
Original issue reported on code.google.com by [email protected]
on 10 Apr 2011 at 2:01
What steps will reproduce the problem?
1.go get code.google.com/p/gmf/gmf
What is the expected output? What do you see instead?
It does not compile because of embedded C types:
# code.google.com/p/gmf/gmf
avcodec.go:50:2: cannot embed C type
avformat.go:20:3: cannot embed C type
avformat.go:24:3: cannot embed C type
What version of the product are you using? On what operating system?
It should be the latest version. Ubuntu x64.
Please provide any additional information below.
Should your library work on appengine?
Original issue reported on code.google.com by [email protected]
on 11 Apr 2012 at 1:24
What steps will reproduce the problem?
# go install code.google.com/p/gmf/gmf
# code.google.com/p/gmf/gmf
avcodec.go:50:2: cannot embed C type
avformat.go:20:3: cannot embed C type
avformat.go:24:3: cannot embed C type
1: error: 'avcodec_get_context_defaults2' undeclared (first use in this
function)
1: note: each undeclared identifier is reported only once for each function it
appears in
1: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function)
GMF doesn't work...
Original issue reported on code.google.com by [email protected]
on 27 Apr 2013 at 1:15
What steps will reproduce the problem?
What is the expected output? What do you see instead?
goinstall gmf.googlecode.com/hg/gmf
goinstall: === cd /Users/bendavies/go/src/pkg/gmf.googlecode.com/hg/gmf; gomake
-f- install
CGOPKGPATH=gmf.googlecode.com/hg cgo -- avcodec.go avformat.go avutil.go
swscale.go
error: 'avio_open' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: 'av_dump_format' undeclared (first use in this function)
error: 'avio_close' undeclared (first use in this function)
unresolved names
make: *** [_obj/_cgo_run] Error 2
--- exit status 2
goinstall: installing gmf.googlecode.com/hg/gmf: running gomake: exit status 2
What version of the product are you using? On what operating system?
Which ever go instal uses.
ffmpeg
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 30 2011 23:41:52 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
configuration: --enable-libmp3lame --enable-shared --disable-mmx --arch=x86_64
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
Please provide any additional information below.
Brand new Macbook Air, fully uptodate, OSX 10.6.7 Build 10J869
Original issue reported on code.google.com by [email protected]
on 2 May 2011 at 12:07
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.