Code Monkey home page Code Monkey logo

faxe's Introduction

HI!!!

This is my work account, you can find my personal account here: @doawoo

faxe's People

Contributors

ashea-code avatar delahee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

faxe's Issues

Building Windows/HaxeFlixel

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):

ProjectRoot/
├── deps/
│   └── faxe/ (cloned from github)
├── source/
│   └── Main.hx
└── Project.xml

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.