This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] Compiling error(s) in Mac OS X 10.8.5  (Read 1253 times)

Realmlist

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
[SOLVED] Compiling error(s) in Mac OS X 10.8.5
« 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.
« Last Edit: April 26, 2014, 05:54:34 pm by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Compiling error(s) in Mac OS X 10.8.5
« Reply #1 on: April 06, 2014, 01:02:35 am »
Which version of noggit do you try to compile?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Realmlist

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: Compiling error(s) in Mac OS X 10.8.5
« Reply #2 on: April 06, 2014, 01:04:59 am »
The latest on bitbucket.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Compiling error(s) in Mac OS X 10.8.5
« Reply #3 on: April 06, 2014, 01:12:21 am »
In src/Video.cpp, remove "inline" in front of the functions listed in your error.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Realmlist

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: Compiling error(s) in Mac OS X 10.8.5
« Reply #4 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Compiling error(s) in Mac OS X 10.8.5
« Reply #5 on: April 06, 2014, 02:55:16 am »
May you try removing the "inline " in Video.h, too?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Realmlist

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: Compiling error(s) in Mac OS X 10.8.5
« Reply #6 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]
« Last Edit: January 01, 1970, 01:00:00 am by Admin »