- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我需要在我的 windows 64 位机器上用 mingw-w64 编译 boost。我尝试从 http://boost.teeks99.com/ 链接到预编译的 boost_filesystem-vc100-mt 和 boost_system-vc100-mt| , boost_1_46_1-vc64-bin.exe。但它只会给出大量关于链接的错误
x86_64-w64-mingw32-g++ -o dist/MiMBL_GeneDel.exe MiMBL_GeneDel.o -Llibs -L/cygdrive/c/Lindoapi/bin/win64 -L/cygdrive/c/
Lindoapi/lib/win64 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_DYN_LINK -lglpk -lboost_filesystem-vc100-mt -lboost_syste
m-vc100-mt -llindo64_6_1 -lmosek64_6_0 -lconopt3 -lpthread -lm
Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecogni
zed
Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecogni
zed
Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecogni
zed
MiMBL_GeneDel.o:/usr/x86_64-w64-mingw32/sys-root/mingw/include/boost/filesystem/v3/path.hpp:288: undefined reference to
`boost::filesystem3::path_traits::convert(wchar_t const*, wchar_t const*, std::basic_string<char, std::char_traits<char>
, std::allocator<char> >&, std::codecvt<wchar_t, char, int> const&)'
MiMBL_GeneDel.o:/usr/x86_64-w64-mingw32/sys-root/mingw/include/boost/filesystem/v3/path.hpp:377: undefined reference to
`boost::filesystem3::path::wchar_t_codecvt_facet()'
MiMBL_GeneDel.o:/usr/x86_64-w64-mingw32/sys-root/mingw/include/boost/filesystem/v3/operations.hpp:218: undefined referen
ce to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)'
MiMBL_GeneDel.o:/usr/x86_64-w64-mingw32/sys-root/mingw/include/boost/filesystem/v3/path_traits.hpp:174: undefined refere
nce to `boost::filesystem3::path_traits::convert(char const*, char const*, std::basic_string<wchar_t, std::char_traits<w
char_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'
libs/glpk.lib(../src/glpapi06.obj):(.text[preprocess_and_solve_lp]+0x317): undefined reference to `__security_check_cook
ie'
libs/glpk.lib(../src/glpapi06.obj):(.xdata[$unwind$preprocess_and_solve_lp]+0x10): undefined reference to `__GSHandlerCh
eck'
libs/glpk.lib(../src/glpapi06.obj):(.text[glp_simplex]+0x4b9): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi06.obj):(.xdata[$unwind$glp_simplex]+0x20): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi01.obj):(.text[glp_copy_prob]+0x388): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi01.obj):(.xdata[$unwind$glp_copy_prob]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi12.obj):(.text[copy_bfcp]+0x45): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi12.obj):(.xdata[$unwind$copy_bfcp]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi12.obj):(.text[glp_set_bfcp]+0x2f0): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi12.obj):(.xdata[$unwind$glp_set_bfcp]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi12.obj):(.text[glp_factorize]+0x14b): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi12.obj):(.xdata[$unwind$glp_factorize]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpenv06.obj):(.text[glp_time]+0x128): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpenv06.obj):(.xdata[$unwind$glp_time]+0x8): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi09.obj):(.text[preprocess_and_solve_mip]+0x196): undefined reference to `__security_check_coo
kie'
libs/glpk.lib(../src/glpapi09.obj):(.xdata[$unwind$preprocess_and_solve_mip]+0x18): undefined reference to `__GSHandlerC
heck'
libs/glpk.lib(../src/glpapi09.obj):(.text[glp_intopt]+0x857): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi09.obj):(.xdata[$unwind$glp_intopt]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glplpx01.obj):(.text[_glp_lpx_set_int_parm]+0x48e): undefined reference to `__security_check_cookie
'
libs/glpk.lib(../src/glplpx01.obj):(.xdata[$unwind$_glp_lpx_set_int_parm]+0x14): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glplpx01.obj):(.text[_glp_lpx_get_int_parm]+0x1a3): undefined reference to `__security_check_cookie
'
libs/glpk.lib(../src/glplpx01.obj):(.xdata[$unwind$_glp_lpx_get_int_parm]+0x14): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glplpx01.obj):(.text[_glp_lpx_simplex]+0xb6): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glplpx01.obj):(.xdata[$unwind$_glp_lpx_simplex]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glplpx01.obj):(.text[_glp_lpx_exact]+0x93): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glplpx01.obj):(.xdata[$unwind$_glp_lpx_exact]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glplpx01.obj):(.text[solve_mip]+0x360): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glplpx01.obj):(.xdata[$unwind$solve_mip]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glplib02.obj):(.text[_glp_lib_xlmul]+0xad): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glplib02.obj):(.xdata[$unwind$_glp_lib_xlmul]+0x8): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glplib02.obj):(.text[_glp_lib_xldiv]+0x208): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glplib02.obj):(.xdata[$unwind$_glp_lib_xldiv]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpenv08.obj):(.text[_glp_xdlopen]+0x53): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpenv08.obj):(.xdata[$unwind$_glp_xdlopen]+0x8): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpios01.obj):(.text[_glp_ios_solve_node]+0x154): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpios01.obj):(.xdata[$unwind$_glp_ios_solve_node]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpios03.obj):(.text[show_progress]+0x234): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpios03.obj):(.xdata[$unwind$show_progress]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpios03.obj):(.text[branch_on]+0x771): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpios03.obj):(.xdata[$unwind$branch_on]+0x38): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi08.obj):(.text[glp_interior]+0x35c): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi08.obj):(.xdata[$unwind$glp_interior]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmps.obj):(.text[read_columns]+0x53d): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmps.obj):(.xdata[$unwind$read_columns]+0x2c): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmps.obj):(.text[read_rhs]+0x2e4): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmps.obj):(.xdata[$unwind$read_rhs]+0x24): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmps.obj):(.text[read_ranges]+0x391): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmps.obj):(.xdata[$unwind$read_ranges]+0x24): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmps.obj):(.text[read_bounds]+0x721): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmps.obj):(.xdata[$unwind$read_bounds]+0x40): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmps.obj):(.text[glp_read_mps]+0x5ae): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmps.obj):(.xdata[$unwind$glp_read_mps]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmps.obj):(.text[glp_write_mps]+0x1167): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmps.obj):(.xdata[$unwind$glp_write_mps]+0x1c): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpcpx.obj):(.text[parse_constraints]+0x241): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpcpx.obj):(.xdata[$unwind$parse_constraints]+0x20): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpcpx.obj):(.text[glp_read_lp]+0x4e4): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpcpx.obj):(.xdata[$unwind$glp_read_lp]+0x28): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpcpx.obj):(.text[glp_write_lp]+0xf87): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpcpx.obj):(.xdata[$unwind$glp_write_lp]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi11.obj):(.text[glp_read_sol]+0x2ad): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi11.obj):(.xdata[$unwind$glp_read_sol]+0x1c): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi11.obj):(.text[glp_print_ranges]+0xc4b): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi11.obj):(.xdata[$unwind$glp_print_ranges]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi11.obj):(.text[glp_read_ipt]+0x1e0): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi11.obj):(.xdata[$unwind$glp_read_ipt]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi11.obj):(.text[glp_read_mip]+0x1f9): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi11.obj):(.xdata[$unwind$glp_read_mip]+0x1c): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi19.obj):(.text[glp_main]+0xe4b): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi19.obj):(.xdata[$unwind$glp_main]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi07.obj):(.text[glp_exact]+0x24d): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi07.obj):(.xdata[$unwind$glp_exact]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpios09.obj):(.text[eval_degrad]+0x189): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpios09.obj):(.xdata[$unwind$eval_degrad]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpios07.obj):(.text[lpx_cover_cut]+0x51f): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpios07.obj):(.xdata[$unwind$lpx_cover_cut]+0x24): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpios06.obj):(.text[cmir_sep]+0xa1d): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpios06.obj):(.xdata[$unwind$cmir_sep]+0x28): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpios10.obj):(.text[_glp_ios_feas_pump]+0x125e): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpios10.obj):(.xdata[$unwind$_glp_ios_feas_pump]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl04.obj):(.text[_glp_mpl_write_text]+0x111): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl04.obj):(.xdata[$unwind$_glp_mpl_write_text]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl04.obj):(.text[_glp_mpl_error]+0x17): undefined reference to `__chkstk'
libs/glpk.lib(../src/glpmpl04.obj):(.xdata[$unwind$_glp_mpl_error]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl04.obj):(.text[_glp_mpl_warning]+0x17): undefined reference to `__chkstk'
libs/glpk.lib(../src/glpmpl04.obj):(.text[_glp_mpl_warning]+0x11a): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl04.obj):(.xdata[$unwind$_glp_mpl_warning]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpsdf.obj):(.text[glp_sdf_open_file]+0x118): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpsdf.obj):(.xdata[$unwind$glp_sdf_open_file]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpgmp.obj):(.text[_glp_mpz_mul]+0x53b): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpgmp.obj):(.xdata[$unwind$_glp_mpz_mul]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpgmp.obj):(.text[_glp_mpz_cmp]+0x289): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpgmp.obj):(.xdata[$unwind$_glp_mpz_cmp]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpgmp.obj):(.text[_glp_mpz_add]+0x5ff): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpgmp.obj):(.xdata[$unwind$_glp_mpz_add]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpgmp.obj):(.text[_glp_mpz_div]+0x704): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpgmp.obj):(.xdata[$unwind$_glp_mpz_div]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi15.obj):(.text[glp_read_graph]+0x1b0): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi15.obj):(.xdata[$unwind$glp_read_graph]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpdmx.obj):(.text[glp_read_mincost]+0x685): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpdmx.obj):(.xdata[$unwind$glp_read_mincost]+0x1c): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpdmx.obj):(.text[glp_read_maxflow]+0x539): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpdmx.obj):(.xdata[$unwind$glp_read_maxflow]+0x1c): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpdmx.obj):(.text[glp_read_asnprob]+0x4f3): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpdmx.obj):(.xdata[$unwind$glp_read_asnprob]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpdmx.obj):(.text[glp_read_ccdata]+0x4fa): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpdmx.obj):(.xdata[$unwind$glp_read_ccdata]+0x1c): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpdmx.obj):(.text[glp_read_prob]+0x1012): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpdmx.obj):(.xdata[$unwind$glp_read_prob]+0x24): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi17.obj):(.text[glp_mincost_lp]+0x4b1): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi17.obj):(.xdata[$unwind$glp_mincost_lp]+0x8): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi17.obj):(.text[glp_maxflow_lp]+0x450): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi17.obj):(.xdata[$unwind$glp_maxflow_lp]+0x8): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpapi17.obj):(.text[glp_asnprob_lp]+0x35f): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpapi17.obj):(.xdata[$unwind$glp_asnprob_lp]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmat.obj):(.text[_glp_mat_amd_order1]+0x1a2): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmat.obj):(.xdata[$unwind$_glp_mat_amd_order1]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmat.obj):(.text[_glp_mat_symamd_ord]+0x1a2): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmat.obj):(.xdata[$unwind$_glp_mat_symamd_ord]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_format_symbol]+0x20d): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_format_symbol]+0xc): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_concat_symbols]+0x211): undefined reference to `__security_check_cook
ie'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_concat_symbols]+0x14): undefined reference to `__GSHandlerCh
eck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_format_tuple]+0x1f4): undefined reference to `__security_check_cookie
'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_format_tuple]+0x1c): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_check_elem_set]+0x161): undefined reference to `__security_check_cook
ie'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_check_elem_set]+0x14): undefined reference to `__GSHandlerCh
eck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_check_value_sym]+0x75b): undefined reference to `__security_check_coo
kie'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_check_value_sym]+0x18): undefined reference to `__GSHandlerC
heck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[display_set]+0x270): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$display_set]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[print_text]+0xb4): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$print_text]+0xc): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_eval_numeric]+0xc4f): undefined reference to `__security_check_cookie
'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_eval_numeric]+0x10): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_eval_symbolic]+0x583): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_eval_symbolic]+0x10): undefined reference to `__GSHandlerChe
ck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[write_func]+0x192): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$write_func]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[printf_func]+0x1ca): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$printf_func]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_execute_table]+0xc75): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_execute_table]+0x1c): undefined reference to `__GSHandlerChe
ck'
libs/glpk.lib(../src/glpmpl03.obj):(.text[_glp_mpl_execute_printf]+0x240): undefined reference to `__security_check_cook
ie'
libs/glpk.lib(../src/glpmpl03.obj):(.xdata[$unwind$_glp_mpl_execute_printf]+0xc): undefined reference to `__GSHandlerChe
ck'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_expression_10]+0x3d7): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_expression_10]+0xc): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_expression_11]+0x22b): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_expression_11]+0x243): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_expression_11]+0x8): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_expression_12]+0x370): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_expression_12]+0xc): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_expression_13]+0x370): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_expression_13]+0xc): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_function_reference]+0x65e): undefined reference to `__security_check_
cookie'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_function_reference]+0xc): undefined reference to `__GSHandle
rCheck'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_expression_list]+0x536): undefined reference to `__security_check_coo
kie'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_expression_list]+0x20): undefined reference to `__GSHandlerC
heck'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_iterated_expression]+0x3f3): undefined reference to `__security_check
_cookie'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_iterated_expression]+0x10): undefined reference to `__GSHand
lerCheck'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_expression_1]+0x239): undefined reference to `__security_check_cookie
'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_expression_1]+0xc): undefined reference to `__GSHandlerCheck
'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_set_statement]+0x8da): undefined reference to `__security_check_cooki
e'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_set_statement]+0xc): undefined reference to `__GSHandlerChec
k'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_parameter_statement]+0xb70): undefined reference to `__security_check
_cookie'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_parameter_statement]+0x1c): undefined reference to `__GSHand
lerCheck'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_variable_statement]+0x640): undefined reference to `__security_check_
cookie'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_variable_statement]+0xc): undefined reference to `__GSHandle
rCheck'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_constraint_statement]+0x6b3): undefined reference to `__security_chec
k_cookie'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_constraint_statement]+0x14): undefined reference to `__GSHan
dlerCheck'
libs/glpk.lib(../src/glpmpl01.obj):(.text[_glp_mpl_table_statement]+0xaa4): undefined reference to `__security_check_coo
kie'
libs/glpk.lib(../src/glpmpl01.obj):(.xdata[$unwind$_glp_mpl_table_statement]+0xc): undefined reference to `__GSHandlerCh
eck'
libs/glpk.lib(../src/colamd/colamd.obj):(.text[_glp_colamd]+0x3d6): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/colamd/colamd.obj):(.xdata[$unwind$_glp_colamd]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/colamd/colamd.obj):(.text[_glp_symamd]+0x596): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/colamd/colamd.obj):(.xdata[$unwind$_glp_symamd]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl06.obj):(.text[read_header]+0x2e8): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl06.obj):(.xdata[$unwind$read_header]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl06.obj):(.text[dbf_read_record]+0x1f4): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl06.obj):(.xdata[$unwind$dbf_read_record]+0x18): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl06.obj):(.text[dbf_write_record]+0x315): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl06.obj):(.xdata[$unwind$dbf_write_record]+0x28): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpmpl05.obj):(.text[_glp_mpl_fn_time2str]+0x92d): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpmpl05.obj):(.xdata[$unwind$_glp_mpl_fn_time2str]+0x20): undefined reference to `__GSHandlerCheck
'
libs/glpk.lib(../src/glpsql.obj):(.text[_glp_db_iodbc_read]+0x1dc): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpsql.obj):(.xdata[$unwind$_glp_db_iodbc_read]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpsql.obj):(.text[extract_error]+0xf1): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpsql.obj):(.xdata[$unwind$extract_error]+0x14): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpsql.obj):(.text[db_iodbc_open_int]+0x92a): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpsql.obj):(.xdata[$unwind$db_iodbc_open_int]+0x10): undefined reference to `__GSHandlerCheck'
libs/glpk.lib(../src/glpsql.obj):(.text[_glp_db_iodbc_write]+0x387): undefined reference to `__security_check_cookie'
libs/glpk.lib(../src/glpsql.obj):(.xdata[$unwind$_glp_db_iodbc_write]+0x18): undefined reference to `__GSHandlerCheck'
collect2: ld returned 1 exit status
make: *** [MiMBL_GeneDel.exe] Error 1
基本上我开始放弃预编译库,想用mingw-w64 mys self编译boost。我的想法是我的电脑上有很多工具链,包括 GNU gcc 和 mingw(32 位)。如何指定要使用的 boostx86_64-w64-mingw32-g++编译Boost?
最佳答案
Boost Getting Started Guide是一个很好的起点,但是在运行 bootstrap.sh
和调用 bjam
之间,您需要编辑 user-config.jam
文件按照 Boost.Build v2 docs 中的说明将其指向您的正确编译器(在“交叉编译”下)。
当您确实调用 bjam
时,您需要传递一些额外的参数以使其构建 64 位二进制文件并让它知道您正在使用 MinGW 而不是主线 GCC 进行构建:
target-os=windows architecture=x86 address-model=64
如果您有任何问题,请返回此处或跳转到 Freenode IRC 上的 #boost
。
关于c++ - 使用 mingw-w64 编译 boost,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6100097/
是否有任何库或框架旨在促进从另一种成熟的编程语言中构建项目? 在 C++、java 等编程语言中指定逻辑、集合和复杂规则非常容易,但在 Makefile 中完成这些事情似乎是一场艰苦的战斗。我还没有深
我有这段代码可以用 clang 编译得很好(即使使用 -Weverything),但是 gcc 会发出错误。 #include #include #include using namespace
我有以下 block 头文件 BKE_mesh.h: /* Connectivity data */ typedef struct IndexNode { struct IndexNode *
我在我的一个项目中遇到了一个奇怪的问题。我的代码库依赖于一个外部库,其中包含一个名为 Dataset 的类. Dataset类私有(private)继承自 std::vector (其中 Sample
当使用 gcc、g++ 或 make 在终端中编译一个小型 C 或 C++ 项目时,我收到以下错误: /tmp/ccG1caGi.o: In function `main': main.c:(.tex
我正在尝试从 CVS 为 Windows 上的 Emacs 23.1.50 编译 CEDET,但在“第 6 步:打开 EDE...”时出现错误:“defvar:作为变量的符号值是无效的:cedet-m
我正在(重新)学习编程,我从 C 开始。我的 IDE(如果我可以这么说)是 Windows7 上的 cygwin(32 位)和 Visual-Studio 2010。我总是编译我用 gcc (cygw
我喜欢在模板类中使用本地类来执行类似“static if”的构造。但是我遇到了 gcc 4.8 不想编译我的代码的问题。但是 4.7 可以。 这个例子: #include #include #in
我有一个项目,必须仅使用 java 1.4 进行编译。但我计划使用mockito 编写一些单元测试。我想要一种在 pom 中指定的方法,以便 src/main/java 使用 jdk 1.4 编译,但
我想了解 PHP 编译过程是如何工作的。 假设我有一个名为funcs.php 的文件并且这个文件有三个函数,如果我include 或require 它,所有的在文件加载期间编译三个函数?或者源代码会被
编译工具链 我们写程序的时候用的都是集成开发环境 (IDE: Integrated Development Environment),集成开发环境可以极大地方便我们程序员编写程序,但是配置起来
当我编写一些 Scala 代码时,在尝试编译代码时收到一条奇怪的错误消息。我将代码分解为一个更简单的代码(从语义的角度来看这完全没有意义,但仍然显示了错误)。 scala> :paste // Ent
我正在编译一个 SCSS 文件,它似乎删除了我的评论。我可以使用什么命令来保留所有评论? >SASS input.scss output.css 我在 SCSS 中看到两种类型的注释。 // Comm
这是我的代码: #include typedef struct { const char *description; float value; int age; } swag
当您编译 grails war 时,我知道 .groovy 代码被编译为字节码类文件,但我不明白容器(例如 tomcat)如何在请求 GSP 时知道如何编译它们。容器了解 GSP 吗?安装在服务器上的
我正在努力将多个文件编译成一个通用程序。我收到一个错误: undefined reference to 'pi' 这是我的代码和 Makefile 的框架。我做错了什么?谢谢! 文件:calcPi.c
我尝试使用 LD_PRELOAD 来 Hook sprintf function ,所以我将打印到缓冲区的结果: #define _GNU_SOURCE #include #include int
我正在寻找最简单的方法来自动将 CoffeeScript 重新编译为 JS。 阅读documentation但仍然很难得到我想要的东西。 我需要它来监视文件夹 src/ 中的任何 *.coffee 文
我想使用定制waveformjs 。我发现this on SO但是,我不知道如何编译/安装波形来开始。我从 GitHub 克隆它并进行了更改,但是我不知道如何将其转换为 .js 文件。 最佳答案 为了
很难说出这里问的是什么。这个问题是含糊的、模糊的、不完整的、过于宽泛的或修辞性的,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开它,visit the help center 。 已关
我是一名优秀的程序员,十分优秀!