우분투상에서 fmod 설치해보신분 계신가요?

karin92의 이미지

https://wiki.debian.org/FMOD

요 위에 있는 위키 따라서 해봤는데 에러가 나네요.

해보신 분 계시면 도움 요청합니다.

우분투 버전 14.04입니다.

shint의 이미지

오픈소스 프로젝트가 있길래. 모듈을 다운받아서 해봤더니. 잘 안됩니다.
아마. 정식으로 등록하고. 다운받아야 할거 같습니다. 아래 사항을 함께 참고해보시기 바랍니다.

DevC++. cygwin 2가지 해봤습니다.
-lfmod-3.75 를 찾을 수 없다고 나옵니다.

사용했던 코드를 정리해서 올려봅니다.

-------------------------------------------------------
이제 이 방법만 남았네요. 아직 소스는 구하지 못했습니다. (로그인해서 다운받아야 하길래... ㅠ_ㅠ;;)
yum 설치
apt-get 설치
rpm 설치
fmod3.75 소스 컴파일

-------------------------------------------------------
다운받은 소스

libfmod-3.75.so 동적 컴파일 라이브러리
libfmodub.a 정적 컴파일 라이브러리
fmodvc.lib 윈도우 정적 컴파일 라이브러리
fmod.dll 윈도우 동적 컴파일 라이브러리

