mingw makefile compile error windows - c++

hey guys i'm trying to run the following command:
mingw32-make -f makefile.mingw
everything seems to go fine until after about 3 minutes when i get the following error:
https://images.weserv.nl/?url=i.imgur.com/J7ojYju.png&fnr
The Error is on the left and on the right is the makefile.mingw, what exactly is the problem been trying to get this to work for a while. Thanks
link to make file: https://mega.co.nz/#!GI8kAAgC!I0YPQwroHHJokjoYIZfQADcEYxlG_x0MLTi1pi9CCFI

The OpenSSL development package is not installed.

Related

How do i install correctly g++ and clang++ complilers on windows 11 for visual studio code

Well, it's more like a two-part question. I was following step by step this youtube tutorial about setting up visual studio code and trying different compilers(I went to winlibs and downloaded Win64: Zip archive version) and everything was great until 35:30 where the terminal output was fatal error: cannot execute 'cc1plus': CreateProcess: No such file or directory compilation terminated. I uninstalled and repeated the process several times but the problem remained. I followed some other tutorials about fixing the problem but it didn't work and soon after something else came up. I uninstalled and installed again the compilers and when I tried to find them in the command prompt clang++ --version worked and gcc --version but when I tried the g++ --version this appeared on the screen.Screenshot Saying this can't run on your pc or whatever. I really need some help did I do something wrong? How do I fix both these issues (terminal error and this app cant run on your PC) I ran a virus scan,SFC scan, I run command prompt as administrator, and this does work but at the beginning I didn't have to do that and if I don't choose that option still says that and it's really frustrating. I would really appreciate some help. Thanks in advance!

why I'm getting error in executing my C++ code

I have installed MinGW 3 times and I've also added path in env. variable but whenever I try to run a code in CodeLight it just gives me the following error:
mingw-32-make.exe: *** [ALL] Error 2
In MinGW installation tutorials there are .exe files in the bin folder but I don't have any .exe file in the bin folder inside MinGW. I've tried installing it 3 and very carefully.
Can someone help me out?
Make sure the compiler and build tools are properly configured in the IDE (CodeLight).
Installing MinGW by itself doesn't tell CodeLight were to find it.
There is a standalone MinGW-w64 personal build available at http://winlibs.com/ that doesn't need installation, just unzip it. On the site there is an explanation on he wot configure Code::Blocks IDE to use this compiler. The steps should be pretty similar in CodeLight.

FLAC.framework error

I am trying to learn how to use SFML however when i try to compile my c++ code i get Xcode telling meCommand /bin/sh failed with exit code 2. this is the error i get when i click more info
ditto: can't get real path for source
'/Library/Frameworks/FLAC.framework' couldn't copy
/Library/Frameworks/FLAC.framework to
/Users/tris/Library/Developer/Xcode/DerivedData/idk-ckysmijtsswdysecxtelmnggzhun/Build/Products/Debug/idk.app/Contents/Frameworks//FLAC.framework
Command /bin/sh failed with exit code 2
how would i go about fixing this? i have tried reinstalling the Command line tools packaged with xcode.
thanks.
There was an error with the way i had installed SFML. If anyone comes across this error then please go back and install the dylib option of sfml. that is how my issue was resolved.

Can't compile fabric on windows - missing ltdl.h

I am trying to build a chaincode using go build.
Environment:
installed go 1.8.3 windows/amd
Windows 10
When I run go build I get the following error:
# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11
..\..\github.com\hyperledger\fabric\vendor\github.com\miekg\pkcs11\pkcs11.go:29:18: fatal error: ltdl.h: No such file or directory
compilation terminated.
I checked and my GCC installation does not contain the ltdl.h file in the include folder.
I found a SO post with a solution for Linux, but not one for Windows.
Can someone help?
On windows you can build without PKCS
go build --tags nopkcs11
Try running the following command
sudo apt install libtool libltdl-dev
Make sure go get -u github.com/hyperledger/fabric/core/chaincode/shim throws no error then go build it.

wxwidget with MinGW [compiliing/linking to wxmsw26ud_core ]

Using:
Compiler: 4.81 GCC (MINGW)
OS: windows 7
wxwidgets: version (2.8) & (2.6) [out of frustration tried both versions]
installation instruction followed: wxwidget [wx/doc/install.txt]
Having problems installing wxwidgets; I have tried both the MSYS method and using the cmd.exe but cannot seem to get it working
So tried a fresh install recently and I get the following error:
ld.exe: cannot find -lwxmsw26ud_core
So since it is a linking error; I checked C:\wxWidgets\lib\gcc_lib\ and the wxmsw26ud_core is missing. So I am guessing there is something wrong in the build process.
For reference, I am using the following mingw32-make -f makefile.gcc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=0 under C:\wxWidgets\build\msw
Any suggestion what would make it work?
Thanks in advance
First of all, wxWidgets 2.6 is an incredibly old version, you won't find any support for it any longer. This being said, even it should have been built and 2.8 definitely should as well. But clearly it didn't, so you must have got an error after running make. Unfortunately you don't tell us what this error was, so I don't know how to help you.
My own recommendation is to get wxWidgets 2.9.5 and use configure and make under Cygwin but using mingw32-make should work too.