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

Author Topic: Building thor successfully but where the hell are the .dll and .lib files?  (Read 6967 times)

0 Members and 3 Guests are viewing this topic.

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
So I am able to build from source but when I visited the build folder, I can't seem to find the bin files? Any ideas? I am building Thor from source with SFML master from github. I downloaded Thor from github as well.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
What are your cmake settings? How do you start the building?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
What are your cmake settings? How do you start the building?

I am not exactly sure. I always follow the one on the tutorials. Regarding cmake file where can I find it? Give me filepath. I'll paste it here.

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
1>  Checking Build System
1>  CMake does not need to re-run because C:/libraries/Thor/build/branches/Thor-master-build-vs/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because C:/libraries/Thor/build/branches/Thor-master-build-vs/src/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: thor, Configuration: Debug Win32 ------
2>  Building Custom Rule C:/libraries/Thor/source/branches/Thor-master/src/CMakeLists.txt
2>  CMake does not need to re-run because C:\libraries\Thor\build\branches\Thor-master-build-vs\src\CMakeFiles\generate.stamp is up-to-date.
2>  Action.cpp
2>  ActionOperations.cpp
2>  Affectors.cpp
2>  Arrow.cpp
2>  BigSprite.cpp
2>  BigTexture.cpp
2>  CallbackTimer.cpp
2>  ColorAnimation.cpp
2>  ColorGradient.cpp
2>  ConcaveShape.cpp
2>  Connection.cpp
2>  Distributions.cpp
2>  Emitters.cpp
2>  FadeAnimation.cpp
2>  FrameAnimation.cpp
2>  InputNames.cpp
2>  Joystick.cpp
2>  Particle.cpp
2>  ParticleSystem.cpp
2>  Random.cpp
2>  Generating Code...
2>  Compiling...
2>  Shapes.cpp
2>  StopWatch.cpp
2>  Timer.cpp
2>  ToString.cpp
2>  Triangulation.cpp
2>  Trigonometry.cpp
2>  UniformAccess.cpp
2>  Generating Code...
2>     Creating library C:/libraries/Thor/build/branches/Thor-master-build-vs/src/Debug/thor-d.lib and object C:/libraries/Thor/build/branches/Thor-master-build-vs/src/Debug/thor-d.exp
2>  thor.vcxproj -> C:\libraries\Thor\build\branches\Thor-master-build-vs\src\Debug\thor-d.dll
3>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------
3>  Building Custom Rule C:/libraries/Thor/source/branches/Thor-master/CMakeLists.txt
3>  CMake does not need to re-run because C:\libraries\Thor\build\branches\Thor-master-build-vs\CMakeFiles\generate.stamp is up-to-date.
3>  Build all projects
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

 

Here is the output file generated.

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
I notice that the file output is short. And it builds so fast as if nothing is being built at all. On previous try I am able to make it work. It keeps erroring out on sf::Time division. I just redownloaded both SFML and Thor source a millionth time today and able to make it to work. Visited build folders -- EMPTY.

There something went wrong.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Btw you can also use the edit function (or wait a bit longer before posting). ;)

C:\libraries\Thor\build\branches\Thor-master-build-vs\src\Debug\thor-d.dll
So this file doesn't exist?

At best you setup CMAKE_INSTALL_PREFIX and the build the INSTALL project, which will automatically copy all the needed stuff to the set directory.
« Last Edit: October 13, 2014, 08:59:04 am by eXpl0it3r »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
sorry It seems I get frustrated sometimes, browsing the build folders I am able to find it here: <Home dir>\Thor-master-build-vs\src\Debug\ I was looking for it in folder with names similar lib/bin folder. It was place on the build folder's src folder! Problem is fixed thanks for helping :)

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
Can I ask why is on src? I expect it to be placed on lib/bin folder just like on SFML/SFGUI. I don't if I remember correctly I built some of thor's earlier versions and I am able to expect them on same folder (lib/bin). This is the reason why my previous build never works! Since my PATH is always setup to thor-build/lib. I expect all the output to be there. Is there a way for me to set it up there?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
See my comment about INSTALL, it's the expected way to build/install a library.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Can I ask why is on src? I expect it to be placed on lib/bin folder just like on SFML/SFGUI. I don't if I remember correctly I built some of thor's earlier versions and I am able to expect them on same folder (lib/bin). This is the reason why my previous build never works! Since my PATH is always setup to thor-build/lib. I expect all the output to be there. Is there a way for me to set it up there?

It's a CMake thing. You're essentially supposed to "install" the project somewhere, even if it's the same dir as your source dir. That way you'll get the files in the expected directories (like "lib" or "bin").

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Building thor successfully but where the hell are the .dll and .lib files?
« Reply #10 on: October 13, 2014, 10:27:35 am »
I always follow the one on the tutorials.
Which one? There's a reason why the "important" section in the tutorial exists ;)
-> see eXpl0it3r's and Mario's comments

By the way, please post in the Help forum and not in General Discussions.
« Last Edit: October 13, 2014, 10:32:31 am by Nexus »
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything