How to specify additional include paths when compiling?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By azurvii
:warning: Old Version Published before Godot 3 was released.

Platform: MacOS 10.11.4
Building with builtin openssl compiles fine. I’m trying to compile Godot with external openssl dep.

:bust_in_silhouette: Reply From: tiernich

they just released a new Maintenance release: Godot 2.0.3 that supports newer version of openssl, is the version you are looking for?

Thanks man. I am looking for one with no warning and capable of connecting to https sites, not a specific version. I tried 2.0.3, but it still fails to connect to any https sites. Did you succeed to connect to any https sites with 2.0.3? I found a doc about certs, but I believe this is not needed since I’m only writing a client, rather than a server: http://docs.godotengine.org/en/latest/tutorials/ssl_certificates.html.

azurvii | 2016-05-15 04:21

I think both of us wandered off the original question I asked: adding an external lib in the compiling process. I think this is a useful question and should deserve an answer, so I asked a separate question about openssl in How to use HTTPClient to connect to a ssl site? - Archive - Godot Forum.

azurvii | 2016-05-15 15:43

No problem :slight_smile:

tiernich | 2016-05-15 17:33

:bust_in_silhouette: Reply From: azurvii

After poking around a bit, I think this would need to be tackled in SConstruct/SCsub files, as stated in SCons 4.6.0. I.e. add CPPPATH in Program/Library calls.