We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The TermOx library builds fine with cmake .. -DCMAKE_BUILD_TYPE=Release && make, but trying make demos produces the following ld error
cmake .. -DCMAKE_BUILD_TYPE=Release && make
make demos
ld
$ make demos [ 15%] Built target escape [ 78%] Built target TermOx [ 80%] Linking CXX executable demos /usr/bin/ld: CMakeFiles/demos.dir/game_of_life/gol_demo.cpp.o: in function `ox::Bar<ox::layout::Opposite_template<ox::layout::detail::Linear_layout<ox::Widget, ox::layout::detail::Linear_layout_parameters<ox::layout::detail::Dimension_parameters<ox::layout::v_detail::Primary_policy, ox::layout::v_detail::Primary_length, ox::layout::v_detail::Primary_offset>, ox::layout::detail::Dimension_parameters<ox::layout::v_detail::Secondary_policy, ox::layout::v_detail::Secondary_length, ox::layout::v_detail::Secondary_offset>, ox::layout::v_detail::Get_area, ox::layout::v_detail::Get_point> > >::type>::Title::Title(ox::Bar<ox::layout::Opposite_template<ox::layout::detail::Linear_layout<ox::Widget, ox::layout::detail::Linear_layout_parameters<ox::layout::detail::Dimension_parameters<ox::layout::v_detail::Primary_policy, ox::layout::v_detail::Primary_length, ox::layout::v_detail::Primary_offset>, ox::layout::detail::Dimension_parameters<ox::layout::v_detail::Secondary_policy, ox::layout::v_detail::Secondary_length, ox::layout::v_detail::Secondary_offset>, ox::layout::v_detail::Get_area, ox::layout::v_detail::Get_point> > >::type>::Title::Parameters)': gol_demo.cpp:(.text._ZN2ox3BarINS_6layout17Opposite_templateINS1_6detail13Linear_layoutINS_6WidgetENS3_24Linear_layout_parametersINS3_20Dimension_parametersINS1_8v_detail14Primary_policyENS8_14Primary_lengthENS8_14Primary_offsetEEENS7_INS8_16Secondary_policyENS8_16Secondary_lengthENS8_16Secondary_offsetEEENS8_8Get_areaENS8_9Get_pointEEEEEE4typeEE5TitleC2ENSO_10ParametersE[_ZN2ox3BarINS_6layout17Opposite_templateINS1_6detail13Linear_layoutINS_6WidgetENS3_24Linear_layout_parametersINS3_20Dimension_parametersINS1_8v_detail14Primary_policyENS8_14Primary_lengthENS8_14Primary_offsetEEENS7_INS8_16Secondary_policyENS8_16Secondary_lengthENS8_16Secondary_offsetEEENS8_8Get_areaENS8_9Get_pointEEEEEE4typeEE5TitleC5ENSO_10ParametersE]+0x168): undefined reference to `ox::Label<ox::layout::Opposite_template<ox::layout::detail::Linear_layout<ox::Widget, ox::layout::detail::Linear_layout_parameters<ox::layout::detail::Dimension_parameters<ox::layout::v_detail::Primary_policy, ox::layout::v_detail::Primary_length, ox::layout::v_detail::Primary_offset>, ox::layout::detail::Dimension_parameters<ox::layout::v_detail::Secondary_policy, ox::layout::v_detail::Secondary_length, ox::layout::v_detail::Secondary_offset>, ox::layout::v_detail::Get_area, ox::layout::v_detail::Get_point> > >::type>::Label(ox::Label<ox::layout::Opposite_template<ox::layout::detail::Linear_layout<ox::Widget, ox::layout::detail::Linear_layout_parameters<ox::layout::detail::Dimension_parameters<ox::layout::v_detail::Primary_policy, ox::layout::v_detail::Primary_length, ox::layout::v_detail::Primary_offset>, ox::layout::detail::Dimension_parameters<ox::layout::v_detail::Secondary_policy, ox::layout::v_detail::Secondary_length, ox::layout::v_detail::Secondary_offset>, ox::layout::v_detail::Get_area, ox::layout::v_detail::Get_point> > >::type>::Parameters)' /usr/bin/ld: CMakeFiles/demos.dir/notepad/notepad.cpp.o: in function `ox::Bar<ox::layout::Opposite_template<ox::layout::detail::Linear_layout<ox::Widget, ox::layout::detail::Linear_layout_parameters<ox::layout::detail::Dimension_parameters<ox::layout::h_detail::Primary_policy, ox::layout::h_detail::Primary_length, ox::layout::h_detail::Primary_offset>, ox::layout::detail::Dimension_parameters<ox::layout::h_detail::Secondary_policy, ox::layout::h_detail::Secondary_length, ox::layout::h_detail::Secondary_offset>, ox::layout::h_detail::Get_area, ox::layout::h_detail::Get_point> > >::type>::Title::Title(ox::Bar<ox::layout::Opposite_template<ox::layout::detail::Linear_layout<ox::Widget, ox::layout::detail::Linear_layout_parameters<ox::layout::detail::Dimension_parameters<ox::layout::h_detail::Primary_policy, ox::layout::h_detail::Primary_length, ox::layout::h_detail::Primary_offset>, ox::layout::detail::Dimension_parameters<ox::layout::h_detail::Secondary_policy, ox::layout::h_detail::Secondary_length, ox::layout::h_detail::Secondary_offset>, ox::layout::h_detail::Get_area, ox::layout::h_detail::Get_point> > >::type>::Title::Parameters)': notepad.cpp:(.text._ZN2ox3BarINS_6layout17Opposite_templateINS1_6detail13Linear_layoutINS_6WidgetENS3_24Linear_layout_parametersINS3_20Dimension_parametersINS1_8h_detail14Primary_policyENS8_14Primary_lengthENS8_14Primary_offsetEEENS7_INS8_16Secondary_policyENS8_16Secondary_lengthENS8_16Secondary_offsetEEENS8_8Get_areaENS8_9Get_pointEEEEEE4typeEE5TitleC2ENSO_10ParametersE[_ZN2ox3BarINS_6layout17Opposite_templateINS1_6detail13Linear_layoutINS_6WidgetENS3_24Linear_layout_parametersINS3_20Dimension_parametersINS1_8h_detail14Primary_policyENS8_14Primary_lengthENS8_14Primary_offsetEEENS7_INS8_16Secondary_policyENS8_16Secondary_lengthENS8_16Secondary_offsetEEENS8_8Get_areaENS8_9Get_pointEEEEEE4typeEE5TitleC5ENSO_10ParametersE]+0x160): undefined reference to `ox::Label<ox::layout::Opposite_template<ox::layout::detail::Linear_layout<ox::Widget, ox::layout::detail::Linear_layout_parameters<ox::layout::detail::Dimension_parameters<ox::layout::h_detail::Primary_policy, ox::layout::h_detail::Primary_length, ox::layout::h_detail::Primary_offset>, ox::layout::detail::Dimension_parameters<ox::layout::h_detail::Secondary_policy, ox::layout::h_detail::Secondary_length, ox::layout::h_detail::Secondary_offset>, ox::layout::h_detail::Get_area, ox::layout::h_detail::Get_point> > >::type>::Label(ox::Label<ox::layout::Opposite_template<ox::layout::detail::Linear_layout<ox::Widget, ox::layout::detail::Linear_layout_parameters<ox::layout::detail::Dimension_parameters<ox::layout::h_detail::Primary_policy, ox::layout::h_detail::Primary_length, ox::layout::h_detail::Primary_offset>, ox::layout::detail::Dimension_parameters<ox::layout::h_detail::Secondary_policy, ox::layout::h_detail::Secondary_length, ox::layout::h_detail::Secondary_offset>, ox::layout::h_detail::Get_area, ox::layout::h_detail::Get_point> > >::type>::Parameters)' collect2: error: ld returned 1 exit status make[3]: *** [demos/CMakeFiles/demos.dir/build.make:403: demos/demos] Error 1 make[2]: *** [CMakeFiles/Makefile2:348: demos/CMakeFiles/demos.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:355: demos/CMakeFiles/demos.dir/rule] Error 2 make: *** [Makefile:234: demos] Error 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The TermOx library builds fine with
cmake .. -DCMAKE_BUILD_TYPE=Release && make
, but tryingmake demos
produces the followingld
errorThe text was updated successfully, but these errors were encountered: