Closed Thanh-Binh closed 4 years ago
Hi, again thanks for reporting.
My you provide information about your environment? Compiler version, OS, etc... It'll help me diagnose the issue.
I think, the 3rd party SW like LayerVisualization, Easy3D should not in examples-folder ...
It doesn't. Easy3D is pulled in by alior101/LayersVisualizer. Which is a part of the visualization example.
@marty1885 I use gcc 7.3.0, Ubuntu LTS18.04
about structure of your folder: Etaler/examples/visualize/LayersVisualizer Etaler/examples/visualize/LayersVisualizer/Easy3D/3rd_party/
I think LayersVisualizer should be in the same level as example folder, i.e. Etaler/LayersVisualizer
Sorry for the delayed reply. I was busy dealing conscription in my country.
Interesting. I organized 3rd party dependency by putting them into their own folder under where they are used. So the CMake script is easier to write and the dependency is clearer. The RNG and FP16 is thus put into Etaler/3rdparty to indicate they are used by the core library. And LayerVisualizer is under the visualize example (since it is used no where else) What would be the up side of putting all 3rd party SW in the project root?
For me, ít ít nice if I can compile and can run it well
I found the compile Problem is the missing of library „Imgui“ in CMakefile
I see the problem.
I'll make a PR for that
A patch in on the way. I'm ill right now... I'll push the PR in a few day.
Hi Martin, I am trying now to test visualization, but not able to compile it because ImGui-members are not found. cmake .. -DETALER_ENABLE_OPENCL=ON -DETALER_BUILD_EXAMPLE_VISUALIZER=ON
I think, the 3rd party SW like LayerVisualization, Easy3D should not in examples-folder ... Thanks
######################### /tmp/ccfxlQ3V.ltrans0.ltrans.o::function easy3d::ViewerImGui::post_resize(int, int): error: undefined reference to 'ImGui::GetIO()'
/tmp/ccfxlQ3V.ltrans0.ltrans.o::function easy3d::ViewerImGui::post_resize(int, int): error: undefined reference to 'ImGui::GetIO()'
/tmp/ccfxlQ3V.ltrans0.ltrans.o::function easy3d::ViewerImGui::pre_draw(): error: undefined reference to 'ImGui_ImplOpenGL3_NewFrame()'