Re: [Flightgear-devel] SimGear Compile error - related to openal

2004-11-23 Thread Dale E. Edmons
Vivian Meazza wrote:
Dale E. Edmons wrote
 

[EMAIL PROTECTED] wrote:
   

Hi, all,
I encountered a compile error when make the simgear-0.3.7 for
FlightGear-0.9.6.  I am working with Cygwin in windows 2000 and I have
plib and Zlib done.
 

... snip ...
 

Got to /etc/ld.so.conf and see if it has /usr/local/lib or whereever you
installed openal.  Edit the file if the directory entry is not present.
Then try doing ldconfig and see if it works.
I updated my SimGear, PLIB, and OpenAl from CVS and recompiled them all
and I had no problems.  (I'm running Debian Linux testing branch.)
   

This may well work for Linux (although I think it should work right out of
the box) but AFAIK will not work for Cygwin. OpenAL has not yet been
formally implemented with Cygwin, hence the need to download and install the
special version I mentioned earlier.
 

My browser was scrolled down and I didn't see your reply before I hit 
send.  Guess I need new glasses.  Oops, I'm wearing my new glasses.  Oh boy.

Dale
Regards,
Vivian
 


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


RE: [Flightgear-devel] SimGear Compile error - related to openal

2004-11-22 Thread Vivian Meazza
Heckel wrote:

 
 I encountered a compile error when make the simgear-0.3.7 for
 FlightGear-0.9.6.  I am working with Cygwin in windows 2000 and I have
 plib and Zlib done.
 
 What I did:
 - download OpenAL from CVS.
 - put the openal in /usr/local/source
 - cd openal/linux
   $ ./autogen.sh
   $ ./configure
   $ make
   $ make install

OpenAl cvs doesn't work with Cygwin. You need to download and install
openal_cyg.tgz from

ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/
 
Make sure that you remove all traces of OpenAl before you begin.

There are many postings on this issue - do a Google search of our home site
if you need any more guidance.

Regards,

Vivian



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] SimGear Compile error - related to openal

2004-11-22 Thread Dale E. Edmons
[EMAIL PROTECTED] wrote:
Hi, all,
I encountered a compile error when make the simgear-0.3.7 for
FlightGear-0.9.6.  I am working with Cygwin in windows 2000 and I have
plib and Zlib done.
What I did:
- download OpenAL from CVS.
- put the openal in /usr/local/source
- cd openal/linux
 $ ./autogen.sh
 $ ./configure
 $ make
 $ make install
- cd /usr/local/source/SimGear-0.3.7/simgear
 $ make
I got: 

g++  -g -O2 -D_REENTRANT   -o openal_test1.exe  openal_test1.o
../../simgear/deb
ug/libsgdebug.a -lwinmm -ldsound -ldxguid -lole32
openal_test1.o(.text+0xc7d): In function `main':
/usr/local/source/SimGear-0.3.7/simgear/sound/openal_test1.cxx:43:
undefined ref
erence to `_alutInit'
 

Got to /etc/ld.so.conf and see if it has /usr/local/lib or whereever you 
installed openal.  Edit the file if the directory entry is not present.  
Then try doing ldconfig and see if it works.

I updated my SimGear, PLIB, and OpenAl from CVS and recompiled them all 
and I had no problems.  (I'm running Debian Linux testing branch.)

Can anyone help me? What should I do?
Thanks.
Regards,
Heckel
_
Good Luck.
Dale
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


RE: [Flightgear-devel] SimGear Compile error - related to openal

2004-11-22 Thread Vivian Meazza
Dale E. Edmons wrote
 
 [EMAIL PROTECTED] wrote:
 
 Hi, all,
 
 I encountered a compile error when make the simgear-0.3.7 for
 FlightGear-0.9.6.  I am working with Cygwin in windows 2000 and I have
 plib and Zlib done.
 
... snip ...
 
 Got to /etc/ld.so.conf and see if it has /usr/local/lib or whereever you
 installed openal.  Edit the file if the directory entry is not present.
 Then try doing ldconfig and see if it works.
 
 I updated my SimGear, PLIB, and OpenAl from CVS and recompiled them all
 and I had no problems.  (I'm running Debian Linux testing branch.)
 

This may well work for Linux (although I think it should work right out of
the box) but AFAIK will not work for Cygwin. OpenAL has not yet been
formally implemented with Cygwin, hence the need to download and install the
special version I mentioned earlier.

Regards,

Vivian



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] SimGear Compile error - related to openal

2004-11-21 Thread heckelyu
Hi, all,

I encountered a compile error when make the simgear-0.3.7 for
FlightGear-0.9.6.  I am working with Cygwin in windows 2000 and I have
plib and Zlib done.

What I did:
- download OpenAL from CVS.
- put the openal in /usr/local/source
- cd openal/linux
  $ ./autogen.sh
  $ ./configure
  $ make
  $ make install

- cd /usr/local/source/SimGear-0.3.7/simgear
  $ make

I got: 

g++  -g -O2 -D_REENTRANT   -o openal_test1.exe  openal_test1.o
../../simgear/deb
ug/libsgdebug.a -lwinmm -ldsound -ldxguid -lole32
openal_test1.o(.text+0xc7d): In function `main':
/usr/local/source/SimGear-0.3.7/simgear/sound/openal_test1.cxx:43:
undefined ref
erence to `_alutInit'
openal_test1.o(.text+0xc82):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:44: undefined reference to `_alGetError'
openal_test1.o(.text+0xc87):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:45: undefined reference to `_alGetError'
openal_test1.o(.text+0xd81):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:74: undefined reference to `_alListenerfv'
openal_test1.o(.text+0xd94):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:75: undefined reference to `_alListenerfv'
openal_test1.o(.text+0xda7):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:76: undefined reference to `_alListenerfv'
openal_test1.o(.text+0xde7):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:101: undefined reference to `_alGenBuffers'
openal_test1.o(.text+0xdec):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:102: undefined reference to `_alGetError'
openal_test1.o(.text+0xec6):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:114: undefined reference to `_alutLoadWAVFile'
openal_test1.o(.text+0xecb):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:116: undefined reference to `_alGetError'
openal_test1.o(.text+0xf8e):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:121: undefined reference to `_alBufferData'
openal_test1.o(.text+0xf93):/usr/local/source/SimGear-0.3.7/simgear/soun
d/openal
_test1.cxx:122: undefined reference to `_alGetError'
openal_test1.o(.text+0x1044):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:126: undefined reference to `_alutUnloadWAV'
openal_test1.o(.text+0x105a):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:128: undefined reference to `_alGenSources'
openal_test1.o(.text+0x105f):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:129: undefined reference to `_alGetError'
openal_test1.o(.text+0x1092):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:133: undefined reference to `_alSourcei'
openal_test1.o(.text+0x10b0):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:134: undefined reference to `_alSourcef'
openal_test1.o(.text+0x10ce):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:135: undefined reference to `_alSourcef'
openal_test1.o(.text+0x10eb):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:136: undefined reference to `_alSourcefv'
openal_test1.o(.text+0x1108):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:137: undefined reference to `_alSourcefv'
openal_test1.o(.text+0x1129):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:138: undefined reference to `_alSourcei'
openal_test1.o(.text+0x1137):/usr/local/source/SimGear-0.3.7/simgear/sou
nd/opena
l_test1.cxx:140: undefined reference to `_alSourcePlay'
collect2: ld returned 1 exit status
make: *** [openal_test1.exe] Error 1

Can anyone help me? What should I do?

Thanks.

Regards,
Heckel

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d