HongqiangWei / L1-Skeleton

35 stars 19 forks source link

Compiling #1

Open MarcSchotman opened 5 years ago

MarcSchotman commented 5 years ago

Hi,

I read your paper and the acquired skeletons look amazing! I would like to try your implementation but I am having troubles compiling Cmake...

I get the following error message:

....
VCG  found (include: /usr/local/vcg)
WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
Supported features = cxx_template_template_parameters;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates
ANN: debug;ANN;optimized;ANN
Configuring done

Running this on Ubuntu 16.04.

Any help is appreciated.

UPDATE

Just now I spend a little more time and got the application running. However when I launched the application and tried to open your default.ply it shut down with the message: ERROR: Function <glutSolidSphere> called without first calling 'glutInit'.

Adding glutInit( & argc, argv ); as first line in main.cpp makes it such that it does not closes immediately but the error message now is: Failed reading mesh:16.

Again any help is appreciated..

UPDATE again

After some time with the debugger I found the problem to be in the reading of the .ply files. After further digging I found replacing the . with , and float with float32 in the .ply files to solve the problem.

eyildiz-ugoe commented 2 years ago

Could you let us know how you did that? Perhaps a sample code that reads the .ply file and does the necessity changes on it?

MarcSchotman commented 2 years ago

This is some time ago but I think you can simply open as text document and do some ctrl+H replacements to get the desired output.

eyildiz-ugoe commented 2 years ago

you can simply open as text document and do some ctrl+H replacements to get the desired output.

Thanks for the reply but that actually does not fly. The .ply file cannot be opened properly using a default text editor, due to the differences in formatting. It takes forever, then it hangs anyway. Basically, it cannot interpret the characters in the file.

Screenshot from 2022-09-07 14-03-43