Click here to Skip to main content
15,910,980 members

Comments by Member 13922009 (Top 6 by date)

Member 13922009 9-Sep-19 9:23am View    
Thank you, I just solved that warning. I change nlopt to Win32 from 64x platform using cmake. I did it because because win32 platform is used in my program. I follow your advice on my objective function "myfunction" and "myconstraint". Thank you for helping me. :)
Member 13922009 4-Sep-19 12:28pm View    
I remove the nlopt_ prefixes
Member 13922009 4-Sep-19 7:24am View    
yes, do you know how to solve this ?
Member 13922009 4-Sep-19 7:22am View    
I tried your advice, but I got same errors :
Warning 1 warning C4717: 'NonlinearOpt::nlopt_add_inequality_constraint' : recursive on all control paths, function will cause runtime stack overflow d:\program\robotsimu190902\robotsimu\nonlinearopt.cpp 137
Warning 4 warning C4717: 'NonlinearOpt::nlopt_create' : recursive on all control paths, function will cause runtime stack overflow d:\program\robotsimu190902\robotsimu\nonlinearopt.cpp 146
Warning 2 warning C4717: 'NonlinearOpt::nlopt_optimize' : recursive on all control paths, function will cause runtime stack overflow d:\program\robotsimu190902\robotsimu\nonlinearopt.cpp 161
Warning 5 warning C4717: 'NonlinearOpt::nlopt_set_lower_bounds' : recursive on all control paths, function will cause runtime stack overflow d:\program\robotsimu190902\robotsimu\nonlinearopt.cpp 151
Warning 3 warning C4717: 'NonlinearOpt::nlopt_set_min_objective' : recursive on all control paths, function will cause runtime stack overflow d:\program\robotsimu190902\robotsimu\nonlinearopt.cpp 166
Warning 6 warning C4717: 'NonlinearOpt::nlopt_set_xtol_rel' : recursive on all control paths, function will cause runtime stack overflow d:\program\robotsimu190902\robotsimu\nonlinearopt.cpp 156

same messages. It will be works in single program, but when I implement in one class in my program that has several cpp and header files, this error always occur
Member 13922009 28-Mar-19 13:15pm View    
but when I tried it, still error