Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Topic started by: Realmlist on April 06, 2014, 12:56:37 am

Title: [SOLVED] Compiling error(s) in Mac OS X 10.8.5
Post by: Realmlist on April 06, 2014, 12:56:37 am
Hello,

I succesfully used CMake to compile myself a xcode project, but when I want to compile the project using xCode I get the following errors:

[attachment=0:1ey74j87]Mac OS X 10.8-2014-04-06-00-53-12.png[/attachment:1ey74j87]

Any tips on how to fix this? (I have no idea on how to code C++/G++)

P.S.: I'm running OS X in VMware workstation.
Title: Re: Compiling error(s) in Mac OS X 10.8.5
Post by: schlumpf on April 06, 2014, 01:02:35 am
Which version of noggit do you try to compile?
Title: Re: Compiling error(s) in Mac OS X 10.8.5
Post by: Realmlist on April 06, 2014, 01:04:59 am
The latest on bitbucket.
Title: Re: Compiling error(s) in Mac OS X 10.8.5
Post by: schlumpf on April 06, 2014, 01:12:21 am
In src/Video.cpp, remove "inline" in front of the functions listed in your error.
Title: Re: Compiling error(s) in Mac OS X 10.8.5
Post by: Realmlist on April 06, 2014, 01:18:03 am
[attachment=0:2ta2ldrc]Mac OS X 10.8-2014-04-06-01-18-57.png[/attachment:2ta2ldrc]

It still gives the same errors.
Title: Re: Compiling error(s) in Mac OS X 10.8.5
Post by: schlumpf on April 06, 2014, 02:55:16 am
May you try removing the "inline " in Video.h, too?
Title: Re: Compiling error(s) in Mac OS X 10.8.5
Post by: Realmlist on April 06, 2014, 05:02:09 pm
Build succedeed. Thank you.

I do wonder where I create the config file, since it doesn't come with the build.

EDIT: I found out how to do it.

[attachment=0:3pnsjxsh]ZAh6S5C[1].png[/attachment:3pnsjxsh]