Announcement

Collapse
No announcement yet.

Compiling TSRE

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TrainSimJack
    replied
    Announcement:

    It looks like the openal-soft repo is active - the openal-soft website is also back up and running.

    OpenAL Soft - Software 3D Audio (openal-soft.org)

    kcat/openal-soft: OpenAL Soft is a software implementation of the OpenAL 3D audio API. (github.com)​ (last commit was 2 days ago)

    I've not had a chance to mess with these, but thought folks here might want to know.

    Leave a comment:


  • denglihong
    replied
    Originally posted by derekmorton View Post
    Hi Deng,

    Without a lot more information, it is difficult to help you.
    What article on google?
    Thank you for your attention. I have resolved this issue because I used a 64 bit mingw, which works well in 32-bit mode.

    Leave a comment:


  • denglihong
    replied
    Originally posted by TrainSimJack View Post

    Thanks, I tried this one, put it in the same folder as TSRE5.exe and it gets a different error:

    I'd like to know if others who've built the code following the steps above have needed this DLL - feels like it should be compiled/linked in during the build process, but it's not happening. ;-(
    Hello Jack, I encountered the same 0xc000007b issue as you when starting this application after building it. How did you solve it? Thank you!

    Leave a comment:


  • derekmorton
    replied
    Hi Deng,

    Without a lot more information, it is difficult to help you.
    What article on google?

    Leave a comment:


  • denglihong
    replied
    Hello, I have encountered a problem when I was prompted to build using NetBeans: "cannot find - lglut32". I don't know what the problem is, I tried the method on Google, but it didn't work.
    Last edited by denglihong; 01-30-2024, 01:39 AM.

    Leave a comment:


  • eric
    replied
    None of the MinGW or QT items are in the path, fortunately.

    I now have a QT Static build extracted and installed in C:\qt\static\Qt5.7.1 which more or less lines up with what was in the nbproject files already.

    Leave a comment:


  • GokuMK
    replied
    Originally posted by eric View Post
    At this point, I have three versions of QT and multiple versions of MinGW installed, so I'm not going to get valid results on anything until I can wipe the dev environment and start over.
    I would avoid "installing stuff", because you will lost track of what do you actually use. Check your system PATH variables if there is no mess.

    For example, I have nothing installed at all. Everything is extracted archives and linked in my project's properties. Nothing sits in my PATH variables.

    Leave a comment:


  • yellowdog
    replied
    ^^This. I don't have a secondary test machine. So I had to pause helping out because I can't keep installing and uninstalling stuff to try to keep a clean environment on my daily driver

    Leave a comment:


  • eric
    replied
    I'm using Windows terminal -- no bash

    At this point, I have three versions of QT and multiple versions of MinGW installed, so I'm not going to get valid results on anything until I can wipe the dev environment and start over.

    Leave a comment:


  • wjcurrey
    replied
    Originally posted by eric View Post
    Sound isn't working with any of my TSRE builds including 7.012
    Thanks for the verification

    With the version that I sent you on 01/22/24, stand alone running, and your able to compile your version, and it would run from QT Creator. It sounds like a pathing problem to me. Concentrate on creating a simple Qt Widgets Application standalone. Are you using bash terminal, or a windows terminal. Send me a copy of your "C:/Qt/5.15.2/mingw81_64/bin/windeployqt.exe ./111Trse5C.exe" command. Depending on what cmd shell your are running spacing slashes and in the case of the bash shell "./" is important.

    Leave a comment:


  • eric
    replied
    Originally posted by wjcurrey View Post
    I have a question for you. Does sound work on your machines?
    Sound isn't working with any of my TSRE builds including 7.012

    Originally posted by wjcurrey View Post
    1. Does the version that I sent you on 01/22/24, with the stand alone run​?
    Yes.

    I was also able to compile your version, and it would run from QT Creator, but wouldn't run independently or in a folder with all the DLL's.[QUOTE=wjcurrey;n2294196]LIBS += -lopengl32 C:/Users/Goku/Desktop/Programy/openal-soft-1.18.2-bin/libs/Win32/libOpenAL32.dll.a

    Very strange...

    Leave a comment:


  • wjcurrey
    replied
    I am confused about your message, are you saying you have running code in the debug folder? If so may want to establish some baselines.


    1. Does the version that I sent you on 01/22/24, with the stand alone run​?


    2. Create a simple Qt Widgets Application
    2a. Copy the build *.exe into a folder, called QtGenOut or what ever name you prefer.
    2b. There should only be about a dozen files there. The deletion of the moc* files that I mention are only for reducing clutter and can wait to the end.
    2c. Locate the *.exe and run windeployqt.exe on it. You should see additional folders and *.dll files along with the standalone *.exe. Note that when running the program *.exe. It must be run in the same folder with the *.dll files.
    2d. When Goku is talking about building Qt he is referencing about building libraries with a static deployment vs. a dynamic deployment. You may be interested in this short article Google MinGW Static and Dynamic Libraries.


    3. If I understand you correctly that you have a successful build of the source code I sent you, then copy the debug folder into a working directory. If things get messed then deleted the working directory and start over.


    Originally posted by eric View Post
    Also, your project had the AL subdirectory where the repository does not.
    I placed that folder into the build trying to correct some complication errors for the sound files. However that didn’t help so commented out the code for the sound files. If you look at the *.pro file you will see # next to a file name, this comments out that code for compilation. Goku himself is vague about where he got the source code. In addition to some of his NB files there are hard coded lines such as:
    INCLUDEPATH += /C/Users/Goku/Desktop/Programy/openal-soft-1.18.2-bin/include
    LIBS += -lopengl32 C:/Users/Goku/Desktop/Programy/openal-soft-1.18.2-bin/libs/Win32/libOpenAL32.dll.a


    I have a question for you. Does sound work on your machines? Such a loading USA Marais pass or some route with sound.




    A simple introduction to static and dynamic libraries with GCC.

    Leave a comment:


  • eric
    replied
    When I run the build, it executes.

    When I run the EXE independently it failed, but I may have messed up a step.

    Very strange. Also, your project had the AL subdirectory where the repository does not. I'm wondering if that may have been the issue all along with our attempts from netbeans. It never came up as a failure in the project build.

    Leave a comment:


  • wjcurrey
    replied
    It has been a while since I did an install. Checking my maintence tool surprisingly I have both checked, also under developer tools have Cmake checked. Under mingw81_64 most files are 11/6/2020. I should have told you to perform a simple Qt Widgets Application project, running thru generating an *.exe. Check both and run the test widgets. BTW did TSRE5 window show up? Beside screen shoots, cas start comparing SHA values

    Leave a comment:


  • eric
    replied
    First attempt at a 64 bit version failed. Same error as the other compiler...

    Leave a comment:

Working...
X