How do I find and put the correct dependances for my program? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 days ago.
Improve this question
I was programming in C++ a small program using QMultiMedia and QAudioOutput.
I compile and run my program in Qt (6.4) without error however when I run my program in File Explorer, when all DLLs are present, I get this error:
'could not load multimedia backend'"
QtMultimedia is not currently supported on this platform or compiler.'
So I started my research and I found several solutions however I did not understand their explanations very well (I start ...).
Here are the links I found:
-> Qt forum
-> Bugreports
-> CSDN
I tried to copy all the DLLs in mingw/bin in my folder or there is my .exe, I also copied the multimedia plugin (from mingw/plugins) to my folder or there is my .exe.
I'm on Windows 10 22h2.
Could you give me a clearer explanation? I would be very grateful.
Kind regards
Albin

Related

Visual Studio (.exe) export not working [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I've made a simple program in c++ and SDL that utilizes both SDL_Mixer and SDL_Image. However when I try to run the .exe in the debug folder I receive a black screen with no sound or images despite the program working quite properly in Visual Studio. All the dll's are where they should be and I've made sure everything should work. So why am I receiving a black screen instead of my program. Thanks.
I receive ... no ... images despite the program working quite properly in Visual Studio.
If you're using relative paths to load external resources like images then verify your program's working directory matches what it is when Visual Studio launches it.

Making an executable file out of a project/solution in VS2015 Community Edition (C++) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm new and trying to get on learning the C++ language but have so far been unable to find how to create an executable file. And whenever I find even close to a solution (although I can no longer seem to find the site that I found one at) I cannot seem to find the tabs or sub tabs that they say to look under. If anyone versed in Visual Studio 2015 could help me find out how to do this it would be greatly appreciated.
You are looking for "Build" or "Build Solution".
And (most likely) you are working within a "Debug configuration", so the .EXE file will be buried in a "Debug" subdirectory of your Project's directory.
Building in Visual Studio

error: symbol not found (C++) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
When I run my application, it says CXX0017 error: symbol not found, whereas that particular variable does not even exist in the code. I used it previously, and then removed it. Now, even after I cleaned and rebuilt the solution, it is still throwing it. I've checked the modules, and the PDB file is correct. Also, I deleted the PDB file and built it again, but no use. This is in Visual Studio 2010. I've searched about this, and some say that this is a bug related to Visual Studio 2010. I wanted to ask if anyone found a solution to this?
Thanks for your time
CXX0017 is a debugger error issued when a breakpoint watch uses an identifier that is not available. Remove or edit your breakpoints to stop using that identifier and the problem should go away.

Compiling process for Qt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I'm attempting to get Qt setup to run a simple hello world example, but I can't get the compilation setup right for the IDE (QtCreator). When I attempt to build by pressing the build button, I am getting the following error message:
Qt creator needs a compiler setup to build. Configure a compiler in the kit options
So I noticed that I had nothing setup for the compiler. I then downloaded a MinGW compiler and it seems the IDE managed to recognize it automatically. Still, when I attempt to build I am getting the same error message.
The truth is that I really don't know the process of compilation either from the command line or in other IDEs. I've read that there might be an issue with paths? I'm running on Windows. I would be extremely grateful if someone could explain what I may be doing wrong and what issue I may be having with building in QtCreator.
You will need to do the following steps for QtCreator:
1) Go to Settings > Build and Run > Kits.
2) Check if the auto-detection is correct. It is probably not if you have issues, so you will need to either set up manually or rreinstall QtCreator to see if the problem goes away. If it is not detected, you will have a read exclamation mark.
3) Add a new Kit.
4) Type a name.
5) You need to choose the proper "Qt version".
6) You need to choose the compiler.
7) Select the "Make Default" option.
As for command line, you should be able to do something like this to build a simple dummy main.cpp:
main.cpp
int main() {}
and then you can run the following commands in the (msys/cygwin/etc) prompt:
qmake -project && qmake && make

I'm currently creating my first Windows Device Driver "Hello world." activity. I'm using Microsoft Visual Studio 2012. [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How do I generate a .sys file so that I can load it in the OSRloader?
A .sys file is basically a .dll file that only depends on the kernel.
You'll need the Windows Driver Kit's libraries (especially ntoskrnl.lib).
Open up the project properties and:
Select Linker->Input, then change Ignore All Default Libraries to Yes.
Select Linker->Input, then add ntoskrnl.lib to Additional Dependencies.
Select Linker->System, then change Driver to to Driver, and Subsystem to Native.
Select Linker->Advanced, then change Entry Point to DriverEntry.
Select Linker->Advanced, then change Image Has Safe Exception Handlers to No (if it's there).
Do these for both Debug and Release configurations (you might not be able to use the Debug build).
Then build. You may also need to add other libraries (e.g. BufferOverflowK.lib).