首页 > REDM基础教程 > REDM基础教程1-下载、编译代码
2016十月19

REDM基础教程1-下载、编译代码

[隐藏]

1.下载DM

REDM的更新路径目前有两个,同步更新,可使用SVN或GIT下载对应代码

https://git.oschina.net/hgy413/REDM

https://github.com/hgy413/DM(备用)

1.gif

下载完成后,如下图:

1.png

注意:

  Build只是一个用CMAKE预生成的工程文件夹,方便不会CMAKE的朋友快速编译!!!!!!,个人是推荐使用CMAKE重新生成

   

2.编译DM

DM是使用CMAKE编译的,CMAKE仅是一个编译工具,用于生成VS工程,DM目前支持VS2008及更高的VS版本编译,在VS2008,VS2010,VS2013,VS2015上均测试过

  

2.1.打开CMAKE

CMAKE最新版下载路径:

https://cmake.org/files/v3.7/cmake-3.7.0-rc2-win32-x86.zip

1.我们将它下载到D盘吧:–>

1.png

  

2.解压D盘,并打开bin目录下的cmake-gui.exe

1.png

 

  

2.2.配置cmake-gui.exe

1.png

->

1.png

->

1.png

->如果要编译设计器,需要在CMAKE上勾选USE_DESIGNER_宏

1.png

–>

1.png

->整个流程GIF

1.gif

注意:

如果要编译设计器,需要在CMAKE上勾选USE_DESIGNER_选项,其区别在于:

1.勾选USE_DESIGNER_宏,CMAKE会为每个工程生成一个_DMDesigner_宏

2.由于_DMDesigner_宏包含在头文件中,所以DMMain如果包含了这个宏,则使用DMMain的示例项目必须包含这个宏

3.如果DMMain包含了_DMDesigner_宏,则DEBUG模式下调试到XML对象时,不会显示XML对象的XML文本,反之则会显示(方便调试)

一般是建议只有编译设计器时勾选USE_DESIGNER_




    下一节教程:REDM基础教程2-快速生成简单示例工程MyTest



文章作者:hgy413
本文地址:https://hgy413.com/3426.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!

17 Responses to “REDM基础教程1-下载、编译代码”

  1. #1 minecraft 回复 | 引用 Post:2018-10-03 22:07

    Way cool! Some very valid points! I appreciate you
    writing this article plus the rest of the website is extremely good.

  2. #2 minecraft 回复 | 引用 Post:2018-10-07 17:26

    There is certainly a lot to learn about this topic. I love all of the
    points you have made.

  3. What’s up, I check your blogs regularly. Your humoristic style is witty, keep
    it up!

  4. Thanks for finally talking about >blog topic <Loved it!

  5. Wow, this piece of writing is good, my sister is analyzing
    these things, so I am going to tell her.

  6. #6 tinder dating site 回复 | 引用 Post:2018-10-17 14:52

    Wow that was odd. I just wrote an incredibly long comment but after I clicked submit my comment didn’t show up.
    Grrrr… well I’m not writing all that over again. Anyhow,
    just wanted to say wonderful blog!

  7. #7 Coconut Oil 回复 | 引用 Post:2018-10-21 02:41

    We’re a bunch of volunteers and starting a new scheme in our community.
    Your website offered us with valuable info to work on. You have done a
    formidable job and our whole neighborhood will likely be thankful to you.

  8. #8 Benefits of Coconut Oil 回复 | 引用 Post:2018-10-24 06:29

    Have you ever considered writing an e-book or guest authoring on other websites?
    I have a blog centered on the same subjects you discuss and would really like to have you share
    some stories/information. I know my viewers would appreciate your work.

    If you’re even remotely interested, feel free
    to shoot me an e mail.

  9. #9 Quest Bars Cheap 回复 | 引用 Post:2018-11-06 15:43

    At this time it seems like Expression Engine is the top
    blogging platform available right now. (from what I’ve read)
    Is that what you are using on your blog?

  10. #10 Quest Bars Cheap 回复 | 引用 Post:2018-11-08 19:11

    Today, I went to the beach with my kids. I found a sea shell and gave it to my 4
    year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed.
    There was a hermit crab inside and it pinched her ear.

    She never wants to go back! LoL I know this is entirely
    off topic but I had to tell someone!

  11. If some one needs expert view about blogging then i recommend him/her to
    pay a visit this website, Keep up the nice work.

  12. #12 Sling TV 回复 | 引用 Post:2018-11-15 07:27

    I constantly spent my half an hour to read this blog’s
    articles or reviews daily along with a cup of coffee.

  13. Sling tv coupons and promo codes for november 2018
    Your mode of describing all in this post is really nice,
    all be able to easily understand it, Thanks a lot.
    Sling tv coupons and promo codes for november 2018

  14. If some one wishes to be updated with most up-to-date technologies afterward he must be pay a quick
    visit this website and be up to date daily.

  15. This is the perfect web site for anyone who wishes to understand
    this topic. You understand a whole lot its almost hard to argue with you
    (not that I really will need to…HaHa). You certainly put a new spin on a topic
    which has been written about for years. Great stuff, just great!

  16. #16 descargar facebook 回复 | 引用 Post:2018-11-22 11:04

    I do not even know how I ended up here, but I thought this post was great.
    I do not know who you are but definitely you’re going to a famous blogger if you are not already 😉 Cheers!

  17. #17 g 回复 | 引用 Post:2020-06-15 17:46

    Hi! This is my 1st comment here so I just wanted to give a quick shout out and say I really enjoy reading your articles.
    Can you suggest any other blogs/websites/forums that cover the same subjects?
    Thanks a lot!

发表评论