Author Topic: Like _MT and _STATIC_LIB?  (Read 1700 times)

Offline Дмитро

  • Multiple posting newcomer
  • *
  • Posts: 103
Like _MT and _STATIC_LIB?
« on: April 29, 2017, 08:54:38 pm »
Like _MT and _STATIC_LIB? :D

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12908
    • Travis build status
Re: Like _MT and _STATIC_LIB?
« Reply #1 on: April 29, 2017, 08:56:36 pm »
What? How are we supposed to help you with so little information?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Дмитро

  • Multiple posting newcomer
  • *
  • Posts: 103
Re: Like _MT and _STATIC_LIB?
« Reply #2 on: April 29, 2017, 10:11:54 pm »
I apologize. Well, the book says that if you use a universal environment for compilation, it's better and easier to define the UNICODE constant in the project, and also to define _MT and _STATIC_LIB.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7015
    • My Best Post
Re: Like _MT and _STATIC_LIB?
« Reply #3 on: April 29, 2017, 10:46:46 pm »
Project -> Build Options
Select Project or target from left pane
Added  _MT and _STATIC_LIB  one per line to #defines tab

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Дмитро

  • Multiple posting newcomer
  • *
  • Posts: 103
Re: Like _MT and _STATIC_LIB?
« Reply #4 on: April 30, 2017, 01:37:00 am »
Thank you so much!