
Sun, 10/04/2015 - 15:43
Forums:
Dear all,
I configure my development environment with occ6.9.1 successfully,
But when I debug it ,there is a problem and turn to "
void Standard_Failure::Throw() const
{
#ifndef NO_CXX_EXCEPTION
throw *this;
#endif
}"
I found thir program have problem
"Handle(WNT_Window) aWNTWindow = new WNT_Window(GetSafeHwnd();
myView->SetWindow(aWNTWindow);"
I am new to use opencascade and I can't sovle this problem ,please help me thanks !!
Regards,
Mon, 10/05/2015 - 04:06
Dear qixianyu:
I think I met this problem once. Maybe you have not properly set the environment variables in your program. Try to set the environment variable "CSF_ShadersDirectory" that represent the path of shader files in your computer, which is usually "$(OCCTROOT)/src/Shaders"
Best regards
Once
Wed, 12/02/2015 - 14:24
the problem is also as you said,thank you!
Mon, 10/05/2015 - 04:34
Dear Once,
I am new to use it ,and I don't understand how to set environment variable ,Could you please tell me more detail?
Best regards,
qixianyu
Mon, 10/05/2015 - 05:34
Dear qixianyu:
Try to read the overview document carefully. It contains the details of the environment variables. About how to set environment varibles, it's easy and you may find it on net. I suppose the reason of your problem is that you have not set the shader directory correctly, which I have mentioned in my last message. Wish you luck~
Mon, 10/05/2015 - 05:47
Dear qixianyu:
The problem is easy, but I still spent a lot of time to find the reason before. If you still can not solve it, send a letter to the address jijing269824@sohu.com and leave me your contact information to me. According to your user name, I wonder if you have a QQ number,^_^
Mon, 10/05/2015 - 06:03
It seems that I am forbidden to leave my email address here. The problem is simple, but I still spent a lot of time to find the reason before. If you still can not solve the problem yourself, I don't know how to leave a contact information to you. As to your user name, I wonder if you have a QQ number^_^
Mon, 10/05/2015 - 12:17
Dear Once,
In order to protect Forum from spam a pre-moderation mode is used.
Therefore all messages which contain links and mail addresses require explicit approval before publication.
It may explain you some delay with publication of your messages. I do hope that very soon we will update our Forum rules
to remove this unclear behavior.
Sorry for possible inconveniences.
FSR
Mon, 10/05/2015 - 12:31
Dear the supervisor:
That's ok, I see you are a very responsible supervisor. Have a good day^_^
Once.
Mon, 10/05/2015 - 13:10
Dear Once ,
thanks a lot !
Mon, 10/05/2015 - 13:11
Dear superviosr ,
Could you help me solve this problem? thanks
Regards,
Qi