subnode_config {
subnodes {
id: 3
name: "CameraProcessSubnode"
reserve: "device_id:camera;pb_obj:1;pb_ln_msk_:0;"
type: SUBNODE_IN
}
subnodes {
id: 41
name: "VisualizationSubnode"
reserve: "vis_driven_event_id:1008;camera_event_id:1008"
}
}
edge_config {
edges {
id: 108
from_node: 3
to_node: 41
events {
id: 1008
name: "camera_visualization"
}
}
}
data_config {
datas {
id: 5
name: "CameraObjectData"
}
datas {
id: 7
name: "CameraSharedData"
}
}
**
@wardenLL have you tried running this guide. It should resolve your error. Let me know if you still see it.
@natashadsouza I have tried the guide you mentioned. But still see the issue.
#1832 May be this issue is similar to mine. So I would like to know the root cause of it. Can anyone help me?
I add the glfw error handling code as this GLFW error handling
void glfw_error_callback(int error, const char* description){
std::string s(description);
AERROR<<s<<std::endl;
}
glfwSetErrorCallback(glfw_error_callback);
The error code is :
EGL: Library not found
So How can I find the EGL library
Here is a reference : EGL problem
As our docker seems not an official nvidia-release one, the solution in it seems don't work for me.
@wardenLL please try @wozaiqufu suggestion. Also try reinstalling drivers with --no-opengl-files.
Let me know if it still does not work out.
Hi, I think the problem is you didn't install the glfw correctly, since the official doc is really simple, it doesn't give many details regarding how to install glfw in apollo docker.
Here is what you need to do(all the steps below are taken in apollo docker environment):
@hzdsdhr thank you so much for the steps. We will include it in our documentation should that be okay with you :) Fee; free to make a Pull request too.
@wozaiqufu Hi I think I've found the solution for your problem. It's a libGL link problem, you need to make sure the libGL linked to correct .so file. You can do below:
1.Install nvidia-384-dev in docker(sudo apt-get install nvidia-384-dev(or whatever version you install for GPU).
Most helpful comment
Hi, I think the problem is you didn't install the glfw correctly, since the official doc is really simple, it doesn't give many details regarding how to install glfw in apollo docker.
Here is what you need to do(all the steps below are taken in apollo docker environment):
To check if you remove it or not, use ldconfig -p | grep glfw*, if there is no output, it means you remove it correctly.
Download glfw and put it in /apollo, cd glfw and:
modify the CMakeList file to change BUILD_SHARED_LIBS from OFF to ON;
mkdir glfw-build
sudo cmake ../
sudo make
sudo make install
sudo ldconfig
Then use "ldconfig -p | grep glfw*" to check if it is installed correctly.
./apollo.sh clean
./apollo.sh build_gpu
It's all done, I think it'll work.