Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with compile hiveExt with detours.h #12

Open
hekut146 opened this issue May 19, 2016 · 2 comments
Open

Problem with compile hiveExt with detours.h #12

hekut146 opened this issue May 19, 2016 · 2 comments

Comments

@hekut146
Copy link

hekut146 commented May 19, 2016

Hi, please help fix error when i start compile library, i install boost library download 5 deps (repository) add 5 environment variable to windows (5 deps folider) and try to compile but i see error with detours.h (No such file or directory)

@hekut146
Copy link
Author

hekut146 commented May 19, 2016

This fix, now install python, add environment variable to windows for python, now have error

Error   1   error MSB3073: The command "python C:\Users\THE_PRO\Documents\hiveDayz\DayZhiveEpoch-master\Hive\Source\HiveLib\version_gen.py C:\Users\THE_PRO\Documents\hiveDayz\DayZhiveEpoch-master\Hive\Source\HiveLib\Version.cpp.template C:\Users\THE_PRO\Documents\hiveDayz\DayZhiveEpoch-master\Hive\Source\HiveLib\Version.cpp
:VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets  122 5   HiveLib
Error   2   error C1001: An internal error has occurred in the compiler.    e:\boost_1_61_0\boost\type_traits\common_type.hpp   43  1   Restarter
Error   3   error LNK1104: cannot open file 'C:\Users\THE_PRO\Documents\hiveDayz\DayZhiveEpoch-master\Hive\Out\Win32\v120\HiveLibd.lib' C:\Users\THE_PRO\Documents\hiveDayz\DayZhiveEpoch-master\Hive\Source\HiveExt\LINK   HiveExt
Error   4   error LNK1104: cannot open file 'PocoFoundationmdd.lib' C:\Users\THE_PRO\Documents\hiveDayz\DayZhiveEpoch-master\Hive\Source\Database\Implementation\DatabasePostgre\LINK   DatabasePostgre
Error   5   error LNK1104: cannot open file 'PocoFoundationmdd.lib' C:\Users\THE_PRO\Documents\hiveDayz\DayZhiveEpoch-master\Hive\Source\Database\Implementation\DatabaseMySql\LINK DatabaseMySql

@icomrade
Copy link

icomrade commented Aug 3, 2016

You may have to rebuild the dependencies, I did but I did so from the most recent distributions of the dependencies so I'm not using the provided dependencies. After you compile the dependencies with the appropriate version of VS the problem should go away. If it is still telling you the file could not be opened check your build paths in the project properties or copy the compiled libraries and dlls to the following 2 folders:
C:\Program Files (x86)\Microsoft Visual Studio ##.#\VC\lib
C:\Program Files (x86)\Microsoft Visual Studio ##.#\VC\include

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants