-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
ALL_BUILD not generating .lib file #160
Comments
I don't know either, but I would suggest doing |
Hi Alec, thanks for your response. I built it with the commit on Dec 22, 2015 "Organize CMake generated projects into solution folders." and that worked (generated the lib)... So somewhere between there and the latest one there is no .lib being generated (for me at least...) |
I've narrowed it down to PR #142 , which mentions the removal of the .libs. I'm unsure of suggest a fix though, as we either need to configure entityx to export symbols for tests to link correctly. I'm guessing users using ENTITY_BUILD_SHARED likely were linking with the the statically built .lib, and shipping with a .dll with the same symobls. Work around is to reconfigure cmake with -DENTITYX_BUILD_SHARED=0. |
I had the same problem with miguelmartin75/anax#78 and it seems to me that it is releated to the fact that there a not dllexports. |
Setting -DENTITYX_BUILD_SHARED=0 is not a workaround, it simply will build the static library. |
Maybe you can make use of #186 |
I am also having the same problem with the latest commit, how do you solve this problem? |
Another Windows user here -- I just downloaded the repo and used CMake / VS2015 to compile it, and I'm receiving the same error. @asmw 's repo is 39 commits behind this one, so I'd rather find the solution to fix it... can anyone help summarize what the issue is? |
Hello,
I used CMake to generate the Visual Studio 2015 EntityX.sln file. I then open the .sln file and build the ALL_BUILD project. At the end of the build process I get 7 Errors of 'cannot open file 'Debug\entityx-d.lib'. The Debug folder contains 'entityx-d.dll, entityx-d.ilk, entityx-d.pdb' only.
I am unsure of how to solve this problem, previously when I used entityx (early 2015) this did not happen.
Any help is appreciated.
Thanks
The text was updated successfully, but these errors were encountered: