I think I finally solved the problem this time. I did create a whole empty VC++ project, which is the reason it does not work. Instead, I create a Win32 Console Application with an empty file. After I defined _SECURE_SCL as 0 in preprocessor definition, the app works good.
Thank you again!
Search found 11 matches
- Fri Sep 17, 2010 1:49 am
- Forum: SMILE
- Topic: DSL_dataset Problem in Visual Studio 2008
- Replies: 8
- Views: 6842
- Fri Sep 17, 2010 1:09 am
- Forum: SMILE
- Topic: DSL_dataset Problem in Visual Studio 2008
- Replies: 8
- Views: 6842
Re: DSL_dataset Problem in Visual Studio 2008
Here is the zip file with project. pls copy the SMILE lib vs 2008 into the "smile" folder.
Thank you very much
Thank you very much
- Fri Sep 17, 2010 1:05 am
- Forum: SMILE
- Topic: DSL_dataset Problem in Visual Studio 2008
- Replies: 8
- Views: 6842
Re: DSL_dataset Problem in Visual Studio 2008
I attached my sample project here. I soooo appreciate.
- Fri Sep 17, 2010 12:28 am
- Forum: SMILE
- Topic: DSL_dataset Problem in Visual Studio 2008
- Replies: 8
- Views: 6842
Re: DSL_dataset Problem in Visual Studio 2008
Oh, then I am confused. Here is the steps I create a project in visual studio 2008 with SMILE: 1. In VS 2008, create an empty project. Add a new cpp file. Write the simple code I pasted above in the cpp file. 2. In the project property page, change configuration from "Debug" to "Relea...
- Thu Sep 16, 2010 9:56 pm
- Forum: SMILE
- Topic: DSL_dataset Problem in Visual Studio 2008
- Replies: 8
- Views: 6842
Re: DSL_dataset Problem in Visual Studio 2008
Thank you for your reminder! I fixed it. Share it here, if any other guy have the similar problem: In the Release Mode, the Default Run time Library has been set as "Multi-threaded DLL (/MD)". However, SMILE require that "runtime library must be set to Multi-threaded Debug DLL". ...
- Thu Sep 16, 2010 8:06 pm
- Forum: SMILE
- Topic: DSL_dataset Problem in Visual Studio 2008
- Replies: 8
- Views: 6842
DSL_dataset Problem in Visual Studio 2008
I am using SMILE lib over one week now, everything works good. However, when I change my configuration to "Release", there is a run time error when DSL_dataset.ReadFile() has been called. Here is a sample code: #include <iostream> #include <string> #include "smile.h" #include &qu...
- Thu Sep 16, 2010 3:05 pm
- Forum: SMILE
- Topic: Dynamic BN
- Replies: 11
- Views: 10959
Dynamic BN
Hi,
I am using your SMILE lib, and it works good! I am just wandering, if there is any dynamic Bayesian Net libs in SMILE? And is there any simple documents for that?
Thanks a lot!
I am using your SMILE lib, and it works good! I am just wandering, if there is any dynamic Bayesian Net libs in SMILE? And is there any simple documents for that?
Thanks a lot!
- Wed Sep 08, 2010 11:22 pm
- Forum: SMILE
- Topic: Problem using dataset.h in SMILELearn
- Replies: 5
- Views: 5010
Re: Problem using dataset.h in SMILELearn
Yes, I did manually include the lib file in the VS setting. Problem solved after I delete them!
Thanks a lot !!!
Thanks a lot !!!
- Wed Sep 08, 2010 9:31 pm
- Forum: SMILE
- Topic: Problem using dataset.h in SMILELearn
- Replies: 5
- Views: 5010
Re: Problem using dataset.h in SMILELearn
Let me clarify my problem: if I change my code like this, I still get a runtime error in the last line in CreateDataset function: #include <iostream> #include <string> #include "smilearn.h" using namespace std; void CreateDataset(void); int main() { CreateDataset(); } void CreateDataset() ...
- Wed Sep 08, 2010 9:11 pm
- Forum: SMILE
- Topic: Problem using dataset.h in SMILELearn
- Replies: 5
- Views: 5010
Re: Problem using dataset.h in SMILELearn
Thank you for your quick reply!
However, I got the runtime error even if I comment from the line after
So, is it possible I should do something before this line?
Thanks again!
However, I got the runtime error even if I comment from the line after
Code: Select all
int aVar = ds.AddIntVar(aName);
Thanks again!
- Wed Sep 08, 2010 7:00 pm
- Forum: SMILE
- Topic: Problem using dataset.h in SMILELearn
- Replies: 5
- Views: 5010
Problem using dataset.h in SMILELearn
Hi, I am using the VS 2008 version downloaded from website. Everything is OK when I tried the SMILE tutorial. However, in the SMILElearn, I met problems when Parse a vector into DSL_dataset object. I did realized that you changed several functions in "dataset.h" compared with SMILElearn tu...