Recently, I found some error during the compiling progress of my curl program with Code::Blocks. The error keep showing in Code::Blocks like this: [Linker error] undefined reference to `_imp__curl_easy_init' I try to repair the Linker settings and Search directories but found out that there’s nothing wrong with it. It turns out the MinGW version has been modified to Win64 version last time when I was trying to deal with some W64 programs few days ago. I found that the MinGW download directly from the official website cannot be used in Code::Block properly. Hence, I use tdm-gcc instead . Here’s the procedure to fix the curl reference error. Download the tdm32 bundle from: http://tdm-gcc.tdragon.net/ Install MinGW/TDM(32-bit) by just clicking Next in the next few steps After the installation process, the MinGW will be installed under C:\TDM-GCC-32 Open your Code::Blocks program and go to Settings>Compiler Change the setting as followed Now th...
Apache is a popular platform to establish website on your local machine. In this tutorial, we are going to demonstrate how to setup Apache 2.4 on Windows 7 system. First, Go to the Apache Lounge website Download both: 1. the latest C++ Redistributable Visual Studio 2017 and 2. Apache *.zip files for your operation system (For me is Win64 version) Unzip the file after downloaded and put the Apache24 folder to the location of C:\ Run the CMD.ext as Administrator and change the direction to the folder of C:\Apache24\bin Type in httpd.exe -k install Go to the folder of C**:\Apache24\bin** and double click on ApacheMonitor.exe You can see the Apache 2.4 server with green light if the server has been started properly. Type in localhost in your browser address. If the Apache works properly. You can see a web page displayed in your browser. This is the first step to start up your own website with Apache! Uninstall Type in these code with the admin...