Hi,
I'm now trying to get my 01X map to appear as a separate map (previously it had been seen as csurf_MCU.cpp, now I want it to be csurf_01X.cpp).
I've edited, and added, entries where I can see they need to be/go but when compiling I get:
Code:
csurf_main.obj: error LNK2001: unresolved external symbol
"struct reaper_csurf_reg_t csurf_01X_reg" (?csurf_01X_reg@@3Ureaper_csurf_reg_t@@A)
../Debug/Plugins/reaper_csurf.dll : fatal error LNK1120: 1 unresolved externals
I've included the following in csurf.h:
and the following in csurf_main.cpp:
Code:
rec->Register("csurf",&csurf_01X_reg);
I've changed the name of the Class (in csurf_01X.cpp) to:
as well as :
Code:
reaper_csurf_reg_t csurf_01X_reg =
{
"01X",
"YAMAHA 01X",
createFunc,
configFunc,
};
When I look in VS2005 'Solution Explorer' window I do NOT see csurf_01X.cpp in the list of 'csurfs'.
When I look in sdk\jmde\csurf\Debug\ there is NO csurf_01X.obj in the directory.
I appreciate this may be a 'needle in a haystack' kind of question... but can anyone please help by giving me some useful suggestions of where/what I need to check in order to include csurf_01X.cpp in the list?
Any ideas? Please!
Thanks in advance
Deric.
Edit: To add... When running Build, csurf_01x.cpp does NOT show up in the list of .cpps - it only appears under 'Linking' after the compiler has gone through:
'Generating Code...'
Compliling Resources...'
'Compliling Manifest to resources...'
'Linking...'
Creating library .\Debug/reaper_csurf.lib and object .\Debug/reaper_csurf.exp
(then I get the above errors)