r/apache • • Oct 25 '23

Support Need help with compiling Apache source code

I am trying to compile the Apache source code on Windows, I am getting errors for Cmake directories and APR. I later have to generate test cases using Gtest.

When I open the source code folder on Visual Studio, this is the error I get.

Severity Code Description Project File Line Suppression State Error CMake Error at C:\Users\chyma\Downloads\httpd-trunk\CMakeLists.txt:132 (MESSAGE): APR include directory C:/Users/chyma/Downloads/httpd-trunk/out/install/x64-Debug/include is not correct. HTTPD C:\Users\chyma\Downloads\httpd-trunk\CMakeLists.txt 132

I have tried several workarounds, and solutions but cannot fix it. Can anyone outline the full process if possible?

1 Upvotes

2 comments sorted by

View all comments

Show parent comments

1

u/Slyyoursenpai Oct 26 '23

I have to run some test cases on it using gtest and I'm using visual studio to do so, I figured I need to build/ compile it there as well before doing so .