sudo cp ~/fmodapi375linux/api/libfmod-3.75.so /usr/local/lib/
sudo cp ~/fmodapi375linux/api/include/*.h /usr/local/include/
gcc -I/usr/local/include -L/usr/local/lib -lfmod-3.75 testfmod.c -o testfmod

-------------------------------------------------------
LIBRARY_PATH vs LD_LIBRARY_PATH
http://kang594.blog.me/101068361

ldconfig -v

LD_RUN_PATH
http://blog.naver.com/etruelove?Redirect=Log&logNo=140031070886

/usr/bin/ld: cannot find -lpgm
https://kldp.org/node/77350
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/fmodapi375linux/api

ln -s /usr/lib/libperl.so.5.14 /usr/lib/libperl.so
http://stackoverflow.com/questions/17576911/cannot-find-lperl-doing-a-makefile-on-c

-------------------------------------------------------
verge3/linux/libfmod-3.75.so
https://github.com/Bananattack/verge3
https://github.com/Bananattack/verge3/blob/master/linux/libfmod-3.75.so

View Raw <--------- 여기서 다운로드

http://verge-rpg.com
Verge 3 is a simple 2D game engine, which lets game makers rapidly develop games in Lua or VergeC.

-------------------------------------------------------
problems starting Wagic on Ubuntu
http://wololo.net/forum/viewtopic.php?f=12&t=1711&p=17799&hilit=fmod

http://www.fmod.org/index.php/release/version/fmodapi375linux.tar.gz

-------------------------------------------------------
Thread: Dark Oberon and libfmod-3.75.so
http://ubuntuforums.org/showthread.php?t=330602

-------------------------------------------------------
RPM resource libfmod-3.75.so
http://www.rpm-find.net/linux/rpm2html/search.php?query=libfmod-3.75.so

fmod-3.75-1.fc6.rf.i386.rpm

-------------------------------------------------------
Linux fmod install
http://www.freeorion.org/forum/viewtopic.php?f=9&t=1248

ldd libfmod.so
scons

-------------------------------------------------------
FMOD
http://www.fmod.org/
http://www.fmod.org/download/
http://www.rpmfind.net/linux/rpm2html/search.php?query=libfmod-3.75.so
https://wiki.debian.org/FMOD
http://zpdl92.blog.me/90174588859
https://search.naver.com/search.naver?ie=utf8&sm=stp_hty&where=se&query=FMOD

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com

익명 사용자의 이미지

데비안 이야기 하고 있는데 cygwin 이야기는 왜 나오나요... 혹시 어떤 오류가 났는지 알려 주실 수 있으신가요?

shint의 이미지

제가 어떤 오픈소스로 컴파일 된 소스를 다운받아서 컴파일 하려고 했더니. 오류가 난거였습니다.
오류 내용은 -lfmod-3.75 를 찾을 수 없다고 나옵니다.

shint@shint-note /home/fmodapi375linux/api
$ g++ -o testfmod testfmod.c -lfmod-3.75
/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lfmod-3.75
collect2: error: ld returned 1 exit status

그래서. 아직 시도 안한 방법으로 해보면 될거 같습니다. 이미. 윈도우에서 컴파일 성공한 내용도 블로그에 소개되어 있구요.

yum 설치
apt-get 설치
rpm 설치

fmod3.75 소스 컴파일 (원본 사이트에 로그인해서 다운로드해서 컴파일)
- 이거도 다시 해보니. 잘 안되네요. 리눅스 cygwin. 윈도우 devc++ 둘다.

고민해보니. 2가지 방법이 있을것 같습니다.
- Visual Studo 로 컴파일.
- Qt 설치

결국. Qt 로 될것 같은 생각이 듭니다.

참고로. Eclipse Android 설치방법도 함께 올려봅니다.

-------------------------------------------------------
http://www.freeorion.org/forum/viewtopic.php?f=9&t=1248

scons configure

ld -lfmod-3.74
ld -lfmod

-------------------------------------------------------
http://www.codeproject.com/Articles/1034406/How-to-Set-Up-FMOD-Cocos-D-x-and-OpenAL-Libraries

-------------------------------------------------------
undefined reference to `ERRCHECK_fn(FMOD_RESULT, char const*, int)'

--------------------------------------------------------------------------

How to Install the Latest GCC on Windows
http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/

https://gcc.gnu.org/ml/gcc-help/2013-09/msg00014.html

export LD_LIBRARY_PATH=/usr/local/lib
export LIBRARY_PATH=/usr/local/lib
export CPATH=/usr/local/include

export LIBRARY_PATH=/lib
export CPATH=/usr/include
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS /lib and /usr/include are populated with what looks to be like a reasonable set of directories, but I really don't know for sure. I've been able to compile on my system (mingw under windows) but I can't get gcc running under cygwin. I'm out of my water at this point and fumbling around. The tutorials and tfm that I've found don't seem to cover what I have going on here. Any advice? thanks - Mark Sheffield

https://cygwin.com/ml/cygwin/2004-01/msg00940.html

export CYGWIN_LIBX11=/cygwin/usr/X11R6/lib
export NS_HOME=/home/CHOY_PENG_FAI/ns-allinone-2.26/
export
PATH=$NS_HOME/tcl8.3.2/unix:$NS_HOME/tk8.3.2/unix:$NS_HOME/bin:$PATH
export
LD_LIBRARY_PATH=$NS_HOME/tcl8.3.2/unix:$NS_HOME/tk8.3.2/unix:$NS_HOME/o
tcl-1.0a8:$CYGWIN_LIBX11:$NS_HOME/lib:$LD_LIBRARY_PATH
export TCL_LIBRARY=$NS_HOME/tcl8.3.2/library

Re: i686-pc-cygwin/bin/ld: cannot find -lpostgres
https://cygwin.com/ml/cygwin/2014-08/msg00323.html

shint@shint-note /home/fmodapi375linux/api
$ gcc -o testfmod testfmod.c -lfmod-3.75
/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lfmod-3.75
collect2: error: ld returned 1 exit status

shint@shint-note /home/fmodapi375linux/api
$ g++ -o testfmod testfmod.c -lfmod-3.75
/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lfmod-3.75
collect2: error: ld returned 1 exit status

g++ -v -E -x c++ /dev/null
http://forums.codeblocks.org/index.php?topic=20410.0

g++ -DNDEBUG -o testfmod testfmod.c -lfmod-3.75

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.