This site has been archived and made available for preservation purposes. No edits can be made.
-
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.
-
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)
-
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.
-
Senior Member
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.
-
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
-
Forum Rules