Compiling JUCE with Dev-C++ how???

Discussion about: tracktion.com
RELATED
PRODUCTS

Post

btw, I had to toss this in the libs http://www.gamap.cz/tutors/directx/download/dx4devc.zip to get it compiling.

Post

Argh. When I use Jule's demo .dev file (rather than my own agonizing setup)... it wants his damn VC++ memory leak fixer-upper.

No way to get that, that I know of... will just have to live without _CrtDumpMemoryLeaks()

Post

ok, I broke it. shit motherfucking bitch.

*screaming noises*

Post

OK. uninstalled everything, deleted all my terrible hacking and patching.

Doing this the right away. Will post update in a few.... I hope.

First. Reinstall.

Second. Run update and get DX9, windows shit, and a few other wee bits that I didnt realize were lacking from the installation on this computer. (it's amazing how you can work yourself into a total frenzy completely devoid of rational thought).

third.... waiting for dl. Will edit in a moment.
Last edited by Robert Randolph on Fri Sep 03, 2004 7:09 am, edited 1 time in total.

Post

I'm gonna crawl back into the delphi hole... I keep getting sidetracked by this Dev-C++ stuff when I need to finish my biz here at work (considering it's only 12am) ARGH! I dunno if my mental can take it. It's too frustrating!

the world would be a better place in DELPHI damnit! :lol:

ok, so maybe I won't give up... but f**k it's annoying!
ModuLR / Radio

Post

ModuLR wrote:I'm gonna crawl back into the delphi hole... I keep getting sidetracked by this Dev-C++ stuff when I need to finish my biz here at work (considering it's only 12am) ARGH! I dunno if my mental can take it. It's too frustrating!

the world would be a better place in DELPHI damnit! :lol:

ok, so maybe I won't give up... but f**k it's annoying!
Give it a few.. I got it working once doing it completely wrong. Im working on posting directions to doing it /right/ in the post above yours.

Post

Did it.

Added C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include to the C++ include directories.
Thats to get the dsound.h header for directsound. I have visual studio. you may need to get SDK from the softies or that doodad Robert found.

Compiled.
Then when I got the crtdbg.h error I changed it thus...

Code: Select all

//#include <crtdbg.h>
#include "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\crtdbg.h"
Last edited by Karbon L. Forms on Fri Sep 03, 2004 7:15 am, edited 1 time in total.
.................................
"Hell is other People" J.P.Sartre
.................................

Post

Karbon L. Forms wrote:Did it.

Added C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include to the C++ include directories. Thats to get the dsound.h header for directsound.

Compiled
Then when I got the crtdbg.h error I changed it thus...

Code: Select all

//#include <crtdbg.h>
#include "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\crtdbg.h"
Doesnt work for this w/o visual studio....

I got it working w/o VS already ;) There's manual updates you gotta do for dev-cpp to get DX stuff in and even winapi...

Post

Y. You can comment out the #include <crtdbg.h> and the error line it produces (_takeADump(); or something).

then just make sure you've got a PlatformSDK to put in your include list.

Why am I bothering with this shite? I've got VS running happily. :?
.................................
"Hell is other People" J.P.Sartre
.................................

Post

ModuLR wrote:I'm gonna crawl back into the delphi hole... I keep getting sidetracked by this Dev-C++ stuff when I need to finish my biz here at work (considering it's only 12am) ARGH! I dunno if my mental can take it. It's too frustrating!

the world would be a better place in DELPHI damnit! :lol:

ok, so maybe I won't give up... but f**k it's annoying!
Yo. Mods. See that sprawling exportMidi procedure, with it's 2 sprawling sub-procedures in StepChild?

Your delphis got 285 lines. My JUCE-C++ version has 28.
.................................
"Hell is other People" J.P.Sartre
.................................

Post

It should all build ok from the project as long as you've got the PlatformSDK in your path.. Sorry I didn't have time to do a DevC++ project for the demo projects. And I also meant to leave the BinaryBuilder.cpp file in there rather than making people create it manually - obviously my cleanup batch files must have deleted it, so I'll fix that!

It's actually quite tricky giving instructions about how to build these things, because it's hard to keep track of all the things you might need to have installed/on your include path/on your library path/etc for it to work, and project files never seem to work the same on other people's machines.. For the next release I'll try to add more detail to the build instructions.

Post

@Karbonated... I could write 285 lines of code before I figure out how to compile this f**ker with Dev-c++... :P :lol:
ModuLR / Radio

Post

My main problem atm is getting this f**ker to link to my nice little juce.a I finally got to compile...

Post

Hrm. -ljuce must rename to libjuce.a, there's another flag to do it, but it's 4am sooo...

The lib is missing some stuff too, will have to hunt that down later I think.

Post

Please tell me it's not this hard to build JUCE using dev-c++. Robert, I really hope you succeed. And please let me know how you did it!

Jules, I can't believe you took time to post reply. Thanks for helping out a newbie programmer :D How do you find time to code and post? They are right: you are a lean, mean, coding machine!

Post Reply

Return to “Tracktion”