Comments (16)
Yeah, endless testing is not a feature of cmake, it's a bug. (grumble, grumble!)
from glew-cmake.
That's worth considering, but I also need to weigh the potential fall-out if they're somehow different to the status quo. Time to give the Windows laptop a spin, I guess.
from glew-cmake.
It was generated, but I removed them because it had wrong contents - see #20. I'm working on it to generate correctly.
After generate correct releases, I'll close this issue.
from glew-cmake.
Miss clicked. Sorry.
from glew-cmake.
Ok,
Thank you Gyusun!
from glew-cmake.
All tags are imported!
from glew-cmake.
Now I'm getting this errors when I run cmake with VS2019
CMake Error at CMakeLists.txt:85 (ADD_LIBRARY):
Cannot find source file:
D:/Development/ExtDev/Build/glew-cmake-glew-cmake-2.1.0/build/glew.rc
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at CMakeLists.txt:85 (ADD_LIBRARY):
No SOURCES given to target: libglewmx_shared
CMake Error at CMakeLists.txt:45 (ADD_LIBRARY):
No SOURCES given to target: libglew_static
CMake Error at CMakeLists.txt:70 (ADD_LIBRARY):
No SOURCES given to target: libglew_shared
CMake Error at CMakeLists.txt:56 (ADD_LIBRARY):
No SOURCES given to target: libglewmx_static
from glew-cmake.
Sorry, I forgot testing on windows. rc files were missing in tags.
Fixed tags are pushed. please check it once more.
from glew-cmake.
Yep, that seemed to work! Thank you!
Will these changes be merged into the https://github.com/nigels-com/glew repo by any chance?
from glew-cmake.
I don't know what the theses changes precisely is. If you mean a fixing build error refered here, It may not be merged to original glew repo. As I know, Original glew repo does not provide pre-generated glew source codes by git. But these errors are related to wrong pre-generated source codes.
from glew-cmake.
From what I remember the original does have a cmake script that can be used to generate the VS project for yourself.
https://github.com/nigels-com/glew/tree/glew-2.1.0/build/cmake
But the original repo still has no support for VS2019, which you have fixed here.
So if your fixes make it back to the original, that would be amazing!
from glew-cmake.
The error you have experienced is not related to VS2019, and It was about missing file referred in CMakeLists.txt.
If you tried to generate a project with cmake of original glew from git, It is a wrong way to build glew. Original glew git doesn't contain header files & source files, resource files, So it recommends to use compressed official release - details here, you can download from here (glew-2.1.0.tgz).
If you had experienced the same error with the compressed official release, please notify me, I'll check it and try to fix original :)
from glew-cmake.
Ah...interesting...
I used to be able to build the official release using VS2017 by following this:
https://github.com/acidrainstudios/TrueReality/wiki/Building-Windows-VS2017-External-Dependencies
I would download glew source from:
https://sourceforge.net/projects/glew/files/glew/2.1.0/
This was a while ago, but it used to build and work great. When I tried it recently with VS2019 it failed. That's when I reached out to Nigel and yourself.
Thank you for your help!
from glew-cmake.
For what it's worth, the GLEW cmake build is user-contributed.
I don't tend to use or test that path. (It's a .c file, after all)
I ought to revisit AppVeyour to see if that is able to build end-to-end on Windows.
Contributions are of course welcome, especially with an intended upcoming release.
from glew-cmake.
@nigels-com
Aha! Well, @Perlmint s cmake files work great! Maybe they can be added to the new release?
from glew-cmake.
@nigels-com Off course! Test, test and retest! :)
Hope it all pans out!
from glew-cmake.
Related Issues (20)
- Warning: Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. HOT 1
- Missing file HOT 4
- config/version is missing in v2.2.0 HOT 1
- libglew instead of libGLEW / add symlink HOT 2
- cmake: "install TARGETS given no LIBRARY DESTINATION for shared library target" on LINUX HOT 5
- set a cmake policy HOT 1
- Error including OpenGL/X11 libraries on CMake when USE_NAMESPACED_LIB not defined HOT 2
- Compilation error on macOS regarding symlinks HOT 2
- glew not building as a submodule HOT 2
- glew native target coherency HOT 2
- Undefined Reference Error while building using CMake HOT 4
- Maybe update readme.md to apply to this repo. :) HOT 5
- Using eglew.h yields missing headers HOT 1
- Due for a refresh from upstream? HOT 2
- The FindGLEW CMake module can't find libraries HOT 2
- Symlink issue when building on WSL mounted drives HOT 1
- install FILES given no DESTINATION! : on WINDOWS HOT 1
- How to build static library? HOT 2
- How to use EGLEW in Linux ? HOT 2
- Having trouble with linking glew-cmake\bin\glew-sharedd.dll HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glew-cmake.