You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have attempted to get access to the faxe code by adding this to the Project.xml:
<source path="./deps/faxe" />
When building with lime test windows I am getting this error:
$ lime test windows
Found your FMOD API <path to my project>/deps/faxe//lib/Windows!
building for win.
Creating <path to my project>/export/windows/obj/obj/msvc1964-nc/__pch/haxe/hxcpp.pch...
hxcpp.cpp
Compiling group: haxe
cl.exe -Iinclude -I<path to my project>/deps/faxe/linc/ -I<path to my project>/deps/faxe//lib/Windows/api/lowlevel/inc/ -I<path to my project>/deps/faxe//lib/Windows/api/studio/inc/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -Fd<path to my project>\export\windows\obj\obj/msvc1964-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -IE:/HaxeToolkit/haxe/lib/hxcpp/4,0,64/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]
- src/faxe/FaxeRef.cpp
- src/Main.cpp
- src/__boot__.cpp
- src/ApplicationMain.cpp
- <path to my project>/deps/faxe//linc/linc_faxe.cpp
- src/lime/utils/AssetCache.cpp [haxe,release]
Error: linc_faxe.cpp
<path to my project>/deps/faxe//linc/linc_faxe.cpp(68): error C2039: 'getLowLevelSystem': is not a member of 'FMOD::Studio::System'
<path to my project>/deps/faxe//lib/Windows/api/studio/inc/fmod_studio.hpp(37): note: see declaration of 'FMOD::Studio::System'
<path to my project>/deps/faxe//linc/linc_faxe.cpp(298): error C2039: 'getParameterValue': is not a member of 'FMOD::Studio::EventInstance'
<path to my project>/deps/faxe//lib/Windows/api/studio/inc/fmod_studio.hpp(176): note: see declaration of 'FMOD::Studio::EventInstance'
<path to my project>/deps/faxe//linc/linc_faxe.cpp(300): error C3536: 'result': cannot be used before it is initialized
<path to my project>/deps/faxe//linc/linc_faxe.cpp(302): error C2664: 'const char *FMOD_ErrorString(FMOD_RESULT)': cannot convert argument 1 from 'int' to 'FMOD_RESULT'
<path to my project>/deps/faxe//linc/linc_faxe.cpp(302): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style
cast)
<path to my project>/deps/faxe//linc/linc_faxe.cpp(302): warning C4473: 'printf' : not enough arguments passed for format string
<path to my project>/deps/faxe//linc/linc_faxe.cpp(302): note: placeholders and their parameters expect 3 variadic arguments, but 2 were provided
<path to my project>/deps/faxe//linc/linc_faxe.cpp(302): note: the missing variadic argument 3 is required by format string '%s'
<path to my project>/deps/faxe//linc/linc_faxe.cpp(318): error C2039: 'setParameterValue': is not a member of 'FMOD::Studio::EventInstance'
<path to my project>/deps/faxe//lib/Windows/api/studio/inc/fmod_studio.hpp(176): note: see declaration of 'FMOD::Studio::EventInstance'
<path to my project>/deps/faxe//linc/linc_faxe.cpp(320): error C3536: 'result': cannot be used before it is initialized
<path to my project>/deps/faxe//linc/linc_faxe.cpp(322): error C2664: 'const char *FMOD_ErrorString(FMOD_RESULT)': cannot convert argument 1 from 'int' to 'FMOD_RESULT'
<path to my project>/deps/faxe//linc/linc_faxe.cpp(322): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style
cast)
<path to my project>/deps/faxe//linc/linc_faxe.cpp(322): warning C4473: 'printf' : not enough arguments passed for format string
<path to my project>/deps/faxe//linc/linc_faxe.cpp(322): note: placeholders and their parameters expect 3 variadic arguments, but 2 were provided
<path to my project>/deps/faxe//linc/linc_faxe.cpp(322): note: the missing variadic argument 3 is required by format string '%s'
Not sure if this is actually an issue with the .cpp files, or something with how my project is structured.
The text was updated successfully, but these errors were encountered:
I'm attempting to build for windows with a simple test project (not loading any banks yet, just initializing with
Faxe.fmod_init(36);
)My project setup looks like this (a partial representation to show you where the main things are):
I have attempted to get access to the
faxe
code by adding this to theProject.xml
:When building with
lime test windows
I am getting this error:Not sure if this is actually an issue with the
.cpp
files, or something with how my project is structured.The text was updated successfully, but these errors were encountered: