COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 08-30-2007, 08:04 AM   #1
spaz
Human being with feelings
 
Join Date: Aug 2007
Location: Not too far from SeaTac Airport
Posts: 29
Default Where is the makefile for this thing?

or a DevilStudio solution file? or a build.xml....or xcode project (funny, i know)

Is something included but i just cant find it?

Or are you just expecting the files to be children of an end-developer's solution, project, whatever?
spaz is offline   Reply With Quote
Old 11-08-2007, 09:59 AM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,746
Default

Much of WDL you use like STL, so you just include the .h files directly in your source code. If there are cpp files you need, add them to your project explicitly. LICE is its own library, and there's a dsp or vcproj or something in there for it.
schwa is offline   Reply With Quote
Old 11-08-2007, 10:15 AM   #3
spaz
Human being with feelings
 
Join Date: Aug 2007
Location: Not too far from SeaTac Airport
Posts: 29
Default

So WDL is a header only implmentation? that's pretty cool in many respects....

i wonder how this effects the complexity of making it work on Cocoa?

i will dig into this much deeper when i get a chance....it would be a very interesting project...
spaz is offline   Reply With Quote
Old 11-08-2007, 12:20 PM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

It's not totally header-only, though a lot of it is. Some stuff requires adding .cpp files to your project.

Most of the stuff in WDL/ is relatively portable (and has ifdefs for win32/non-win32 versions), and then there's stuff in wingui/ which is Windows-specific, however it can use SWELL/ to be used on OS X.

We'll be updating WDL with some big SWELL improvements soon, as well, as we get the Mac version of REAPER done. Coming up is win32 DialogBox(), CreateDialog() emulation for OS X.. which if you're a Cocoa programmer you won't really care about.. But for porting Windows apps it's great.

-Justin
Justin is offline   Reply With Quote
Old 05-11-2008, 04:48 AM   #5
TheAudiophileDutchman
Human being with feelings
 
TheAudiophileDutchman's Avatar
 
Join Date: May 2008
Location: Apeldoorn - The Netherlands
Posts: 10
Default Lice & VC++ 2008 Express

Just tried to compile Lice under Visual C++ 2008 Express.

This is what happened:
* Lice-files auto-converted to VC++ 2008 format
* Compiler: lots of warnings flashing by..
* Compiler error: afxres.h not found: tried to solve this by downloading this 'missing' header-file and copying it into the Lice directory, this seemed to do the job, but then:
* Linker error: cannot open lice.lib (actually lice.lib was not generated at all)

Is there a possible solution/workaround? (not having to go back to an older version of VC++)
TheAudiophileDutchman is offline   Reply With Quote
Old 08-16-2008, 06:31 AM   #6
piet
Human being with feelings
 
Join Date: Aug 2008
Posts: 1
Default

Quote:
Originally Posted by TheAudiophileDutchman View Post
Just tried to compile Lice under Visual C++ 2008 Express.

This is what happened:
* Lice-files auto-converted to VC++ 2008 format
* Compiler: lots of warnings flashing by..
* Compiler error: afxres.h not found: tried to solve this by downloading this 'missing' header-file and copying it into the Lice directory, this seemed to do the job, but then:
* Linker error: cannot open lice.lib (actually lice.lib was not generated at all)

Is there a possible solution/workaround? (not having to go back to an older version of VC++)
I guess, my question is on the same wavelenght..... I would like to know if someone did make a complete projectfile that also includes the linking job. On my setup it compiles 100% without errors using the MS 2008 VC++ Express. I tried also the complete 2005 C++ version but was struck by the inablility to downgrade the projectfile.

Anyway, This project is an excellent initative that get's from me 8 olympic golden medals!!!

Piet
piet is offline   Reply With Quote
Old 01-09-2009, 10:58 AM   #7
g40
Human being with feelings
 
Join Date: Jan 2009
Posts: 1
Default Can I get a clue ...?

Quote:
Originally Posted by Justin View Post
Most of the stuff in WDL/ is relatively portable (and has ifdefs for win32/non-win32 versions), and then there's stuff in wingui/ which is Windows-specific, however it can use SWELL/ to be used on OS X.

We'll be updating WDL with some big SWELL improvements soon, as well, as we get the Mac version of REAPER done. Coming up is win32 DialogBox(), CreateDialog() emulation for OS X.. which if you're a Cocoa programmer you won't really care about.. But for porting Windows apps it's great.

-Justin
Interesting stuff - is there an example (even the most basic one) of how to build a SWELL project? Anything that gets an open window using XCode would be a great help. I might even be able to figure the rest myself after that

Thanks

Jerry

Last edited by g40; 01-09-2009 at 11:30 AM.
g40 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.