cassius Posted December 24, 2016 Share Posted December 24, 2016 Since upgrading to le 4.2 one of my existing rojects runs ok in visual c++ 2015, but the other has multiple errors in a header file called evp.h. I have no idea what this file is its not mine. Anyone know ? I am using c++. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
gamecreator Posted December 24, 2016 Share Posted December 24, 2016 Seems like it has to do with openssl, something Josh incorporated in the most recent version. You'd probably need to share the errors if you want more help. Quote Link to comment Share on other sites More sharing options...
martyj Posted December 24, 2016 Share Posted December 24, 2016 You have to add the following to your C++ Include Path. $(LeadwerksHeaderPath)\Libraries\openssl\include You also have to add the following libraries in your Linker Input dependencies. msimg32.lib libcryptoMT.lib libsslMT.lib Rpcrt4.lib crypt32.lib libcurl.lib ws2_32.lib Quote Link to comment Share on other sites More sharing options...
cassius Posted December 24, 2016 Author Share Posted December 24, 2016 I am not very experienced with visual c++ stuff so have to ask how do I add these libs, where are they and where do they go???? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Roberto14 Posted December 24, 2016 Share Posted December 24, 2016 In every project that use Leadwerks, go to Properties->Configuration properties->C/C++->General, in include directories add $(LeadwerksHeaderPath)\Libraries\openssl\include then go to Configuration Properties->Linker->Input, in dependencies, click->Edit add this lines in the first box: libcryptoMT.lib libsslMT.lib Rpcrt4.lib crypt32.lib libcurl.lib Msimg32.lib 1 Quote I'm not english, so please sorry for my grammatical errors I'm using Leadwerks and can programm in C++ and LUA Link to comment Share on other sites More sharing options...
cassius Posted December 24, 2016 Author Share Posted December 24, 2016 thanks a lot you guys. I hope this will all be automatic before long. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
gamecreator Posted December 24, 2016 Share Posted December 24, 2016 If you start a new project then they will all be included. So the other way to do it would be to start a new project and copy your code and assets over. Quote Link to comment Share on other sites More sharing options...
cassius Posted December 29, 2016 Author Share Posted December 29, 2016 I created a new project and copied all rellavent files to it. It now runs fine in the editor but not from visual studio which cannot find any models or textures OR map. Where can I find "properties" so I can try entering the items mentioned above? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
gamecreator Posted December 29, 2016 Share Posted December 29, 2016 I ran into this too. You need to change the working directory. For some reason that doesn't transfer over properly. Right-click on your project name on the left, click Properties, Debugging and fix the Working Directory. $(SolutionDir)..\..\ worked for me. Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted December 29, 2016 Share Posted December 29, 2016 I ran into this too. You need to change the working directory. For some reason that doesn't transfer over properly. Right-click on your project name on the left, click Properties, Debugging and fix the Working Directory. $(SolutionDir)..\..\ worked for me. And make sure, you do this for all Configurations (the dropbox in the upper left corner). I just spent an eternity trying to find out, why that window ignored me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.