Giter Site home page Giter Site logo

Comments (7)

JenningsL avatar JenningsL commented on August 24, 2024 1

Switching to gcc-7 solved this problem for me.

from surfelwarp.

plutoyuxie avatar plutoyuxie commented on August 24, 2024

Switching to gcc-7 solved this problem for me.

Thanks a lot! @JenningsL This issue is solved and gcc-6 is suitable for me.

make is done but new error occurs when I run ./surfelwarp_app, logs as below:
/3d/code/surfelwarp/core/render/Renderer.cpp:17: The graphic pipeline is not correctly initialized
It is due to glfwInit() failure. I have no idea what happens. Hope for help again.

from surfelwarp.

weigao95 avatar weigao95 commented on August 24, 2024

You can try a simpler GLFW applications, for instance this one on its website to see if you can call glfwInit correctly and create a window.

BTW, what's your GPU and driver version?

from surfelwarp.

plutoyuxie avatar plutoyuxie commented on August 24, 2024

You can try a simpler GLFW applications, for instance this one on its website to see if you can call glfwInit correctly and create a window.
BTW, what's your GPU and driver version?

Hi, thank you for the reply. I use 2080ti and cuda 10.
I have run the examples/simple test file in glfw, found the error caused by
Error: GLX: GLX version 1.3 is required.
Thanks. I will try to fix that problem.

from surfelwarp.

Cartucho avatar Cartucho commented on August 24, 2024

I tried to compile this repo on two different computers and I get the same error.

Computer 1: NVIDIA 20800 ti, CUDA 10.2, Ubuntu 16.04
Computer 2: NVIDIA GEFORCE GTX 950M, Cuda 9.0, Ubuntu 16.04

from surfelwarp.

Cartucho avatar Cartucho commented on August 24, 2024

If you are using CUDA 10, switching to gcc-7 like @JenningsL suggested indeed works.

from surfelwarp.

Cartucho avatar Cartucho commented on August 24, 2024

As explained here, this will happen in Ubuntu due to the low version of c++ during compiling. You can solve it by flagging the compiler to C++11 (-std=c++11):

#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

You can do that by uncommenting that line.

from surfelwarp.

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.