* Compile OSX exanples
@ 2015-02-16 10:22 Peter Kroon
2015-02-16 19:28 ` Jan Stary
0 siblings, 1 reply; 4+ messages in thread
From: Peter Kroon @ 2015-02-16 10:22 UTC (permalink / raw)
To: sox-users
[-- Attachment #1.1: Type: text/plain, Size: 321 bytes --]
Hello,
How do I compile the sox examples?
I've tried:
gcc -isystem "./sox-14.4.1/src/" -o example example5.c
and this gives me error
In file included from example5.c:25:0:
./sox-14.4.1/src/util.h:22:23: fatal error: soxconfig.h: No such file or
directory
Any suggestion on how to compile the examples?
Best,
Peter
[-- Attachment #1.2: Type: text/html, Size: 572 bytes --]
[-- Attachment #2: Type: text/plain, Size: 441 bytes --]
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile OSX exanples
2015-02-16 10:22 Compile OSX exanples Peter Kroon
@ 2015-02-16 19:28 ` Jan Stary
2015-02-16 19:45 ` Peter Kroon
0 siblings, 1 reply; 4+ messages in thread
From: Jan Stary @ 2015-02-16 19:28 UTC (permalink / raw)
To: sox-users
On Feb 16 11:22:02, plakroon@gmail.com wrote:
> How do I compile the sox examples?
They compile for me during normal build:
$ cd ~/src/sox-14.4.1
$ ./configure
$ make
$ find . -name example\* -perm +0100
./src/.libs/example0
./src/.libs/example1
./src/.libs/example2
./src/.libs/example3
./src/.libs/example4
./src/.libs/example5
./src/example0
./src/example1
./src/example2
./src/example3
./src/example4
./src/example4.c
./src/example5
The src/.libs/example* files are the exacutables
- except ./src/example4.c, obviously,
which seems to be an error in the 14.4.1 tarball,
also present in 14.4.2rc2:
$ cd ~/src
$ tar xzf sox-14.4.2rc2.tar.gz
$ cd sox-14.4.2rc2
$ find . -name example\* -perm +0100
./src/example4.c
Jan
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile OSX exanples
2015-02-16 19:28 ` Jan Stary
@ 2015-02-16 19:45 ` Peter Kroon
2015-02-16 20:42 ` Jan Stary
0 siblings, 1 reply; 4+ messages in thread
From: Peter Kroon @ 2015-02-16 19:45 UTC (permalink / raw)
To: sox-users
[-- Attachment #1.1: Type: text/plain, Size: 1916 bytes --]
> They compile for me during normal build:
Right, but that's not how I installed sox. I used the following cli: yum
install sox.
The reason why I ask is because I want to create my own c program. And
trying to compile one of the examples failed for me.
How can I compile 1 of the examples with my current sox install/setup.
Compiling using gcc, would that be an option?
Best,
Peter
2015-02-16 20:28 GMT+01:00 Jan Stary <hans@stare.cz>:
> On Feb 16 11:22:02, plakroon@gmail.com wrote:
> > How do I compile the sox examples?
>
> They compile for me during normal build:
>
> $ cd ~/src/sox-14.4.1
> $ ./configure
> $ make
> $ find . -name example\* -perm +0100
> ./src/.libs/example0
> ./src/.libs/example1
> ./src/.libs/example2
> ./src/.libs/example3
> ./src/.libs/example4
> ./src/.libs/example5
> ./src/example0
> ./src/example1
> ./src/example2
> ./src/example3
> ./src/example4
> ./src/example4.c
> ./src/example5
>
> The src/.libs/example* files are the exacutables
> - except ./src/example4.c, obviously,
> which seems to be an error in the 14.4.1 tarball,
> also present in 14.4.2rc2:
>
> $ cd ~/src
> $ tar xzf sox-14.4.2rc2.tar.gz
> $ cd sox-14.4.2rc2
> $ find . -name example\* -perm +0100
> ./src/example4.c
>
>
> Jan
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
>
[-- Attachment #1.2: Type: text/html, Size: 2763 bytes --]
[-- Attachment #2: Type: text/plain, Size: 441 bytes --]
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile OSX exanples
2015-02-16 19:45 ` Peter Kroon
@ 2015-02-16 20:42 ` Jan Stary
0 siblings, 0 replies; 4+ messages in thread
From: Jan Stary @ 2015-02-16 20:42 UTC (permalink / raw)
To: sox-users
On Feb 16 20:45:28, plakroon@gmail.com wrote:
> > They compile for me during normal build:
> Right, but that's not how I installed sox. I used the following cli: yum
> install sox.
> The reason why I ask is because I want to create my own c program. And
> trying to compile one of the examples failed for me.
>
> How can I compile 1 of the examples with my current sox install/setup.
$ cc -I/usr/local/include -L/usr/local/lib -lsox -o example0 example0.c
or wherever 'yum' installed the SoX headers and libraries.
> Compiling using gcc, would that be an option?
Or any other C compiler.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-16 20:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16 10:22 Compile OSX exanples Peter Kroon
2015-02-16 19:28 ` Jan Stary
2015-02-16 19:45 ` Peter Kroon
2015-02-16 20:42 ` Jan Stary
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/sox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).