Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't build the app #12

Open
devin-lo opened this issue Mar 20, 2023 · 17 comments
Open

can't build the app #12

devin-lo opened this issue Mar 20, 2023 · 17 comments

Comments

@devin-lo
Copy link

Hi, I'm trying to build the app in Windows 10 Pro so that I can use Talk32 on my WinXP machine.
But it seems that I can't even build it?

image

I have installed Windows SDK 7.1 by first uninstalling VC++ 2010 Redistributables, then installing the SDK, then installing the patch, then finally reinstalling the redistributables.

Is there something I did wrong? Or can you just send me one that's already built please?

@DoaJCBlogger
Copy link
Owner

You're missing ammintrin.h. This is a known issue with the VC++ 2010 compiler. I've attached a copy. You should also install the SP1 update.
ammintrin.zip
Fix problem when mex .pdf
fatal error C1083_ Cannot open include file_ ‘ammintrin.pdf

@devin-lo
Copy link
Author

devin-lo commented Mar 20, 2023

Hey! That helped to build it successfully, thank you for the quick reply!
I had seen that issue on StackOverflow, but the way they linked to the upload on the Mathworks forum was broken.

Now, I'm having this issue in WinXP:
Imgur

I have indeed used setenv /xp /x86 /release before building. I also ran the Command Prompt as Administrator.

Also, FYI I can't seem to find a VS2010 installer ANYWHERE (trustworthy).

@DoaJCBlogger
Copy link
Owner

I use the Windows SDK 7.1, not Visual Studio. If you want Visual Studio, I trust files.dog. You should check their MSDN collection. I don't know exactly what's causing the error but you might try deleting talk32.exe and building it again. Sometimes the manifest doesn't get added (the final step with "mt").

@devin-lo
Copy link
Author

devin-lo commented Mar 20, 2023

Rebuilding it didn't fix it :( I even tried doing the steps from the bat individually.

It opens fine in Windows 10 but not on XP.

Actually, is there any way to build directly on Windows XP? Does Windows SDK 7.1 even work on XP itself?

@DoaJCBlogger
Copy link
Owner

Yes, it runs on XP and that's partly why I use it. Would you like me to just give you a copy of the latest version?

@DoaJCBlogger
Copy link
Owner

If it still doesn't work after building it on Windows XP, send me a screenshot of all the files in the folder that talk32.exe is in so I can make sure that you're not missing anything.

@devin-lo
Copy link
Author

Tried to build in XP, yeah still not working.

Imgur

If you can't figure it out, yes please send a copy of the latest version for me to try opening.

@DoaJCBlogger
Copy link
Owner

DoaJCBlogger commented Mar 21, 2023

This copy is able to start on Windows 8.1. It's actually a 7-Zip file but GitHub doesn't let you upload *.7z files so I renamed it. Let me know if it works for you. Also, the messaging parts aren't ready yet but if you want to use the logger, you're going to have to create a JSON config file. I can help you do that tomorrow if you want.

talk32_20230320.zip

@devin-lo
Copy link
Author

It works!! Thank you so much :)

@devin-lo
Copy link
Author

Oh, now I have this error that there's no cache folder:
Imgur1

Providing the console log for reference:
Imgur2

@DoaJCBlogger
Copy link
Owner

DoaJCBlogger commented Mar 24, 2023

Extract this to a folder called "Talk32" in your local AppData folder. Here is where it will be. There is also a CHM help file in the "docs" folder that explains the contents of the config file if you want to set up the logger, which is the only part that's ready for use.

Windows XP: C:\Documents and Settings[username]\Local Settings\Application Data
Windows 7 and higher: C:\Users[username]\AppData\Local\

Also, be careful about uploading screenshots of the log since it might contain your authentication token which gives people full access to your account even if you have 2-factor authentication.

talk32_cache.zip

@devin-lo
Copy link
Author

Hooray, adding the cache folder worked! I managed to get past the login screen now.

However, logging doesn't seem to work, as any positive number of entries I put into the logging_servers array in config.json makes Talk32 crash upon opening :(

Also, noted, I deleted the screenshot.

Thanks for putting up with me and my unintentional QA testing!

@DoaJCBlogger
Copy link
Owner

Can you send your config.json file?

@devin-lo
Copy link
Author

config.txt
Uploaded as TXT instead of JSON.
Edits were made to this file exclusively in XP's Notepad.

@DoaJCBlogger
Copy link
Owner

DoaJCBlogger commented Mar 29, 2023

Can you send me an invitation to "omg yesss fortnie" so I can see if it's something about the server? Also, is it crashing on Windows XP?

@DoaJCBlogger
Copy link
Owner

It took me a while to realize that it might be awkward to explain why I joined that server so we don't have to do that if you don't want to. I'm able to use the logger nonstop for multiple consecutive days without any issues so I don't know what's wrong.

@DoaJCBlogger
Copy link
Owner

One more thing: try adding an "assets" element to the server objects, like this:

"assets": "E:\\Documents\\discord\\assets\\monero\\"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants