- Download and run the OpenSSL installer from https://slproweb.com/products/Win32OpenSSL.html. Use the “Win64 OpenSSL v3.3.1” version (not the “Light” version).
- Download MySQL and MySQL Workbench (https://dev.mysql.com/downloads/installer/). MySQL is for the database and MySQL Workbench provides an interface to debug the database. There should be no password for the SQL server.
- Using MySQL Workbench, import the database.sql file from GitHub. You do this by going to Server->Data Import, then selecting “Import from Self-Contained file” and selecting the database.sql file. The schema should be “test_db”.
- Open up the “CEN3031 Project.sln” file. In the solution explorer, right-click on the project and go to Properties->Configuration Properties->C/C++->General. In the field that says “Additional Include Directories”, paste this string: C:\Program Files\OpenSSL-Win64\include;..\mysql-connector-c++-9.0.0-winx64\include\jdbc;../imgui;../imgui/backends;%(AdditionalIncludeDirectories)
- Go to Properties->Configuration Properties->C/C++->Preprocessor. Go the the field that says “Preprocessor Definitions” and paste this string: STATIC_CONCPP;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
- Go to Properties->Configuration Properties->Linker->General. Go to the field that says “Additional Library Directories” and paste this string: ..\mysql-connector-c++-9.0.0-winx64\lib64\vs14;$(DXSDK_DIR)/Lib/x64;%(AdditionalLibraryDirectories)
- Go to Properties->Configuration Properties->Linker->Input. Go the the field that says “Additional Dependencies” and paste this string: urlmon.lib;mysqlcppconn-static.lib;d3d11.lib;d3dcompiler.lib;dxgi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
- Make sure you are on Release Mode x64 on the Configuration Manager.
-
Notifications
You must be signed in to change notification settings - Fork 1
mark-burnette/CEN3031
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Semester project for CEN3031
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published