Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Compiling SFGUI with nmake install  (Read 2192 times)

0 Members and 1 Guest are viewing this topic.

PleaseHelp

  • Newbie
  • *
  • Posts: 2
    • View Profile
Compiling SFGUI with nmake install
« on: May 01, 2014, 04:42:23 am »
I successfuly configured and generated cmake files using cmake (ran it on vs 2013 dev cmd) for SFGUI following this guide
http://en.sfml-dev.org/forums/index.php?topic=6112.30
It didnt ask to link glew nor boost and it didnt show any errors.I choose dynamic shared libs in cmake.
The problem is when i called nmake install from vs dev cmd it showed fatal errors u1073 for cl.exe and nmake.exe,but when i ran nmake install /i it stoped at 74% saying it doesnt know how to build sfgui.lib!
I ran vs 2013 dev cmd with admin rights!
I couldnt generate cmake by using visual studio in config so i used nmake makefiles.
Please help,cant seem to get it working and dont know what else to try. :-\
are there and compiled bynaries for SFGUI in vs 2013?

F2CPP

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • StackOverflow
Re: Compiling SFGUI with nmake install
« Reply #1 on: May 09, 2014, 08:41:03 pm »
sorry if this is off the mark, with regards to the CMAKE tutorial: start/run the CMAKE gui from the commandline (as opposed to from a shortcut), might make a big difference

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: Compiling SFGUI with nmake install
« Reply #2 on: May 09, 2014, 09:08:29 pm »
You should rather follow the official guide on the SFGUI website. At lot has changed since that post and SFGUI doesn't even use boost (anymore?!?).

And as F2CPP said, you need to open the VS cmd and then open CMake. If you start CMake from the Start menu or similar, the environment variables will not be set properly.

Also if you want help, you need to provide the exact error message and not just some references to it. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Compiling SFGUI with nmake install
« Reply #3 on: May 09, 2014, 09:57:18 pm »
Asking at SFGUI's forums might also be a good iea. :)