• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

HELP! Compiling Canary Errors

Terrence

New Member
Joined
Jun 15, 2013
Messages
12
Reaction score
1
Hi,

Using: GitHub - opentibiabr/canary: Canary Server 15.00 for OpenTibia community. (https://github.com/opentibiabr/canary)

I've compiled with no issues about a month ago, made some source changes and tried to recompile but started receiving errors - I have made no other changes which is the most bizarre part of it and I think I'm just losing my mind trying to figure it out all day through forums, google & even trying AI solutions with no result.

These are the errors:

"C:\vcpkg\scripts\buildsystems\msbuild\support\GetGlobalProperties.task" cannot be imported again. It was already imported at "C:\vcpkg\scripts\buildsystems\msbuild\support\Bootstrap.targets (2,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\canary\vcproj\canary.vcxproj]

"C:\vcpkg\scripts\buildsystems\msbuild\vcpkg.targets" cannot be imported again. It was already imported at "C:\Users\__\AppData\Local\vcpkg\vcpkg.user.targets (3,3)". This is most likely a build authoring error. This subsequent import will be ignored.

The command ""vcpkg_installed\x64-windows\tools\protobuf\protoc.exe" --proto_path="..\src\\protobuf" --cpp_out="generated" "..\src\protobuf\appearances.proto"" exited with code 3.

Self explanatory. But I cannot find a fix. I even tried going back to square 0, deleting everything, reinstalling VS, following the compiling guide & I still end up with the same errors.

I would greatly appreciate if anyone could please shed some light - I've lost my mind in the last few hours.
 
Resolve double-imported vckpg:
LUA:
vcpkg integrate install

If you made an edit in protobuf, a syntax error, I can guarantee you, if you touched those files😅

Are you on Windows? I notice 1778834709352.webp double slashes, which Windows does NOT like, change to ..\src\protobuf
 
Resolve double-imported vckpg:
LUA:
vcpkg integrate install

If you made an edit in protobuf, a syntax error, I can guarantee you, if you touched those files😅

Are you on Windows? I notice View attachment 100382 double slashes, which Windows does NOT like, change to ..\src\protobuf

Thanks for the answer.

I've not made any edits in protobuf 🤷‍♂️

Yes, Windows - where do I find this command line?

After running "vcpkg integrate install" it returns, I still get the same error later. Why does it try to import vcpkg twice?

LUA:
Applied user-wide integration for this vcpkg root.
CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake"
All MSBuild C++ projects can now #include any installed libraries. Linking will be handled automatically. Installing new libraries will make them instantly available.
 
Back
Top