Iris2.de

Iris2-Forum
It is currently Fri Apr 19, 2024 8:18 am

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Tue Apr 15, 2008 1:04 pm 
Offline

Joined: Tue Apr 15, 2008 12:55 pm
Posts: 6
Hello people!
I've installed all this packages:

Quote:
FreeImage3100.zip.1
ogre-linux_osx-v1-4-7.tar.bz2
zziplib-0.13.49.tar.bz2
Cg-2.0_Jan2008_x86.tar.gz
freealut-1.1.0.tar.gz
freetype-2.3.5.tar.gz
latest-iris.tar.gz
lua-5.1.3.tar.gz
ois_1.2.0.tar.gz
openal-0.0.8.tar.gz
boost-1.35.0-i486-1gds.tgz


I follow the Building_From_Source on wiki pages but i got the error bellow

Code:
root@sala:/home/guimaluf/UO/iris_2.0.2010# ./premakelinux.sh
Generating GNU makefiles:
...lugrelua
...cadune_treelib
...md5lib
...paged_geometrylib
...caelumlib
...lugrelib
...iris
==== Building lugrelua ====
make[1]: `liblugrelua.a' is up to date.
==== Building cadune_treelib ====
make[1]: `libcadune_treelib.a' is up to date.
==== Building md5lib ====
make[1]: `libmd5lib.a' is up to date.
==== Building paged_geometrylib ====
make[1]: `libpaged_geometrylib.a' is up to date.
==== Building caelumlib ====
make[1]: `libcaelumlib.a' is up to date.
==== Building lugrelib ====
make[1]: `liblugrelib.a' is up to date.
==== Building iris ====
Linking iris
/usr/local/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [bin/iris] Error 1
make: *** [iris] Error 2


sorry my english.
thnks for help!
:)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 15, 2008 4:53 pm 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
can you please change the line
@$(BLDCMD)
to
$(BLDCMD)
in iris.make (after "@echo Linking iris") and execute
make
and post the linking command?

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 15, 2008 10:46 pm 
Offline

Joined: Tue Apr 15, 2008 12:55 pm
Posts: 6
Code:
root@sala:/home/guimaluf/UO/iris_2.0.2010# vim iris.make
root@sala:/home/guimaluf/UO/iris_2.0.2010# make
==== Building lugrelua ====
make[1]: `liblugrelua.a' is up to date.
==== Building cadune_treelib ====
make[1]: `libcadune_treelib.a' is up to date.
==== Building md5lib ====
make[1]: `libmd5lib.a' is up to date.
==== Building paged_geometrylib ====
make[1]: `libpaged_geometrylib.a' is up to date.
==== Building caelumlib ====
make[1]: `libcaelumlib.a' is up to date.
==== Building lugrelib ====
make[1]: `liblugrelib.a' is up to date.
==== Building iris ====
Linking iris
g++ -o bin/iris obj/Debug/grannydump.o obj/Debug/pathsearch.o obj/Debug/terrain.o obj/Debug/data.o obj/Debug/spritemanager.o obj/Debug/prefix.o obj/Debug/ogremanualloader_L.o obj/Debug/scripting.iris.o obj/Debug/main.o obj/Debug/spritemanager_L.o obj/Debug/builder_L.o obj/Debug/granny_L.o obj/Debug/builder.o obj/Debug/data_L.o obj/Debug/grannyparser.o obj/Debug/ogremanualloader.o obj/Debug/radar_L.o obj/Debug/grannyogreloader.o obj/Debug/terrain_multitex.o obj/Debug/grannyloader_i2.o obj/Debug/huffman.o obj/Debug/radar.o  -Lbin -L. `pkg-config --libs OGRE` `pkg-config --libs OIS` /usr/local/lib `pkg-config --libs vorbisfile` -L"/usr/lib" -llugrelib -lboost_thread-mt -llugrelua -lcadune_treelib -lmd5lib -lpaged_geometrylib -lcaelumlib 
/usr/local/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [bin/iris] Error 1
make: *** [iris] Error 2


dam :/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 16, 2008 8:43 am 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
the "/usr/local/lib" in the command is the problem. can you post your iris.make?

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 16, 2008 3:58 pm 
Offline

Joined: Tue Apr 15, 2008 12:55 pm
Posts: 6
Code:
root@sala:/home/guimaluf/UO/iris_2.0.2010# cat iris.make
# C++ Static Library Makefile autogenerated by premake
# Don't edit this file! Instead edit `premake.lua` then rerun `make`

