Old 11-20-2015, 08:53 PM   #1
Argitoth
Human being with feelings
 
Argitoth's Avatar
 
Join Date: Feb 2008
Location: Phoenix, AZ
Posts: 2,055
Default cannot build sws, pleez heelp

cannot build SWS due to Reascript.cpp and varag.h errors: http://pastebin.com/raw.php?i=qTJDsJQy
__________________
Soundemote - Home of the chaosfly and pretty oscilloscope.
MyReaperPlugin - Easy-to-use cross-platform C++ REAPER extension template
Argitoth is offline   Reply With Quote
Old 11-24-2015, 02:44 AM   #2
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,343
Default

You probably need to delete the SWS plugin and then rewrite the REAPER API headers.
IXix is offline   Reply With Quote
Old 11-25-2015, 10:34 AM   #3
Argitoth
Human being with feelings
 
Argitoth's Avatar
 
Join Date: Feb 2008
Location: Phoenix, AZ
Posts: 2,055
Default

Thanks for the help IXix, tried that, no luck.

varag.h seems not to be written in C++... I think visual studio is trying to compile it.
__________________
Soundemote - Home of the chaosfly and pretty oscilloscope.
MyReaperPlugin - Easy-to-use cross-platform C++ REAPER extension template
Argitoth is offline   Reply With Quote
Old 11-25-2015, 03:10 PM   #4
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,343
Default

Sorry then, I don't know. Just found I can't build it myself. I need to update my tools.
IXix is offline   Reply With Quote
Old 11-25-2015, 06:00 PM   #5
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,310
Default

I think you need to save the output of reascript_vararg.php to reascript_vararg.h to get a valid C++ code you can build. I haven't tried though...

It's part of their build scripts:

Windows: https://github.com/Jeff0S/sws/blob/2...n.vcxproj#L104
OS X: https://github.com/Jeff0S/sws/blob/2...ld.command#L16
cfillion is offline   Reply With Quote
Old 12-10-2015, 04:11 AM   #6
Argitoth
Human being with feelings
 
Argitoth's Avatar
 
Join Date: Feb 2008
Location: Phoenix, AZ
Posts: 2,055
Default

This is for exporting c++ functions to reascript, right? Do you know where Cockos wrote about how to do that? I'd like to learn. Gonna look around... Found something!: http://forum.cockos.com/showthread.php?t=155079

ok I think I get it...it's not working because php file isn't doing anything (php file just gets copied as a .h file, no changes). I have php installed on my computer, I can do php -v and it outputs a version... so why doesn't it do anything?

Ok, I deleted pre-build, pre-link, post build, I removed #include reascript_vararg.h, removed all the action export macros... now it builds... however I still really need to get the php file working.

Can anyone explain how to run the php file correctly for the varag.h file?
__________________
Soundemote - Home of the chaosfly and pretty oscilloscope.
MyReaperPlugin - Easy-to-use cross-platform C++ REAPER extension template
Argitoth 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 01:39 PM.


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