Skip to content

libvgm issues compiling

Technical discussion about the VGM format, and all the software you need to handle VGM files.

Moderator: Staff

  • initjasmin Offline
  • Posts: 4
  • Joined: 2023-12-27, 19:35:27
  • Location: illinois

libvgm issues compiling

Post by initjasmin »

Hello ! I'm new to vgmforums and noob to compiling/code in general so am having some difficulty compiling libvgm... I've attempted makefile by mkdir build-dir > cd build-dir > cmake .. > make
tried visual studio code as well but am producing the same results: I've attached a screen of my libvgm folder
Attachments
results
results
  • initjasmin Offline
  • Posts: 4
  • Joined: 2023-12-27, 19:35:27
  • Location: illinois

Re: libvgm issues compiling

Post by initjasmin »

am I completely off here ? any help would be kind as ever
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Re: libvgm issues compiling

Post by ValleyBell »

(I moved the topic to the correct subforum.)

Can you go into detail on what issues you have exactly? You could also ask in the chat box for help.

In general, the CMake approach is the correct one. (The Visual Studio projects may be outdated.)
If you have Visual Studio and CMake installed, this should do the trick:

Code: Select all

mkdir build
cd build
cmake ..
cmake --build . --config Release	
The first "cmake" will create the project files and "cmake --build" will then compile it.
  • initjasmin Offline
  • Posts: 4
  • Joined: 2023-12-27, 19:35:27
  • Location: illinois

Re: libvgm issues compiling

Post by initjasmin »

Thank you valley bell. Will try when I get home.
  • initjasmin Offline
  • Posts: 4
  • Joined: 2023-12-27, 19:35:27
  • Location: illinois

Re: libvgm issues compiling

Post by initjasmin »

swamped in .obj :bash:
  • lo zaffo Offline
  • Posts: 39
  • Joined: 2016-08-03, 22:36:09
  • Location: Italy

Re: libvgm issues compiling

Post by lo zaffo »

Hi initjasmin,
You should not face any issue in compiling libvgm from sources on Windows os with Microsoft Visual Studio toolchain.
Project CMakeLists.txt is also well compatible with Microsoft vcpkg, that I can suggest for project's libraries/packages dependences.
Post Reply