[DiscordArchive] Ive been trying to work through this on my own, using AI, stackoverflow and the google... to no avai
[DiscordArchive] Ive been trying to work through this on my own, using AI, stackoverflow and the google... to no avai
![[Image: Screenshot_2024-07-28_171540.png?ex=690c...0baa075f4&]](https://cdn.discordapp.com/attachments/376074396915335170/1267230096842952724/Screenshot_2024-07-28_171540.png?ex=690c683f&is=690b16bf&hm=f46912844f1a78f49fcb283e587e4e2e92a0034508622a806988cbf0baa075f4&)
Archived author: McHaaser • Posted: 2024-07-28T21:19:59.134000+00:00
Original source
Ive been trying to work through this on my own, using AI, stackoverflow and the google... to no avail. The master branch compiles with 0 issues. 335 and 434 both give this same error. I hate asking, but it seems like this issue is fairly common, so I'm hoping there is a solution i haven't come to yet. ideas? am i missing something?
![[Image: Screenshot_2024-07-28_171540.png?ex=690c...0baa075f4&]](https://cdn.discordapp.com/attachments/376074396915335170/1267230096842952724/Screenshot_2024-07-28_171540.png?ex=690c683f&is=690b16bf&hm=f46912844f1a78f49fcb283e587e4e2e92a0034508622a806988cbf0baa075f4&)
Archived author: McHaaser • Posted: 2024-07-28T21:21:41.292000+00:00
Original source
> Build started at 5:13 PM...
> 1>------ Build started: Project: revision_data.h, Configuration: Release x64 ------
> 2>------ Build started: Project: openssl_ed25519, Configuration: Release x64 ------
> 1>--
> 1> Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
> 1> Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
> 2> Creating library G:/Trinity/TrinityCore4.3.4 Cata/BUILD/dep/openssl_ed25519/Release/openssl_ed25519.lib and object G:/Trinity/TrinityCore4.3.4 Cata/BUILD/dep/openssl_ed25519/Release/openssl_ed25519.exp
> 2>openssl_ed25519.vcxproj -> G:\Trinity\TrinityCore4.3.4 Cata\BUILD\bin\Release\openssl_ed25519.dll
> 3>------ Build started: Project: vmap4assembler, Configuration: Release x64 ------
> 4>------ Build started: Project: database, Configuration: Release x64 ------
> 5>------ Build started: Project: vmap4extractor, Configuration: Release x64 ------
> 6>------ Build started: Project: mmaps_generator, Configuration: Release x64 ------
> 7>------ Build started: Project: mapextractor, Configuration: Release x64 ------
> 4>cmake_pch.cxx
> 4>G:\Trinity\TrinityCore4.3.4 Cata\src\server\database\Database\MySQLWorkaround.h(24,10): error C1083: Cannot open include file: 'mysql.h': No such file or directory
> 4>Done building project "database.vcxproj" -- FAILED.
> 8>------ Build started: Project: bnetserver, Configuration: Release x64 ------
> 9>------ Build started: Project: worldserver, Configuration: Release x64 ------
> 3>vmap4assembler.vcxproj -> G:\Trinity\TrinityCore4.3.4 Cata\BUILD\bin\Release\vmap4assembler.exe
> 6>mmaps_generator.vcxproj -> G:\Trinity\TrinityCore4.3.4 Cata\BUILD\bin\Release\mmaps_generator.exe
> 5>vmap4extractor.vcxproj -> G:\Trinity\TrinityCore4.3.4 Cata\BUILD\bin\Release\vmap4extractor.exe
> 8>LINK : fatal error LNK1181: cannot open input file '..\database\Release\database.lib'
> 8>Done building project "bnetserver.vcxproj" -- FAILED.
> 7>mapextractor.vcxproj -> G:\Trinity\TrinityCore4.3.4 Cata\BUILD\bin\Release\mapextractor.exe
> 9>LINK : fatal error LNK1181: cannot open input file '..\database\Release\database.lib'
> 9>Done building project "worldserver.vcxproj" -- FAILED.
> ========== Build: 6 succeeded, 3 failed, 18 up-to-date, 0 skipped ==========
> ========== Build completed at 5:13 PM and took 10.961 seconds ==========
Archived author: Aftertaste • Posted: 2024-07-28T21:27:09.089000+00:00
Original source
cmake does not know where mysql's /include directory is
Archived author: Aftertaste • Posted: 2024-07-28T21:27:18.626000+00:00
Original source
or, vss
![[Image: Screenshot_2024-07-28_172923.png?ex=690c...0007ca918&]](https://cdn.discordapp.com/attachments/376074396915335170/1267232691267567717/Screenshot_2024-07-28_172923.png?ex=690c6aa9&is=690b1929&hm=b942ad8b8b8f9096fcfed7bf3a658abf9cc442e2d77a410acb6378f0007ca918&)
Archived author: McHaaser • Posted: 2024-07-28T21:30:17.691000+00:00
Original source
I used same settings on master.
![[Image: Screenshot_2024-07-28_172923.png?ex=690c...0007ca918&]](https://cdn.discordapp.com/attachments/376074396915335170/1267232691267567717/Screenshot_2024-07-28_172923.png?ex=690c6aa9&is=690b1929&hm=b942ad8b8b8f9096fcfed7bf3a658abf9cc442e2d77a410acb6378f0007ca918&)
Archived author: Aftertaste • Posted: 2024-07-28T21:33:03.145000+00:00
Original source
```error C1083: Cannot open include file: 'mysql.h': No such file or directory```
Archived author: McHaaser • Posted: 2024-07-28T21:35:01.570000+00:00
Original source
> `Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
> Detected 64-bit platform
> Detected amd64 processor architecture
> MSVC: Minimum version required is 19.32, found 19.40.33811.0 - ok!
> MSVC: 64-bit platform, enforced -D_WIN64 parameter
> MSVC: Enabled increased number of sections in object files
> MSVC: Overloaded standard names
> MSVC: Disabled NON-SECURE warnings
> MSVC: Disabled POSIX warnings
> MSVC: Disabled generic compiletime warnings
> Found MySQL: missing components: binary
>
> Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
> Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
>
> * TrinityCore revision : unknown 1970-01-01 00:00:00 +0000 (Archived branch)
>
> * Install core to : C:/Program Files (x86)/TrinityCore
> * Install configs to : C:/Program Files (x86)/TrinityCore
>
> * Build world/auth : Yes (default)
> * Build with scripts : Yes (static)
> * Build map/vmap tools : Yes (default)
> * Build unit tests : No (default)
> * Build core w/PCH : Yes (default)
> * Build scripts w/PCH : Yes (default)
> * Show compile-warnings : No (default)
> * Use coreside debug : No (default)
> * Show source tree : Yes (hierarchical)
> * Use GIT revision hash : Yes (default)
>
> Found MySQL: C:/Users/haase/vcpkg/packages/mysql-connector-cpp_x64-windows/lib/mysqlcppconn8.lib found components: lib
> Found MySQL library: C:/Users/haase/vcpkg/packages/mysql-connector-cpp_x64-windows/lib/mysqlcppconn8.lib
> Found MySQL headers: C:/Users/haase/vcpkg/packages/mysql-connector-cpp_x64-windows/include/mysqlx
>
> * Script configuration (static):
> |
> +- worldserver
> | +- Battlefield
> | +- Battlegrounds
> | +- Commands
> | +- Custom
> | +- EasternKingdoms
> | +- Events
> | +- Kalimdor
> | +- Maelstrom
> | +- Northrend
> | +- OutdoorPvP
> | +- Outland
> | +- Pet
> | +- Spells
> | +- World
> |
>
> Configuring done (2.1s)`
Archived author: Tea • Posted: 2024-07-28T21:36:02.709000+00:00
Original source
Found MySQL library: C:/Users/haase/vcpkg/packages/mysql-connector-cpp_x64-windows/lib/mysqlcppconn8.lib
Archived author: Aftertaste • Posted: 2024-07-28T21:36:03.991000+00:00
Original source
I would look in the include directory you supplied and see if it actually has a mysql.h, but other than that I am just going by the error
Archived author: Tea • Posted: 2024-07-28T21:36:07.054000+00:00
Original source
mysql-connector is unsupported