Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
While compiling recived the error: Cpp file has already a Functionbody
No permission to create posts
August 5, 2016
9:23 pm
Avatar
Dark-Production
New Member
Members
Forum Posts: 2
Member Since:
August 5, 2016
sp_UserOfflineSmall Offline

Hi there

I'm completly new in plug-in programming.
The first project in the book "Desining Audio Effect Plug-Ins in C++", calles "Volume" i get an issue I'don't realy get.
It compiles the code generates it and then boom Cpp files already has a Functionbody ( translatet from german so maybe not 100 % accurate)

So I followed the instructions of the book and the code seems not to be a problem.

I use VB 2015 Community on Win 8.1 64 bit system.
The VB Cpp file is empty though there is a textfile which has code written in it.
I can open the Cpp textfile with VB but I get the same error while compiling

Any suggestions what I'm supposed to do?

Greetings

D-p

August 12, 2016
4:24 am
Avatar
Tom
Admin
Forum Posts: 65
Member Since:
April 3, 2014
sp_UserOfflineSmall Offline

Hi D-p,

I can't really follow your description. Did you create the project with RackAFX or did you download a project from the website?
What do you mean by "Cpp textfile" and "VB Cpp" file?

Usually, RackAFX should start Visual Studio with the generated C++ project. This should just build fine.

You mention "VB" several times - what are you referring to? Did you install the correct Visual Studio version?

Regards
Tom

August 12, 2016
4:49 am
Avatar
Dark-Production
New Member
Members
Forum Posts: 2
Member Since:
August 5, 2016
sp_UserOfflineSmall Offline

Hi Tom

I solved the problem. VB is Visual Basic. RackAFX creates an .h and a .cpp file for each project. Normaly you write your code
into the "name of the project".cpp file. By accident I modified the .h file instead.

This could never work.
I opened the .cpp file with the texteditor by accident and Windows saved it that way. Because of that
VB didn't opened the .cpp file and I started the .h file manualy.

Now everything is running fine^^

Best regards
D-p

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143