This site has been archived and made available for preservation purposes. No edits can be made.

Results 1 to 5 of 5

Thread: Compiling from svn

  1. #1
    Member
    Join Date
    Jul 2011
    Location
    South East United States
    Posts
    69

    Compiling from svn

    Last time I tried compiling the SVN, I got d3d9 errors.
    How would I go about getting D3D9 in Code::Blocks? I have the D3D9 SDK which I use with msvc++.
    I'm using Ming compiler that came with codeblocks, is it the one that is normally used to compile this?

    Sorry for these noobish questions, I've just never used Code::Blocks.

  2. #2
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5

    Re: Compiling from svn

    If you run the default Code::Blocks install, you have to upgrade to the latest version of MinGW (4.5 or higher). To do this, download this package:

    https://www.brickster.net/files/vault...GWUpgrade4.zip

    It consists of other archives, which you need to unpack as well and copy their contents over your MinGW installation (Program Files / CodeBlocks / MinGW) overriding all files. vaultmp should compile then. Code::Blocks also has a template which has basic D3D9 setup (create a new project -> DirectX). However if you prefer to use MSVC to build the GUI you can do this, it should be more or less independent from the rest of the mod (vaultgui.dll)

  3. #3
    Member
    Join Date
    Jul 2011
    Location
    South East United States
    Posts
    69

    Re: Compiling from svn

    Worked fine in Debug build, but for release I get linker errors:
    -------------- Build: Release in vaultmp ---------------

    Linking executable: vaultmp.exe
    mingw32-g++.exe: C:\Program Files (x86)\CodeBlocks\MinGW\lib\libshlwapi.a: No such file or directory
    mingw32-g++.exe: C:\Program Files (x86)\CodeBlocks\MinGW\lib\libcomctl32.a: No such file or directory
    mingw32-g++.exe: C:\Program Files (x86)\CodeBlocks\MinGW\lib\libwinmm.a: No such file or directory
    mingw32-g++.exe: C:\Program Files (x86)\CodeBlocks\MinGW\lib\libws2_32.a: No such file or directory


    Mind uploading these files for me? I googled the errors and found a pastebin of someone else trying to compile Vaultmp and having the same errors I did.

  4. #4

    Re: Compiling from svn

    Looks like you are missing some libraries, Recycler might be able link to them.


    I just come here to view whether there has been any progress or not, and review the wonderful progress that Recycler and the development team has made.
    My sincere thanks goes to them and to others who value my contributions the community, not to mention the ones that solely contribute.

  5. #5
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5

    Re: Compiling from svn

    I changed those paths to their relative -l parameters in the last SVN update, try to compile now. The libraries should come with your MinGW installation (if for some reason you don't have them, I can upload them of course)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •