OTClient problem Visual Studio Community

Discussion in 'OTClient' started by xlucha, Dec 6, 2017.

  1. xlucha

    xlucha Member

    Joined:
    Nov 4, 2012
    Messages:
    44
    Likes Received:
    2
    Best Answers:
    0
    Hi
    I downloaded
    Visual Studio Community 2017

    I trying compile OTClient. I use this tutorial.
    I use Boost 1_62_0 and otclient-sdk-master
    Look

    on end i have error

    LNK1104 Can't open file „libboost_thread-vc140-mt-gd-1_62.lib” otclient E:\wszystko ots\OTClient\otclient-master\otclient-master\vc14\LINK 1

    anyone help to fix this?
     
    Last edited: Dec 6, 2017
  2. Peonso

    Peonso 1337

    Joined:
    Jan 14, 2008
    Messages:
    1,135
    Likes Received:
    639
    Best Answers:
    10
    You need VS 2015.
     
  3. xlucha

    xlucha Member

    Joined:
    Nov 4, 2012
    Messages:
    44
    Likes Received:
    2
    Best Answers:
    0
    I try install vs2015 but i have many errors. i don't know why. i use win10 now i downloading win7 i try on win 7
     
  4. Peonso

    Peonso 1337

    Joined:
    Jan 14, 2008
    Messages:
    1,135
    Likes Received:
    639
    Best Answers:
    10
    I and everybody that helped me only managed to compile with VS2015 and win32 (x86), you get tons of warnings anyway, but no error.
     
  5. xlucha

    xlucha Member

    Joined:
    Nov 4, 2012
    Messages:
    44
    Likes Received:
    2
    Best Answers:
    0
    Ok i reinstall windows, install vs2015 with no problem. but i have alltime this error
    1>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc140-mt-s-1_63.lib'
    i try with boost 1_62_0 and 1_63_0 and nothing.
    I move folder boost 1_63_0 to c:\local\1_63_0 and still this error
    i execute bootstrap and b2 and bjam.
    i have Environment Variables
    [​IMG]

    someone can help?
     
  6. xlucha

    xlucha Member

    Joined:
    Nov 4, 2012
    Messages:
    44
    Likes Received:
    2
    Best Answers:
    0
    ok i install fresh windows 7 sp1 ultimate, next VS2015, install libs and look:

    Code (Text):
    1. >------ Build started: Project: otclient, Configuration: Release Win32 ------
    2. 1>  animatedtext.cpp
    3. 1>  animator.cpp
    4. 1>  client.cpp
    5. 1>  container.cpp
    6. 1>  creature.cpp
    7. 1>  creatures.cpp
    8. 1>  effect.cpp
    9. 1>  game.cpp
    10. 1>  houses.cpp
    11. 1>  item.cpp
    12. 1>  itemtype.cpp
    13. 1>  lightview.cpp
    14. 1>  localplayer.cpp
    15. 1>  luafunctions.cpp
    16. 1>  luavaluecasts.cpp
    17. 1>  map.cpp
    18. 1>  mapio.cpp
    19. 1>  mapview.cpp
    20. 1>  minimap.cpp
    21. 1>  missile.cpp
    22. 1>  outfit.cpp
    23. 1>  player.cpp
    24. 1>  protocolcodes.cpp
    25. 1>  protocolgame.cpp
    26. 1>  protocolgameparse.cpp
    27. 1>  protocolgamesend.cpp
    28. 1>  shadermanager.cpp
    29. 1>  spritemanager.cpp
    30. 1>  statictext.cpp
    31. 1>  thing.cpp
    32. 1>  thingtype.cpp
    33. 1>  thingtypemanager.cpp
    34. 1>  tile.cpp
    35. 1>  towns.cpp
    36. 1>  uicreature.cpp
    37. 1>  uiitem.cpp
    38. 1>  uimap.cpp
    39. 1>  uimapanchorlayout.cpp
    40. 1>  uiminimap.cpp
    41. 1>  uiprogressrect.cpp
    42. 1>  uisprite.cpp
    43. 1>  adaptativeframecounter.cpp
    44. 1>  application.cpp
    45. 1>  asyncdispatcher.cpp
    46. 1>  binarytree.cpp
    47. 1>  clock.cpp
    48. 1>  config.cpp
    49. 1>  configmanager.cpp
    50. 1>  eventdispatcher.cpp
    51. 1>  filestream.cpp
    52. 1>  graphicalapplication.cpp
    53. 1>  logger.cpp
    54. 1>  module.cpp
    55. 1>  modulemanager.cpp
    56. 1>  resourcemanager.cpp
    57. 1>  scheduledevent.cpp
    58. 1>  timer.cpp
    59. 1>  event.cpp
    60. 1>  animatedtexture.cpp
    61. 1>  apngloader.cpp
    62. 1>  bitmapfont.cpp
    63. 1>  cachedtext.cpp
    64. 1>  coordsbuffer.cpp
    65. 1>  fontmanager.cpp
    66. 1>  framebuffer.cpp
    67. 1>  framebuffermanager.cpp
    68. 1>  graphics.cpp
    69. 1>  hardwarebuffer.cpp
    70. 1>  image.cpp
    71. 1>  painter.cpp
    72. 1>  paintershaderprogram.cpp
    73. 1>  particle.cpp
    74. 1>  particleaffector.cpp
    75. 1>  particleeffect.cpp
    76. 1>  particleemitter.cpp
    77. 1>  particlemanager.cpp
    78. 1>  particlesystem.cpp
    79. 1>  particletype.cpp
    80. 1>  shader.cpp
    81. 1>  shaderprogram.cpp
    82. 1>  texture.cpp
    83. 1>  texturemanager.cpp
    84. 1>  painterogl.cpp
    85. 1>  painterogl1.cpp
    86. 1>  painterogl2.cpp
    87. 1>  mouse.cpp
    88. 1>  lbitlib.cpp
    89. 1>  luaexception.cpp
    90. 1>  luainterface.cpp
    91. 1>  luaobject.cpp
    92. 1>  luavaluecasts.cpp
    93. 1>  luafunctions.cpp
    94. 1>  connection.cpp
    95. 1>  inputmessage.cpp
    96. 1>  outputmessage.cpp
    97. 1>  protocol.cpp
    98. 1>  protocolhttp.cpp
    99. 1>  server.cpp
    100. 1>  otmldocument.cpp
    101. 1>  otmlemitter.cpp
    102. 1>  otmlexception.cpp
    103. 1>  otmlnode.cpp
    104. 1>  otmlparser.cpp
    105. 1>  platform.cpp
    106. 1>  platformwindow.cpp
    107. 1>  win32crashhandler.cpp
    108. 1>  win32platform.cpp
    109. 1>  win32window.cpp
    110. 1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\imagehlp.h(1873): warning C4091: 'typedef ': ignored on left of '' when no variable is declared (compiling source file ..\src\framework\platform\win32crashhandler.cpp)
    111. 1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\imagehlp.h(3519): warning C4091: 'typedef ': ignored on left of '' when no variable is declared (compiling source file ..\src\framework\platform\win32crashhandler.cpp)
    112. 1>  combinedsoundsource.cpp
    113. 1>  oggsoundfile.cpp
    114. 1>  soundbuffer.cpp
    115. 1>  soundchannel.cpp
    116. 1>  soundfile.cpp
    117. 1>  soundmanager.cpp
    118. 1>  soundsource.cpp
    119. 1>  streamsoundsource.cpp
    120. 1>  demangle.cpp
    121. 1>  math.cpp
    122. 1>  net.cpp
    123. 1>  string.cpp
    124. 1>  time.cpp
    125. 1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\dbghelp.h(1544): warning C4091: 'typedef ': ignored on left of '' when no variable is declared (compiling source file ..\src\framework\stdext\demangle.cpp)
    126. 1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\dbghelp.h(3190): warning C4091: 'typedef ': ignored on left of '' when no variable is declared (compiling source file ..\src\framework\stdext\demangle.cpp)
    127. 1>  uianchorlayout.cpp
    128. 1>  uiboxlayout.cpp
    129. 1>  uigridlayout.cpp
    130. 1>  uihorizontallayout.cpp
    131. 1>  uilayout.cpp
    132. 1>  uimanager.cpp
    133. 1>  uiparticles.cpp
    134. 1>  uitextedit.cpp
    135. 1>  uitranslator.cpp
    136. 1>  uiverticallayout.cpp
    137. 1>  uiwidget.cpp
    138. 1>  uiwidgetbasestyle.cpp
    139. 1>  uiwidgetimage.cpp
    140. 1>  uiwidgettext.cpp
    141. 1>  color.cpp
    142. 1>  crypt.cpp
    143. 1>  tinystr.cpp
    144. 1>  tinyxml.cpp
    145. 1>  tinyxmlerror.cpp
    146. 1>  tinyxmlparser.cpp
    147. 1>  main.cpp
    148. 1>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc140-mt-s-1_63.lib'
    149. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    150.  
    i eat myself
     
    Last edited: Dec 8, 2017
  7. Okke

    Okke Voidcore 7.4

    Joined:
    Jul 19, 2015
    Messages:
    669
    Likes Received:
    344
    Best Answers:
    7
    1>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc140-mt-s-1_63.lib'

    Check if you have the file and stop eating yourself!
     
  8. xlucha

    xlucha Member

    Joined:
    Nov 4, 2012
    Messages:
    44
    Likes Received:
    2
    Best Answers:
    0
    ok i solved the error. i had wrong boost. i do tutorial if I have some time. THX all for help
     
    Okke likes this.

Share This Page

Loading...