ifndef CONFIG
  CONFIG=Debug
endif

ifeq ($(CONFIG),Debug)
  BINDIR := bin
  LIBDIR := .
  OBJDIR := obj/Debug
  OUTDIR := bin
  CPPFLAGS := -MMD -D "USE_OPENAL" -D "MAIN_WORKING_DIR=\"..\"" -D "LUA_DIR=\"lua\"" -D "LUGRE_DIR=\"lugre\"" -D "DATA_DIR=\"data\"" -D "ENABLE_THREADS" -D "USE_LUGRE_LIB_CADUNE_TREE" -D "USE_LUGRE_LIB_MD5" -D "USE_LUGRE_LIB_PAGED_GEOMETRY" -D "USE_LUGRE_LIB_CAELUM" -I "lugre/include" -I "./lugre/lib/lua-5.1.3//src/" -I "include" -I "lugre/lib/cadune_tree/include/" -I "lugre/lib/md5/include/" -I "lugre/lib/paged_geometry/include/" -I "lugre/lib/caelum/include/" -I "lugre/lib/cadune_tree/include/" -I "lugre/lib/md5/include/" -I "lugre/lib/paged_geometry/include/" -I "lugre/lib/caelum/include/"
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g `pkg-config --cflags OGRE` `pkg-config --cflags OIS` `pkg-config --cflags vorbisfile`
  CXXFLAGS := $(CFLAGS)
  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) `pkg-config --libs OGRE` `pkg-config --libs OIS` /usr/local/lib `pkg-config --libs vorbisfile` -L"/usr/lib" -llugrelib -lboost_thread-mt -llugrelua -lcadune_treelib -lmd5lib -lpaged_geometrylib -lcaelumlib
  LDDEPS := liblugrelib.a liblugrelua.a libcadune_treelib.a libmd5lib.a libpaged_geometrylib.a libcaelumlib.a
  RESFLAGS := -D "USE_OPENAL" -D "MAIN_WORKING_DIR=\"..\"" -D "LUA_DIR=\"lua\"" -D "LUGRE_DIR=\"lugre\"" -D "DATA_DIR=\"data\"" -D "ENABLE_THREADS" -D "USE_LUGRE_LIB_CADUNE_TREE" -D "USE_LUGRE_LIB_MD5" -D "USE_LUGRE_LIB_PAGED_GEOMETRY" -D "USE_LUGRE_LIB_CAELUM" -I "lugre/include" -I "./lugre/lib/lua-5.1.3//src/" -I "include" -I "lugre/lib/cadune_tree/include/" -I "lugre/lib/md5/include/" -I "lugre/lib/paged_geometry/include/" -I "lugre/lib/caelum/include/" -I "lugre/lib/cadune_tree/include/" -I "lugre/lib/md5/include/" -I "lugre/lib/paged_geometry/include/" -I "lugre/lib/caelum/include/"
  TARGET := iris
  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
endif

ifeq ($(CONFIG),Release)
  BINDIR := bin
  LIBDIR := .
  OBJDIR := obj/Release
  OUTDIR := bin
  CPPFLAGS := -MMD -D "USE_OPENAL" -D "MAIN_WORKING_DIR=\"..\"" -D "LUA_DIR=\"lua\"" -D "LUGRE_DIR=\"lugre\"" -D "DATA_DIR=\"data\"" -D "ENABLE_THREADS" -D "USE_LUGRE_LIB_CADUNE_TREE" -D "USE_LUGRE_LIB_MD5" -D "USE_LUGRE_LIB_PAGED_GEOMETRY" -D "USE_LUGRE_LIB_CAELUM" -I "lugre/include" -I "./lugre/lib/lua-5.1.3//src/" -I "include" -I "lugre/lib/cadune_tree/include/" -I "lugre/lib/md5/include/" -I "lugre/lib/paged_geometry/include/" -I "lugre/lib/caelum/include/" -I "lugre/lib/cadune_tree/include/" -I "lugre/lib/md5/include/" -I "lugre/lib/paged_geometry/include/" -I "lugre/lib/caelum/include/"
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O2 `pkg-config --cflags OGRE` `pkg-config --cflags OIS` `pkg-config --cflags vorbisfile`
  CXXFLAGS := $(CFLAGS)
  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -s `pkg-config --libs OGRE` `pkg-config --libs OIS` /usr/local/lib `pkg-config --libs vorbisfile` -L"/usr/lib" -llugrelib -lboost_thread-mt -llugrelua -lcadune_treelib -lmd5lib -lpaged_geometrylib -lcaelumlib
  LDDEPS := liblugrelib.a liblugrelua.a libcadune_treelib.a libmd5lib.a libpaged_geometrylib.a libcaelumlib.a
  RESFLAGS := -D "USE_OPENAL" -D "MAIN_WORKING_DIR=\"..\"" -D "LUA_DIR=\"lua\"" -D "LUGRE_DIR=\"lugre\"" -D "DATA_DIR=\"data\"" -D "ENABLE_THREADS" -D "USE_LUGRE_LIB_CADUNE_TREE" -D "USE_LUGRE_LIB_MD5" -D "USE_LUGRE_LIB_PAGED_GEOMETRY" -D "USE_LUGRE_LIB_CAELUM" -I "lugre/include" -I "./lugre/lib/lua-5.1.3//src/" -I "include" -I "lugre/lib/cadune_tree/include/" -I "lugre/lib/md5/include/" -I "lugre/lib/paged_geometry/include/" -I "lugre/lib/caelum/include/" -I "lugre/lib/cadune_tree/include/" -I "lugre/lib/md5/include/" -I "lugre/lib/paged_geometry/include/" -I "lugre/lib/caelum/include/"
  TARGET := iris
  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
