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
Error when using "Make AU"
No permission to create posts
September 9, 2014
12:53 am
Avatar
mtpadilla
California
Member
Members
Forum Posts: 11
Member Since:
February 26, 2014
sp_UserOfflineSmall Offline

Hi All,

My plugin code is compiling beautifully but when I hit "Make AU" to produce a project that I can compile in XCode I get an error that says "Export error when trying to resolve #include files. The file could not be located; did you forget to copy move directories somewhere? Terminating Export"

I'm running RackAFX and attempting this on my Windows 7 VM under Parallels on my MBP. Everything's the current version.

The file that is being singled out is actually an .hpp file, not an .h file. RackAFX seems to perhaps be assuming that it's an .h file and hence having trouble locating it. Is this indeed the issue, and if so is the only way to solve this to have to change my convention and change the file names or is there some way to tell RackAFX that .hpp header file names are ok?

Thanks!
Michael

September 9, 2014
6:37 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Hmmm. Yeah, I can see that. The .hpp isn't getting copied into the export folder. I will need to address this in the next revision. For the record, was this a .hpp file that was officially part of the VS project (Add->Existing Item) or was it just sitting in the folder and being #included by something else in your project?

You can fix the error by copying the file manually to your Mac, then dragging it into XCode into the files area; this will import it the same way as Add->Existing Item in VS (you can also right click on the files in XCode and choose Add->Files). Then you should be able to compile without errors.

Thanks for the report on that.

- Will

September 13, 2014
2:26 pm
Avatar
mtpadilla
California
Member
Members
Forum Posts: 11
Member Since:
February 26, 2014
sp_UserOfflineSmall Offline

Hi Will,

Thanks a lot for the follow-up. Regarding your question, it was an .hpp file that was officially a part of the VS project, meaning that in VS under the "Header Files" section in the Solution Explorer the .hpp file is listed.

I'm not sure that I follow your suggested solution. When I hit the "Make AU" button RackAFX is supposed to create an XCode project that I can then load into Xcode on my Mac, compile, and then have my plug...is that right? If so, the problem I'm having precludes me from getting to the stage of RackAFX producing this XCode project since I get the error message I mentioned before it can do so. Hence when you mention that I can directly import the .hpp file in XCode I'm not sure what (i.e. what project) I should be importing it into...could you clarify this?

Thank you!!

Michael

September 14, 2014
6:28 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

I am going to have to address this in the next revision (currently working on a major one). The workaround for now is this:

1) remove the .hpp file from your Visual Studio project and use Save All to save the solution file. Don't compile (it won't without the file anyway...).

2) use Make AU to port the project. This should go smoothly without the offending file.

3) in Xcode, drag the .hpp file into the Files area on the left to officially add it to the XCode project. You can also right click on a "filter" (Folder that holds a group of project files) and choose "Add Files to Project" (I think, this is off the top of my head) and browse and find the .hpp file

You should now be able to compile the XCode project. The manual addition of the file in 3) is mimicking what RackAFX is doing when it ports your project. It is confused because it only looks for .cpp and .h files when examining the Visual Studio project file (.vcproj or .vcxproj).

That should fix your problem for now.

Will

PS: I am also trying to figure out what is going on with the Wordpress plugin that I use for this Forum - not sure where those error strings are coming from at the moment...

September 15, 2014
10:48 pm
Avatar
mtpadilla
California
Member
Members
Forum Posts: 11
Member Since:
February 26, 2014
sp_UserOfflineSmall Offline

Thank you very much, Will. That did the trick!

Cheers,
Michael

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
3 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