sdl2 ttf dll issue winwows mingw-w64 - windows-10

I've been trying to get the sdl2 ttf extension library to work. I am able to compile code without issue, but when running the exe, via command line, I get the following message popup. "The application was unable to start correctly (0xc0000007b). Click OK to close the application" searching for others with similar issues, it seems like the issue they had was that they had put the wrong version of the dll in their system32 directory, but I have tried putting both the 32 and 64 bit versions in and neither worked (the 64 bit one is what should work). Any ideas on what else could be causing this?

Turns out the problem was just that I didn't also copy over the libfreetype-6.dll

Related

How can I fix Microsoft Visual C++ 2017 X64 Minimum Runtime error during installing Redistributable packages (VC_redist.x64.exe, VC_redist.x86.exe)?

During installation I get "The feature you are trying to use is on a network resource that is unavailable" and prompt to specify some path to vc_runtimeMinimum_x64.msi. After providing some path to required file I get error states that this file doesn't match required version Minimum Runtime 14.14.26405.
I finally found the solution reading this question: Install vcredist_x64 with VS2017 installer project
I realized that specific VC_Redist.x64.exe files could be downloaded by links like https://aka.ms/vs/15/release/26405.00/VC_Redist.x64.exe, where 26405.00 is exactly the version I was required to fix. Note, that you need version from error text after clicking OK, not from window title.
And the last point is that this exe must be executed from cmd with argument /repair to help me with this issue. Regular execution by double click made no effect.
I found the solution elsewhere. It said to
Fix problems that block programs from being installed or removed
https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed
download troubleshooter button on the link.
Run it - choose option - have problem with installing - it lists programs - choose the missing / problematic visual c++ runtimes in the list
it will run and get fixed.
Repeat for each visual c++ you having problems with. I ran the program multiple times.
I have to thank this comment section for helping me with this problem, since I have not been able to work more efficently with my school, since I din't know what and if a single file somewhere deep down in the computer had to be deleted for this program to work.

Unable to package app on x64: Could not copy the file "obj\x64\Release\\project_name.xr.xml

I need help resolving the following error:
Error 2 Could not copy the file "obj\x64\Release\project_name.xr.xml" because it was not found.
NOTE:
This error does not occur when I package the same solution on x86.
This only occurs on x64.
In addition, this error is now exposed ever since I downloaded VS2012 Update 2.
The error went away as a result of me fixing the list of warnings that resulted from building the solution.
For me the issue was fixed simply by removing spaces from Assembly Name parameter. This can be found in the properties of the Windows 8.1 application project.
Ok, this is a weird problem and I could not solve it till I looked at the solution from Ken.
Click here for his solution
Ken's issue and solution gave me an idea and it worked.
I had x:Class="project_name.App" in my App.xaml file and Ken said the issue was with the app name.
So I removed the .App from x:Class="project_name.App" and just had x:Class="project_name" and received the error "Invalid value for 'project_name'. Event values must be text."
Ok so I put it back in.
Well, then it worked and the error went away.
Um, I do not have any idea why it now worked as it was exactly the same text, but the process of changing it back and forth fixed it. Hope this saves someone hours of pain.
And I am using Visual Studio 2013 Update 2 that I reinstalled onto my PC yesterday since the PC had a melt down and needed a rebuild.

qt creator editing missing some characters (blank) Linux

Im running a fedora 18 box and just installed Qt Creator 3.0,
as well as trying 2.8.1. Both versions, when I pull up my source
code, there are many characters missing in patterns. It looks like
15-25% of the code has sections "missing"
I think its a graphics problem maybe, but I can find no articles online
about this issue so far. Anyone know what this is or how to fix it?
Thanks
EDIT: Here's the image. Also using vim they look fine. Im compiling and running
from an xterm window due to qcreator's issue (unfortunately). if I 'file' the source
files, they are: C source, ASCII text

Assembly Changes With Reflexil Have No Effect

i'm trying to change a DLL of a Net 4.0 Application with Reflexil. The directory looks like this:
Main.exe
SomeOther.exe
Lib1.dll
Lib2.dll
Lib3.dll
...
Now I'm trying to change some IL code in any of these files with Reflector 7.5.3.8 Trail and Reflexil 1.5. For example, I remove all the code from the Main() method in Main.exe (THE main method, I'm sure about this) leaving nothing but a ret. After saving the changes, I still don't see any effect, the program starts as usual.
I guess the problem is, that there is still a cached version of that file somewhere. How do I solve that problem?
What do I have to do to change IL code of the DLLs?
After many hours of work, I finally found the problem.
At installation, the program generated NativeImages - nothing unusual so far. The Problem was, that
ngen uninstall Lib1.dll
or
ngen uninstall Main.exe
did not uninstall the Native Image. Why? I had no idea... I tried
ngen display Lib1.dll
and it said, there's no such assembly. By coincidence, I tried to list the whole Native Image Cache with a find:
ngen display | find "Lib1"
which showed me, that it is still in there (why that?!). This time I tried to uninstall it not by uninstall Lib1.dll, but by executing
ngen uninstall Lib1 (without dll)
which worked like a charm and told me the problem. It didn't uninstall it, because other assemblies in the Native Image Cache still depended on it. I had to uninstall all the dependent assemblies first, after that it was deleted automatically.
I hope this is of some help. I think it's really confusing to distinguish between the file and the assembly in general...

Issue running firefox built from source (on Ubuntu 9.10)

The title of the question sums it up pretty well. I've downloaded the source for firefox 3.6 and built it (no errors), but when I try to run it, I get a warning that says:
(firefox-bin:2857): GLib-WARNING **: g_set_prgname() called multiple times
I'm not sure what to try now. Any suggestions? Or even a better place to ask this question?
*EDIT - It's not that I only get a warning, that wouldn't bother me. The problem is that the warning is the only thing that ever happens (no firefox windows show up or anything). When I run it from the terminal, that warning shows up twice and then nothing else happens (it just hangs and I have to Ctrl-C it).
Bug in Glib introduced while trying to fix https://bugzilla.gnome.org/show_bug.cgi?id=563627 and, as discussed in that bug, later backed out because of the issue you're seeing. The warning will go away once you get a newer version of Glib.
Quick comments:
It's a warning, not an error. This is not a problem but looks like the library wanted to be used differently. So why worry?
Why did you build it from source? If you want newer packages, I usuaully start with Debian sources and turn those into local packages -- as this incorporates whatever the package maintainers deemed worthy and will be closer to the package you will get at the next Ubuntu upgrade.

Resources