Git Product home page Git Product logo

Comments (16)

nigels-com avatar nigels-com commented on July 2, 2024 2

Yeah, endless testing is not a feature of cmake, it's a bug. (grumble, grumble!)

from glew-cmake.

nigels-com avatar nigels-com commented on July 2, 2024 1

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.

Perlmint avatar Perlmint commented on July 2, 2024

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.

Perlmint avatar Perlmint commented on July 2, 2024

Miss clicked. Sorry.

from glew-cmake.

DieSlower avatar DieSlower commented on July 2, 2024

Ok,

Thank you Gyusun!

from glew-cmake.

Perlmint avatar Perlmint commented on July 2, 2024

All tags are imported!

from glew-cmake.

DieSlower avatar DieSlower commented on July 2, 2024

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.

Perlmint avatar Perlmint commented on July 2, 2024

Sorry, I forgot testing on windows. rc files were missing in tags.
Fixed tags are pushed. please check it once more.

from glew-cmake.

DieSlower avatar DieSlower commented on July 2, 2024

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.

Perlmint avatar Perlmint commented on July 2, 2024

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.

DieSlower avatar DieSlower commented on July 2, 2024

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.

Perlmint avatar Perlmint commented on July 2, 2024

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.

DieSlower avatar DieSlower commented on July 2, 2024

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.

nigels-com avatar nigels-com commented on July 2, 2024

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.

DieSlower avatar DieSlower commented on July 2, 2024

@nigels-com
Aha! Well, @Perlmint s cmake files work great! Maybe they can be added to the new release?

from glew-cmake.

DieSlower avatar DieSlower commented on July 2, 2024

@nigels-com Off course! Test, test and retest! :)
Hope it all pans out!

from glew-cmake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.