furcr@furcraea_built MINGW64 /c/glsl_sample
$ cd glsl_sample_040
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_040
$ mkdir build
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_040
$ cd build
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_040/build
$ cmake -G "MSYS Makefiles" ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The C compiler identification is GNU 15.1.0
-- The CXX compiler identification is GNU 15.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: opengl32
-- Configuring done (1.2s)
-- Generating done (0.0s)
-- Build files have been written to: C:/glsl_sample/glsl_sample_040/build
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_040/build
$ make
[ 50%] Building C object CMakeFiles/glsl_sample.dir/main.c.obj
[100%] Linking C executable glsl_sample.exe
[100%] Built target glsl_sample
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_040/build
$ ./glsl_sample.exe
furcr@furcraea_built MINGW64 /c
$ cd glsl_sample
furcr@furcraea_built MINGW64 /c/glsl_sample
$ cd glsl_sample_030
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_030
$ mkdir build
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_030
$ cd build
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_030/build
$ cmake -G "MSYS Makefiles" ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The C compiler identification is GNU 15.1.0
-- The CXX compiler identification is GNU 15.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: opengl32
-- Configuring done (2.6s)
-- Generating done (0.0s)
-- Build files have been written to: C:/glsl_sample/glsl_sample_030/build
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_030/build
$ make
[ 50%] Building C object CMakeFiles/glsl_sample.dir/main.c.obj
[100%] Linking C executable glsl_sample.exe
[100%] Built target glsl_sample
furcr@furcraea_built MINGW64 /c/glsl_sample/glsl_sample_030/build
$
gcc --version
gcc.exe (Rev5, Built by MSYS2 project) 15.1.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
furcr@furcraea_built UCRT64 ~
$
pacman -Syu # はじめに全体アップデート
furcr@furcraea_built MINGW64 ~
$ pacman -Syu
:: Synchronizing package databases...
clangarm64 is up to date
mingw32 is up to date
mingw64 is up to date
ucrt64 is up to date
clang64 is up to date
msys is up to date
:: Starting core system upgrade...
there is nothing to do
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (19) curl-8.14.1-2 gcc-libs-15.1.0-2 libcurl-8.14.1-2 libffi-3.5.1-1
libhogweed-3.10.2-1 libnettle-3.10.2-1 libnghttp3-1.10.1-1 libngtcp2-1.13.0-2
libopenssl-3.5.1-1 libsqlite-3.50.2-1
mingw-w64-ucrt-x86_64-crt-git-13.0.0.r57.gc1a7f831b-1
mingw-w64-ucrt-x86_64-gcc-15.1.0-6 mingw-w64-ucrt-x86_64-gcc-libs-15.1.0-6
mingw-w64-ucrt-x86_64-gettext-runtime-0.25.1-1
mingw-w64-ucrt-x86_64-headers-git-13.0.0.r57.gc1a7f831b-1
mingw-w64-ucrt-x86_64-libwinpthread-13.0.0.r57.gc1a7f831b-1
mingw-w64-ucrt-x86_64-winpthreads-13.0.0.r57.gc1a7f831b-1 nettle-3.10.2-1
openssl-3.5.1-1
Total Download Size: 65.09 MiB
Total Installed Size: 489.36 MiB
Net Upgrade Size: 1.06 MiB
:: Proceed with installation? [Y/n]
これで /mingw64/bin/cmake と表示されれば OK。あとは前の手順どおり cmake .. && make でビルドできます。
furcr@furcraea_built MINGW64 ~
$ cd C:\glsl_sample
furcr@furcraea_built MINGW64 /c/glsl_sample
$ cd build
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$ cmake ..
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$ make
-bash: make: command not found
なので
🧩 補足:make がないとき
pacman -S make
furcr@furcraea_built MINGW64 ~
$ pacman -S make
resolving dependencies...
looking for conflicting packages...
Packages (1) make-4.4.1-2
Total Download Size: 0.50 MiB
Total Installed Size: 1.61 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
make-4.4.1-2-x86_64 507.6 KiB 320 KiB/s 00:02 [###############################] 100%
(1/1) checking keys in keyring [###############################] 100%
(1/1) checking package integrity [###############################] 100%
(1/1) loading package files [###############################] 100%
(1/1) checking for file conflicts [###############################] 100%
(1/1) checking available disk space [###############################] 100%
:: Processing package changes...
(1/1) installing make [###############################] 100%
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
furcr@furcraea_built MINGW64 ~
$
または MINGW版を使うなら:
pacman -S mingw-w64-x86_64-make
furcr@furcraea_built MINGW64 ~
$ pacman -S mingw-w64-x86_64-make
warning: mingw-w64-x86_64-make-4.4.1-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) mingw-w64-x86_64-make-4.4.1-3
Total Installed Size: 0.29 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [###############################] 100%
(1/1) checking package integrity [###############################] 100%
(1/1) loading package files [###############################] 100%
(1/1) checking for file conflicts [###############################] 100%
(1/1) checking available disk space [###############################] 100%
:: Processing package changes...
(1/1) reinstalling mingw-w64-x86_64-make [###############################] 100%
furcr@furcraea_built MINGW64 ~
$
その場合、呼び出しは mingw32-make になるかもしれません。
対処法:明示的に Makefile を出させる
🔁 ビルドフォルダをクリア
まず、前回のビルドキャッシュを消します:
cd ..
rm -rf build
mkdir build
cd build
✅ CMakeを正しく実行(MSYS Makefiles 指定)
cmake -G "MSYS Makefiles" ..
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$ cmake -G "MSYS Makefiles" ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The C compiler identification is GNU 15.1.0
-- The CXX compiler identification is GNU 15.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: opengl32
-- Configuring done (1.2s)
-- Generating done (0.0s)
-- Build files have been written to: C:/glsl_sample/build
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$ make
[ 50%] Building C object CMakeFiles/glsl_sample.dir/main.c.obj
[100%] Linking C executable glsl_sample.exe
[100%] Built target glsl_sample
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$ cd ..
furcr@furcraea_built MINGW64 /c/glsl_sample
$ rm -rf build
furcr@furcraea_built MINGW64 /c/glsl_sample
$ mkdir build
furcr@furcraea_built MINGW64 /c/glsl_sample
$ cd build
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$ cmake -G "MSYS Makefiles" ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The C compiler identification is GNU 15.1.0
-- The CXX compiler identification is GNU 15.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: opengl32
-- Configuring done (1.2s)
-- Generating done (0.0s)
-- Build files have been written to: C:/glsl_sample/build
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$ make
[ 50%] Building C object CMakeFiles/glsl_sample.dir/main.c.obj
[100%] Linking C executable glsl_sample.exe
[100%] Built target glsl_sample
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$ ./glsl_sample.exe
Failed to open shader.vert
furcr@furcraea_built MINGW64 /c/glsl_sample/build
$
[VSM] Non-Nanite Marking Job Queue overflow. Performance may be affected. This occurs when many non-nanite meshes cover a large area of the shadow map. (1 seconds ago)
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter10\AudioSystem.cpp(11,10): error C1083: Cannot open include file: ‘fmod_studio.hpp’: No such file or directory
なので3つの設定をやってしまった。
ーーーーーーーーーーーーーーーーーーーーーー
Visual Studioの場合: Gameプロジェクトを右クリックし、[プロパティ]を選択。 [C/C++] → [追加のインクルードディレクトリ] を選び、FMODのインクルードフォルダのパス (例: D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\inc )を追加。 変更後、プロジェクトを再ビルドしてみてください。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
1>LINK : fatal error LNK1104: cannot open file ‘fmodL_vc.lib’ 1>LINK : fatal error LNK1104: cannot open file ‘fmodstudioL_vc.lib’ [リンカー] → [追加の依存ファイル]にFMODのライブラリを追加します。 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
Build EventのPostを
xcopy "$(ProjectDir)\..\external\SDL\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "$(ProjectDir)\..\external\GLEW\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86\*.dll" "$(OutDir)" /i /s /y
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter10\AudioSystem.cpp(11,10): error C1083: Cannot open include file: ‘fmod_studio.hpp’: No such file or directory
なので3つの設定をやってしまった。
ーーーーーーーーーーーーーーーーーーーーーー
Visual Studioの場合: Gameプロジェクトを右クリックし、[プロパティ]を選択。 [C/C++] → [追加のインクルードディレクトリ] を選び、FMODのインクルードフォルダのパス (例: D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\inc )を追加。 変更後、プロジェクトを再ビルドしてみてください。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
1>LINK : fatal error LNK1104: cannot open file ‘fmodL_vc.lib’ 1>LINK : fatal error LNK1104: cannot open file ‘fmodstudioL_vc.lib’ [リンカー] → [追加の依存ファイル]にFMODのライブラリを追加します。 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
Build EventのPostを
xcopy "$(ProjectDir)\..\external\SDL\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "$(ProjectDir)\..\external\GLEW\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86\*.dll" "$(OutDir)" /i /s /y
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter10\AudioSystem.cpp(11,10): error C1083: Cannot open include file: ‘fmod_studio.hpp’: No such file or directory
なので3つの設定をやってしまった。
ーーーーーーーーーーーーーーーーーーーーーー
Visual Studioの場合: Gameプロジェクトを右クリックし、[プロパティ]を選択。 [C/C++] → [追加のインクルードディレクトリ] を選び、FMODのインクルードフォルダのパス (例: D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\inc )を追加。 変更後、プロジェクトを再ビルドしてみてください。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
1>LINK : fatal error LNK1104: cannot open file ‘fmodL_vc.lib’ 1>LINK : fatal error LNK1104: cannot open file ‘fmodstudioL_vc.lib’ [リンカー] → [追加の依存ファイル]にFMODのライブラリを追加します。 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
Build EventのPostを
xcopy "$(ProjectDir)\..\external\SDL\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "$(ProjectDir)\..\external\GLEW\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86\*.dll" "$(OutDir)" /i /s /y
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter10\AudioSystem.cpp(11,10): error C1083: Cannot open include file: ‘fmod_studio.hpp’: No such file or directory
なので3つの設定をやってしまった。
ーーーーーーーーーーーーーーーーーーーーーー
Visual Studioの場合: Gameプロジェクトを右クリックし、[プロパティ]を選択。 [C/C++] → [追加のインクルードディレクトリ] を選び、FMODのインクルードフォルダのパス (例: D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\inc )を追加。 変更後、プロジェクトを再ビルドしてみてください。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
1>LINK : fatal error LNK1104: cannot open file ‘fmodL_vc.lib’ 1>LINK : fatal error LNK1104: cannot open file ‘fmodstudioL_vc.lib’ [リンカー] → [追加の依存ファイル]にFMODのライブラリを追加します。 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
Build EventのPostを
xcopy "$(ProjectDir)\..\external\SDL\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "$(ProjectDir)\..\external\GLEW\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86\*.dll" "$(OutDir)" /i /s /y
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter10\AudioSystem.cpp(11,10): error C1083: Cannot open include file: ‘fmod_studio.hpp’: No such file or directory
なので3つの設定をやってしまった。
ーーーーーーーーーーーーーーーーーーーーーー
Visual Studioの場合: Gameプロジェクトを右クリックし、[プロパティ]を選択。 [C/C++] → [追加のインクルードディレクトリ] を選び、FMODのインクルードフォルダのパス (例: D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\inc )を追加。 変更後、プロジェクトを再ビルドしてみてください。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
1>LINK : fatal error LNK1104: cannot open file ‘fmodL_vc.lib’ 1>LINK : fatal error LNK1104: cannot open file ‘fmodstudioL_vc.lib’ [リンカー] → [追加の依存ファイル]にFMODのライブラリを追加します。 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
Build EventのPreを
xcopy "$(ProjectDir)\..\external\SDL\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "$(ProjectDir)\..\external\GLEW\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86\*.dll" "$(OutDir)" /i /s /y
xcopy "D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86\*.dll" "$(OutDir)" /i /s /y
あとはコメント化して無効化の修正
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter10\AudioSystem.cpp(59,11): error C2039: ‘getLowLevelSystem’: is not a member of ‘FMOD::Studio::System’ //mSystem->getLowLevelSystem(&mLowLevelSystem);にコメントして無効化
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter10\SoundEvent.cpp(83,10): error C2039: ‘setParameterValue’: is not a member of ‘FMOD::Studio::EventInstance’ //event->setParameterValue(name.c_str(), value);にコメントして無効化
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter10\SoundEvent.cpp(126,10): error C2039: ‘getParameterValue’: is not a member of ‘FMOD::Studio::EventInstance’ //event->getParameterValue(name.c_str(), &retVal);にコメントして無効化
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter09\SoundEvent.cpp(11,10): error C1083: Cannot open include file: ‘fmod_studio.hpp’: No such file or directory
Visual Studioの場合: Gameプロジェクトを右クリックし、[プロパティ]を選択。 [C/C++] → [追加のインクルードディレクトリ] を選び、FMODのインクルードフォルダのパス (例: D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\inc )を追加。 変更後、プロジェクトを再ビルドしてみてください。
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter09\AudioSystem.cpp(59,11): error C2039: ‘getLowLevelSystem’: is not a member of ‘FMOD::Studio::System’ 1> D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc\fmod_studio.hpp(36,11): //mSystem->getLowLevelSystem(&mLowLevelSystem);//コメントアウト
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter09\SoundEvent.cpp(83,10): error C2039: ‘setParameterValue’: is not a member of ‘FMOD::Studio::EventInstance’ 1> D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc\fmod_studio.hpp(184,11): 1> see declaration of ‘FMOD::Studio::EventInstance’ //event->setParameterValue(name.c_str(), value);//コメントアウト
1>D:\Sandbox\gameprogcpp_code\code-master\Chapter09\SoundEvent.cpp(126,10): error C2039: ‘getParameterValue’: is not a member of ‘FMOD::Studio::EventInstance’ 1> D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\inc\fmod_studio.hpp(184,11): 1> see declaration of ‘FMOD::Studio::EventInstance’ //event->getParameterValue(name.c_str(), &retVal);//コメントアウト
で解決して次のエラー
1>LINK : fatal error LNK1104: cannot open file ‘fmodL_vc.lib’ 1>LINK : fatal error LNK1104: cannot open file ‘fmodstudioL_vc.lib’ [リンカー] → [追加の依存ファイル]にFMODのライブラリを追加します。 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\core\lib\x86 D:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\lib\x86