endif

OBJECTS := \
        $(OBJDIR)/grannydump.o \
        $(OBJDIR)/pathsearch.o \
        $(OBJDIR)/terrain.o \
        $(OBJDIR)/data.o \
        $(OBJDIR)/spritemanager.o \
        $(OBJDIR)/prefix.o \
        $(OBJDIR)/ogremanualloader_L.o \
        $(OBJDIR)/scripting.iris.o \
        $(OBJDIR)/main.o \
        $(OBJDIR)/spritemanager_L.o \
        $(OBJDIR)/builder_L.o \
        $(OBJDIR)/granny_L.o \
        $(OBJDIR)/builder.o \
        $(OBJDIR)/data_L.o \
        $(OBJDIR)/grannyparser.o \
        $(OBJDIR)/ogremanualloader.o \
        $(OBJDIR)/radar_L.o \
        $(OBJDIR)/grannyogreloader.o \
        $(OBJDIR)/terrain_multitex.o \
        $(OBJDIR)/grannyloader_i2.o \
        $(OBJDIR)/huffman.o \
        $(OBJDIR)/radar.o \

MKDIR_TYPE := msdos
CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
ifeq (,$(CMD))
  MKDIR_TYPE := posix
endif
ifeq (/bin/sh.exe,$(SHELL))
  MKDIR_TYPE := posix
endif
ifeq ($(MKDIR_TYPE),posix)
  CMD_MKBINDIR := mkdir -p $(BINDIR)
  CMD_MKLIBDIR := mkdir -p $(LIBDIR)
  CMD_MKOUTDIR := mkdir -p $(OUTDIR)
  CMD_MKOBJDIR := mkdir -p $(OBJDIR)
else
  CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
  CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
  CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
  CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
endif

.PHONY: clean

$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
        @echo Linking iris
        -@$(CMD_MKBINDIR)
        -@$(CMD_MKLIBDIR)
        -@$(CMD_MKOUTDIR)
        $(BLDCMD)

clean:
        @echo Cleaning iris
ifeq ($(MKDIR_TYPE),posix)
        -@rm -f $(OUTDIR)/$(TARGET)
        -@rm -rf $(OBJDIR)
else
        -@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
        -@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
        -@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
endif

$(OBJDIR)/grannydump.o: src/grannydump.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/pathsearch.o: src/pathsearch.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/terrain.o: src/terrain.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/data.o: src/data.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/spritemanager.o: src/spritemanager.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/prefix.o: src/prefix.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/ogremanualloader_L.o: src/ogremanualloader_L.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/scripting.iris.o: src/scripting.iris.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/main.o: src/main.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/spritemanager_L.o: src/spritemanager_L.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/builder_L.o: src/builder_L.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/granny_L.o: src/granny_L.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/builder.o: src/builder.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/data_L.o: src/data_L.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/grannyparser.o: src/grannyparser.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/ogremanualloader.o: src/ogremanualloader.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/radar_L.o: src/radar_L.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/grannyogreloader.o: src/grannyogreloader.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/terrain_multitex.o: src/terrain_multitex.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/grannyloader_i2.o: src/grannyloader_i2.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/huffman.o: src/huffman.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

