Jump to content

stevel

Members
  • Posts

    18
  • Joined

  • Last visited

stevel's Achievements

  1. stevel

    sound system crash

    Just for anyone who might have the same issue, I found the difference that was causing this crash. I had 'treat WChar_t as build in type' set to true in my project, and the t3d engine seems to be be unhappy with this setting. Once I set this option to false in my project, this crash seems to be resolved. (I also had some incorrect casts that were hiding what would have been a valid compiler complaint.) Thanks for your help, Azaezel.
  2. stevel

    sound system crash

    I know this is a pretty ignorant question, but what controls which backends get loaded? I just loaded up the app I built from a cMake project from the 3.10.1 install, and DirectSound, OpenAl, and XAudio all show up in the options dialog, and all seem to work. So my plan would probably be to spend hours looking over my code, and trying to minimize differences between it and the cmake project I just built, but anything that could be done to educate me to reduce that time would be appreciated.
  3. stevel

    sound system crash

    Thanks for the reply. Just looking at the crash as I write this to try to answer your question. As I think I mentioned, the engine module manager is calling initialize system, which is executing module->initialize() for the fourth module (I == 3). Which is the SFXSystem. Looking a bit deeper in the call chain, SFXProvider is calling initialize all providers, and it's on the third provider (i == 2). Which is SFXDS. That third provider is calling init, and it seems to be SFXDSProvider, and that's where the crash occurs, so I think the answer to your question is DS, or direct sound. Let me know if I misunderstood either the question, or the call chain.
  4. stevel

    sound system crash

    I'm going to ask this question at a very high level first, and then if needed dive into the details. Maybe someone will have an idea what is going wrong from the high level description. I'm including the T3D engine in my project as a part of our larger app. The App is a 64 bit application that has a button that opens a 3D window, which is based on the t3D engine. At the moment, everything seems to be working pretty well in that I can launch our app, and click on the button, and it initializes and opens the window, which is based on the engine, but if I plug in my headphones, and do the same thing, the engine crashes while loading the SFX module. It looks like the crash is associated with trying to load up the 'dllopen' routine from within the sound DLL. It seems to be failing to find that routine within the DLL. What it feels like to me, is that the engine is trying to load the sound DLLs, which are still 32bit dlls, and it's failing because we're building a 64 bit app. If anyone has any thoughts on this question, I would appreciate hearing them. I will be glad to post some more information if that would help on Monday.
  5. stevel

    CMake error

    Thanks for your help, everyone, reverting cMake to 3.7.1 was the solution to my issue. Should not have grabbed the latest in the first place.
  6. stevel

    CMake error

    Thanks for the replies. Gonna try using an older version of cmake. Will post if it works.
  7. stevel

    CMake error

    I am trying to do a new CMake build of the engine with 3.10.1. I haven't used CMake before, and am encountering some errors that I could really use some help with. Background: Torque3D 3.10.1 fresh source download. CMake 3.13.3 Just downloaded the latest (Maybe I need a specific version?) I just downloading and reinstalled the June 2010 DXSDK, in case that was the issue. I'm using VS2017, and targeting VS2015, 64Bit. (Cause VS2017 is not listed.) Here's the last few lines from the CMake output window: I can post part of the CMakeOutput.log file, if necessary.) Looking for arm_neon.h - not found Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR) Could NOT find OSS (missing: OSS_INCLUDE_DIR) Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR) Could NOT find SoundIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR) Could NOT find QSA (missing: QSA_LIBRARY QSA_INCLUDE_DIR) CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/CheckIncludeFiles.cmake:63 (message): Unknown arguments: -D_WIN32_WINNT=0x0502 Call Stack (most recent call first): Engine/lib/openal-soft/CMakeLists.txt:938 (CHECK_INCLUDE_FILES) Configuring incomplete, errors occurred! See also "C:/Torque/Torque3D-3.10.1/My Projects/ExtendSim3D/buildFiles/CMake/CMakeFiles/CMakeOutput.log". See also "C:/Torque/Torque3D-3.10.1/My Projects/ExtendSim3D/buildFiles/CMake/CMakeFiles/CMakeError.log".
  8. Thank you Timmy! I had messed up my project, thinking that as I was trying to support DX 11, the dependency on the older DLL was transitioned to the newer one. As you pointed out, I was wrong. Back up and running now. Thanks again,
  9. I'll give that a try. Thanks for the response.
  10. Unless I am missing something, that's the DLL necessary for DX9. I'm trying to find out what I need to include to support DX11.
  11. Not sure why I am finding this so hard to resolve, but I am having trouble figuring out which version of d3dcompiler_47.dll to include when testing our project. It's based on 3.10, and I need to support DirectX 11. Basically I think I just need to know which version of the windows SDK to download so I can grab the right version of the d3dcompiler_47.dll file. If it matters, the specific problem I am having is D3DReflect returning an invalid argument error. I am pretty sure this is because I have the wrong version of the .dll included. If someone could let me know which version of the windows SDK I need, or set me straight if I am totally off base, I would appreciate the help. Thanks,
  12. Thanks for this. I seem to have gotten the code up and running, and I am seeing a split screen in my project on the monitor, but when I look into the rift, I just see a little hourglass icon. Not sure what is going on here, but I will post if I have any useful information about it. (I have a DK2, and get warnings from the oculus software that it's not supported, but it still works with the demos.) I should try this in the T3D directly, not just in my project, and see what it does there.
  13. Thanks Azaezel! Finally got back to this, and I have something using imposter code that is starting to work. I can post the final routine here, once I get it working well, if anyone cares.
  14. Script-side stuff makes sense, as I don't think that there was much of that in the development branch update, and there was talk of an option that needed to be turned on. An update here with some additional info would be great!
  15. stevel

    Draw Bitmap Rotated

    Brilliant! Thank you!
×
×
  • Create New...