drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.04k stars 1.06k forks source link

Unable to make Drogon. #2065

Closed albaropereyra22 closed 1 week ago

albaropereyra22 commented 2 weeks ago

Describe the bug unable to make Drogon;

To Reproduce Steps to reproduce the behavior: Install brew :https://docs.brew.sh/Installation /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew update; brew upgrade; brew install git gh gcc cmake jsoncpp ossp-uuid zlib openssl c-ares boost sqlite mariadb hiredis; git clone https://github.com/an-tao/drogon; cd drogon; git submodule update --init; mkdir build; cd build; cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib -DCMAKE_BUILD_TYPE=Release ..; make && sudo make install;

Expected behavior A clear and concise description of what you expected to happen. I am able to make drogon_ctl Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Additional context I know the make command is the one that is not working.

I don't know why I am getting the error please advise,

marty1885 commented 1 week ago

@albaropereyra22 Can you try my PR to fix it? You'll need to go into trantor and checkout to my branch. LMK if it works for you.

albaropereyra22 commented 1 week ago

I am not sure how to do this can you send me the commands I need to enter. If not that is okay I'll try to figure it out.

marty1885 commented 1 week ago

Try this

cd /path/to/your/local/drogon
cd trantor
git pull origin master

Then build

Also you might want to check your config. This only happens if no TLS provider is enabled. Do you really don't want to use any TLS?

albaropereyra22 commented 1 week ago

This worked. Thanks Marty I really appreciate it. I plan to use Nginx as a load balancer.