Program abort at canonical()
I have:
#include
On 19 January 2017 at 06:16, Andy
I have: #include
#include boostPath = canonical(boostPath);
While I debug it is OK, but when I run debug or release x64 program standalone from cmd - it abort at canonical without any info.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
http://sscce.org/ Is canonical() throwing?
I tried compiling the sample you posted.
compiler complain that boostPath is not defined!
maybe you should declare boostPath in your sample code ?
2017-01-19 5:50 GMT-05:00 Andy
Is abort without any information to console Boost not need DLL's?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Daniel *L'action accède à la perfection quand, bien que vivant, vous êtes déjà mort* *Bunan*
On 20/01/2017 06:55, Andy wrote:
I send only small piece of code. This program is compiled but is runtime error.
1. What is the value of the parameter you are passing to it? 2. Try wrapping it in a try/catch and see if it is throwing an exception. The type and message of that exception may give you a hint.
Hi Andy,
the 3 lines you posted are not a program.
without a program, and also without parameters it is very hard to provide
help.
I can try to guess what you are trying to do, but I'm very bad at guessing.
what is the type of boostPath ?
what is the value of boostPath ?
are the first questions that pop to mind!
2017-01-19 12:55 GMT-05:00 Andy
I send only small piece of code. This program is compiled but is runtime error.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Daniel *L'action accède à la perfection quand, bien que vivant, vous êtes déjà mort* *Bunan*
participants (4)
-
Andy
-
Daniel Anderson
-
Gavin Lambert
-
PB