You appear to have the prerequisites.
Have you followed
2.1 Compiling from the command line (recommended)
2.3 Add wxWidgets to your PATH
What is your path (post it here please)
3. Get the OpenCPN source
I assume you have done this. Sometimes it is corrupted, and you should remove it and start over.
3.1 Get the binary dependencies
This one is very important. Download unzip and place them properly.
4. Build OpenCPN
Should be easy to do.
4.1a – Configuring the build from command line (recommended):
I use this one all the time from the command prompt.
are dumb, they only do what you tell them to do!
That is the beauty, you have complete control. It is entirely your baby. What other job/ part of life is like that..?
You have to be stubborn and proud and persistent enough to make it work for you too!