Search found 13 matches

by Kasiak
Fri Oct 30, 2009 7:14 am
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

I've changed this option before, because smile didn't work with Windows Forms Application.
by Kasiak
Fri Oct 30, 2009 7:10 am
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

1>------ Rebuild All started: Project: TTT, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'TTT', configuration 'Release|Win32'
1>Compiling...
1>cl : Command line error D8016 : '/MT' and '/clr' command-line options are incompatible
1>Build log was saved at ...
by Kasiak
Thu Oct 29, 2009 10:28 am
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

I have to do some experiments with my program on computers without Visual C++. Like I said before, it is my first program in Visual C++, so please give me more details. What should I set in project properties? Maybe I should copy some libraries with the exe file?
by Kasiak
Wed Oct 28, 2009 7:01 am
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

How to run my program on computers without Visual C?
by Kasiak
Mon Aug 03, 2009 9:26 pm
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

Now when I include smile.h in "release":

1>c:\documents and settings\nuk\moje dokumenty\visual studio 2005\projects\ttt\ttt\smile.h(11) : fatal error C1189: #error : In release build _SECURE_SCL must be defined and set to zero for VS.NET 2005 or late.
by Kasiak
Mon Aug 03, 2009 9:19 pm
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

Thank you very much :)
I had some smile libraries in Additional dependencies in debug build (I forget about it), when I remove them it works.
But now can I use smile without libraries?
by Kasiak
Mon Aug 03, 2009 9:07 pm
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

I realized that I didn't changed Code Generation in release build before.
It is strange, now the "release" works properly, but "debug" still has the same errors.
by Kasiak
Mon Aug 03, 2009 9:00 pm
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

I have "Multi-threaded Debug DLL (/MDd)" in Code Generation.
by Kasiak
Mon Aug 03, 2009 8:56 pm
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

Almost all of these errors appeared after I changed /cls:pure to /clr.
by Kasiak
Mon Aug 03, 2009 8:45 pm
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

I prefer option 3, but when I change the project properties (without using smile for now):

DEBUG:
1>------ Build started: Project: TTT, Configuration: Debug Win32 ------
1>Linking...
1>LIBCMT.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::exception::exception(void)" (??0exception@std ...
by Kasiak
Sat Aug 01, 2009 11:00 am
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

I worked with Builder C++ before so I don't know Visual well. I implemented the version of tic-tac-toe game. All my algorithms are in C++ and they work properly in Visual C++ Windows Form Application . I have to use the Bayesian network during the game (I have to ask the net about the strategy). All ...
by Kasiak
Wed Jul 29, 2009 6:17 pm
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

Thanks, but now I don't now how to use SMILENET.

I downloaded smilenet.dll and added reference to the smilenet.dll file in my project (Project ->Properties->Add New Reference->Browse...).
Still program doesn't work - it doesn't see any of smile objects, for example:
error C2065: 'DSL_network ...
by Kasiak
Wed Jul 29, 2009 12:26 pm
Forum: SMILE
Topic: Smile in Visual C++ Windows Forms Application
Replies: 24
Views: 45287

Smile in Visual C++ Windows Forms Application

I work with Microsoft Visual C++ 2005 with Service Pack 1. I created two projects:
1.Console Application
2.Windows Forms Application
I downloaded SMILE C++ for VC 8.0 SP1. In both projects I included “smile.h” and changed the projects properties: additional linker input ( I did not add smile.lib ...