$(OBJDIR)/radar.o: src/radar.cpp
        -@$(CMD_MKOBJDIR)
        @echo $(notdir $<)
        @$(CXX) $(CXXFLAGS) -o $@ -c $<

-include $(OBJECTS:%.o=%.d)


:(


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 9:24 am 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
as a ugly quickfix you could remove every "/usr/local/lib" from your iris.make (appears in LDFLAGS).

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 11:11 am 
Offline

Joined: Tue Apr 15, 2008 12:55 pm
Posts: 6
thanks hagish!
but another error appears! :D

Code:
root@sala:/home/guimaluf/UO/freealut-1.1.0# find /usr/ -name openal*
/usr/local/bin/openal-config
/usr/local/lib/pkgconfig/openal.pc
root@sala:/home/guimaluf/UO/freealut-1.1.0# cd ../iris_2.0.2010/
root@sala:/home/guimaluf/UO/iris_2.0.2010# make
==== Building lugrelua ====
make[1]: `liblugrelua.a' is up to date.
==== Building cadune_treelib ====
make[1]: `libcadune_treelib.a' is up to date.
==== Building md5lib ====
make[1]: `libmd5lib.a' is up to date.
==== Building paged_geometrylib ====
make[1]: `libpaged_geometrylib.a' is up to date.
==== Building caelumlib ====
make[1]: `libcaelumlib.a' is up to date.
==== Building lugrelib ====
make[1]: `liblugrelib.a' is up to date.
==== Building iris ====
Linking iris
./liblugrelua.a(loslib.o): In function `os_tmpname':
/home/guimaluf/UO/iris_2.0.2010/lugre/lib/lua-5.1.3//src/loslib.c:60: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::StreamSource::update()':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1800: undefined reference to `alGetSourcei'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1805: undefined reference to `alSourceUnqueueBuffers'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1812: undefined reference to `alSourceQueueBuffers'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1816: undefined reference to `alGetSourcei'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1821: undefined reference to `alGetSourcei'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1826: undefined reference to `alSourcePlay'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::SingleBufferSource::update()':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1734: undefined reference to `alGetSourcei'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1741: undefined reference to `alSourceUnqueueBuffers'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::IsPaused()':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1119: undefined reference to `alGetSourcei'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::Play()':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1074: undefined reference to `alGetSourcei'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1080: undefined reference to `alGetSourcei'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1089: undefined reference to `alSourcePlay'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1092: undefined reference to `alGetSourcei'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSystem::GetVolume()':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1429: undefined reference to `alGetListenerf'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSystem::SetVolume(float)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1418: undefined reference to `alListenerf'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSystem::GetListenerVelocity(float&, float&, float&)':/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1405: undefined reference to `alGetListener3f'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSystem::GetListenerPosition(float&, float&, float&)':/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1392: undefined reference to `alGetListener3f'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSystem::SetListenerVelocity(float, float, float)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1381: undefined reference to `alListener3f'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSystem::SetListenerPosition(float, float, float)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1368: undefined reference to `alListener3f'
./liblugrelib.a(lugre_sound_openal2.o): In function `~OpenALSoundSystem':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1354: undefined reference to `alcMakeContextCurrent'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1355: undefined reference to `alcDestroyContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1356: undefined reference to `alcCloseDevice'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1354: undefined reference to `alcMakeContextCurrent'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1355: undefined reference to `alcDestroyContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1356: undefined reference to `alcCloseDevice'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1354: undefined reference to `alcMakeContextCurrent'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1355: undefined reference to `alcDestroyContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1356: undefined reference to `alcCloseDevice'
./liblugrelib.a(lugre_sound_openal2.o): In function `OpenALSoundSystem':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1308: undefined reference to `alcOpenDevice'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1312: undefined reference to `alcCreateContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1317: undefined reference to `alcCreateContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1322: undefined reference to `alcMakeContextCurrent'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1328: undefined reference to `alcDestroyContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1331: undefined reference to `alcCloseDevice'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1308: undefined reference to `alcOpenDevice'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1312: undefined reference to `alcCreateContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1317: undefined reference to `alcCreateContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1322: undefined reference to `alcMakeContextCurrent'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1328: undefined reference to `alcDestroyContext'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1331: undefined reference to `alcCloseDevice'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::GetVelocity(float&, float&, float&)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1283: undefined reference to `alGetSource3f'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::GetPosition(float&, float&, float&)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1260: undefined reference to `alGetSource3f'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::SetVelocity(float, float, float)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1241: undefined reference to `alSource3f'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::SetPosition(float, float, float)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1224: undefined reference to `alSource3f'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::GetMinMaxDistance(float&, float&)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1196: undefined reference to `alGetSourcef'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::GetVolume()':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1171: undefined reference to `alGetSourcef'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::SetMinMaxDistance(float, float)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1185: undefined reference to `alSourcef'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::SetVolume(float)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1160: undefined reference to `alSourcef'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::Pause()':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1148: undefined reference to `alSourcePause'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::OpenALSoundSource::Stop()':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1133: undefined reference to `alSourceStop'
./liblugrelib.a(lugre_sound_openal2.o): In function `~OpenALSoundSource':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1059: undefined reference to `alDeleteSources'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1059: undefined reference to `alDeleteSources'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1059: undefined reference to `alDeleteSources'
./liblugrelib.a(lugre_sound_openal2.o): In function `OpenALSoundSource':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1041: undefined reference to `alGenSources'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1049: undefined reference to `alSourcei'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1051: undefined reference to `alSourcef'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1041: undefined reference to `alGenSources'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1049: undefined reference to `alSourcei'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1051: undefined reference to `alSourcef'
./liblugrelib.a(lugre_sound_openal2.o): In function `SingleBufferSource':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1714: undefined reference to `alSourceQueueBuffers'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1714: undefined reference to `alSourceQueueBuffers'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::(anonymous namespace)::sound_buffer::set_data(void const*, unsigned int, int, int, unsigned int)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:218: undefined reference to `alBufferData'
./liblugrelib.a(lugre_sound_openal2.o): In function `~sound_buffer':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:179: undefined reference to `alDeleteBuffers'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:179: undefined reference to `alDeleteBuffers'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:179: undefined reference to `alDeleteBuffers'
./liblugrelib.a(lugre_sound_openal2.o): In function `sound_buffer':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:173: undefined reference to `alGenBuffers'
./liblugrelib.a(lugre_sound_openal2.o): In function `StreamSource':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1772: undefined reference to `alSourceQueueBuffers'
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:1772: undefined reference to `alSourceQueueBuffers'
./liblugrelib.a(lugre_sound_openal2.o): In function `sound_buffer':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:173: undefined reference to `alGenBuffers'
./liblugrelib.a(lugre_sound_openal2.o): In function `Lugre::(anonymous namespace)::check_openal(int)':
/home/guimaluf/UO/iris_2.0.2010/lugre/src/lugre_sound_openal2.cpp:130: undefined reference to `alGetError'
collect2: ld returned 1 exit status
make[1]: *** [bin/iris] Error 1
make: *** [iris] Error 2


openal not installed? wtf?
thoose libs were installed on /usr/local/lib, could that be the problem?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 11:44 am 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
what does
pkg-config --cflags openal
and
pkg-config --libs openal
show?

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 11:47 am 
Offline

Joined: Tue Apr 15, 2008 12:55 pm
Posts: 6
Code:
root@sala:/home/guimaluf/UO/iris_2.0.2010# pkg-config --cflags openal
Package @requirements@ was not found in the pkg-config search path.
Perhaps you should add the directory containing `@requirements@.pc'
to the PKG_CONFIG_PATH environment variable
Package '@requirements@', required by 'OpenAL', not found
root@sala:/home/guimaluf/UO/iris_2.0.2010# pkg-config --libs openal
Package @requirements@ was not found in the pkg-config search path.
Perhaps you should add the directory containing `@requirements@.pc'
to the PKG_CONFIG_PATH environment variable
Package '@requirements@', required by 'OpenAL', not found


wtf?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 11:58 am 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
looks like you should add /usr/local/lib/pkgconfig/ to the pkg-config search paths

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 12:09 pm 
Offline

Joined: Tue Apr 15, 2008 12:55 pm
Posts: 6
Code:
root@sala:/home/guimaluf/c/tp1# echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig:/usr/lib/pkgconfig


dam!
dam!
dam!
dont work :/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 2:44 pm 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
don't know but perhaps you need to separate the paths with , instead of : ?

you could also try to link your openal.pc into the "normal" pkg-config direktory

_________________
O-->---


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group