Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.51 KB | None | 0 0
  1. Index: trunk/dev/Examples/ManualUse/SConscript
  2. ===================================================================
  3. --- trunk/dev/Examples/ManualUse/SConscript (revision 102)
  4. +++ trunk/dev/Examples/ManualUse/SConscript (working copy)
  5. @@ -30,7 +30,8 @@
  6.  
  7.  if sys.platform=='linux2' or sys.platform=='linux3':
  8.      env_local.AppendUnique(LIBS = ['GL',
  9. -                                   'Xxf86vm'] )
  10. +                                   'Xxf86vm', 'X11',
  11. +                                   'dl'] )
  12.  
  13.  # add 3rdparty libraries parameters
  14.  thirdparty.lua.addLuaToEnv(env_local)
  15. Index: trunk/dev/MSDK/MGui/Sources/X11/MX11Window.cpp
  16. ===================================================================
  17. --- trunk/dev/MSDK/MGui/Sources/X11/MX11Window.cpp  (revision 102)
  18. +++ trunk/dev/MSDK/MGui/Sources/X11/MX11Window.cpp  (working copy)
  19. @@ -40,6 +40,9 @@
  20.  #include <GL/gl.h>
  21.  #include <GL/glx.h>
  22.  
  23. +#ifndef WIN32
  24. +        #include <unistd.h>
  25. +#endif
  26.  
  27.  
  28.  // start time
  29. Index: trunk/dev/MSDK/MCore/Sources/MFileTools.cpp
  30. ===================================================================
  31. --- trunk/dev/MSDK/MCore/Sources/MFileTools.cpp (revision 102)
  32. +++ trunk/dev/MSDK/MCore/Sources/MFileTools.cpp (working copy)
  33. @@ -41,6 +41,7 @@
  34.     #define rmdir _rmdir
  35.  #else
  36.     #define mkdir(file) mkdir(file, 0777)
  37. +        #include <unistd.h>
  38.  #endif
  39.  
  40.  static MFileOpenHook* s_fileOpenHook = 0;
  41. Index: trunk/dev/Maratis/Editor/SConscript
  42. ===================================================================
  43. --- trunk/dev/Maratis/Editor/SConscript (revision 102)
  44. +++ trunk/dev/Maratis/Editor/SConscript (working copy)
  45. @@ -34,7 +34,8 @@
  46.  
  47.  if sys.platform=='linux2' or sys.platform=='linux3':
  48.      env_local.AppendUnique(LIBS = ['GL',
  49. -                                   'Xxf86vm'] )
  50. +                                   'Xxf86vm','X11',
  51. +                                   'dl'] )
  52.  
  53.  # add 3rdparty libraries parameters
  54.  thirdparty.lua.addLuaToEnv(env_local)
  55. Index: trunk/dev/Maratis/Player/SConscript
  56. ===================================================================
  57. --- trunk/dev/Maratis/Player/SConscript (revision 102)
  58. +++ trunk/dev/Maratis/Player/SConscript (working copy)
  59. @@ -35,7 +35,8 @@
  60.  
  61.  if sys.platform=='linux2' or sys.platform=='linux3':
  62.      env_local.AppendUnique(LIBS = ['GL',
  63. -                                   'Xxf86vm'] )
  64. +                                   'Xxf86vm','X11',
  65. +                                   'dl'] )
  66.  
  67.  # add 3rdparty libraries parameters
  68.  thirdparty.npk_dev.addNPKDevToEnv(env_local)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement