GameAnalytics / GA-SDK-CPP

Repository for GameAnalytics C++ SDK.
MIT License
20 stars 16 forks source link

Missing PDB files for VC++ compiled dependencies #74

Open andresantacruz opened 5 years ago

andresantacruz commented 5 years ago

Any chance of shipping the PDB files of the dependencies compiled with the VC++? They are missing in the "source/dependencies" folder.

the1schwartz commented 5 years ago

I like to add them but I am having trouble generating them for OpenSSL using their build instructions. If you know how to add generate them for OpenSSL feel free to write here how to do it.

andresantacruz commented 5 years ago

I did some research in the OpenSSL repo and found this issue: https://github.com/openssl/openssl/issues/947 (users complaining about missing PDBs). The result of this thread seem to end up in this PR (https://github.com/openssl/openssl/pull/1059/commits/c5e6495412ca3c7ac49a4aa9ec52dc7b734d2371).

The apparent problem is that the OpenSSL version used in the GA-CPP is the 1.0.2h which was release on 3 May 2016, and the PR that is supposed to fix this issue was release on 12 May 2016.

Any chances trying to upgrade the OpenSSL version used in this project to the most recent 1.0.2 one (which seems to be the 1.0.2q - released on 20 Nov 2018) to check that out?

the1schwartz commented 5 years ago

I am still not seeing any .pdb files when compiling using 1.0.2q. Am I missing to add any specific arguments when compiling?

andresantacruz commented 5 years ago

Try to find the file "ossl_static.pdb" with the windows explorer search in the root of the OpenSSL repo.

Supposedly this should be our file.

You can open the .lib with a text editor (ASCII) and search for ".pdb". It should point out the full .pdb path of the lib.

the1schwartz commented 5 years ago

Sorry for the late reply. I have been on holiday the whole of last week. I will look into this now.

the1schwartz commented 5 years ago

I can't find "ossl_static.pdb" when building. Do I need to add specific arguments when building?

andresantacruz commented 5 years ago

I don't know that, never compiled the openssl binaries.

paulhazen commented 3 years ago

Bumping this - as I seem to be having the same issue as described above and there does not appear to be a resolution.