Giter VIP home page Giter VIP logo

Comments (7)

aras-p avatar aras-p commented on May 18, 2024

Yeah, that file shouldn't be compiled. I've just removed it from the source code now. No idea if any makefiles/CMake stuff has to be updated, I've never compiled the Linux parts myself.

from glsl-optimizer.

nuernber avatar nuernber commented on May 18, 2024

Now I'm getting

In file included from /home/glsl-optimizer/src/glsl/glcpp/glcpp.c:29:0:
/home/glsl-optimizer/src/glsl/glcpp/../standalone_scaffolding.h:36:8: error: expected identifier or ‘(’ before string constant
/home/glsl-optimizer/src/glsl/glcpp/../standalone_scaffolding.h:39:8: error: expected identifier or ‘(’ before string constant
/home/glsl-optimizer/src/glsl/glcpp/../standalone_scaffolding.h:41:8: error: expected identifier or ‘(’ before string constant
make[2]: *** [CMakeFiles/glcpp.dir/src/glsl/glcpp/glcpp.c.o] Error 1
make[1]: *** [CMakeFiles/glcpp.dir/all] Error 2
make: *** [all] Error 2

from glsl-optimizer.

aras-p avatar aras-p commented on May 18, 2024

glcpp.c shouldn't be compiled either. I just removed it from the source tree as well.

from glsl-optimizer.

nuernber avatar nuernber commented on May 18, 2024
CMake Error at CMakeLists.txt:21 (list):
  list sub-command REMOVE_ITEM requires two or more arguments.


-- Configuring incomplete, errors occurred!

from glsl-optimizer.

aras-p avatar aras-p commented on May 18, 2024

Like I said, I'm not maintaining the Linux build. It's quite possible it does not work. Probably something in CMakeLists.txt needs to be updated, but I've no idea what or how.

from glsl-optimizer.

rafis avatar rafis commented on May 18, 2024

Yes, CMakeLists.txt is completely bad :( Even if I remove these lines

file(GLOB glcpp-library_sources_remove src/glsl/glcpp/glcpp.c)
list(REMOVE_ITEM glcpp-library_sources ${glcpp-library_sources_remove})
...
add_executable(glcpp src/glsl/glcpp/glcpp.c)
target_link_libraries(glcpp glsl_optimizer)

it's not working. And there is no project name, no INSTALL.

from glsl-optimizer.

ssarangi avatar ssarangi commented on May 18, 2024

This is happening with the windows build too

from glsl-optimizer.

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.