Welcome to %s forums

BrainModular Users Forum

Login Register

cannot find module in debug mode

Create your own modules in C++
Post Reply
ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 31 Mar 2015, 23:00

I thought I would try the HH 2.0 SDK. It's pretty nice. Thank you for the .xcode files in the examples.

I noticed that there is an .xconfig file missing though: Usine_CPP_SDKProj.xcconfig

Not sure if this is related to my problem, but..

Setting the Hollyhock 2 executable in the project scheme doesn't work for me. It launches the application, but my module is nowhere to be found.

Image

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 01 Apr 2015, 01:40

thanks for the feedback

i'll check for the missing .xconfig file, but i don't think it's the source of your problem
i suppose you started from an example project that you duplicated

xcode compile your module and place it in the bin folder of the sdk distrib.

you are on the good track with the executable setting, it's just that the module isn't in the module folder, so you cant drop it in a patch.

you can copy it manually, after compile, in the module folder of your usine distrib, but
the usual way it to add a 'copy file' build phase to do it automatically

Image

this way, when you start the debug, HH2 is launched and you just have to locate your module in the browser and drop it in a patch
Martin FLEURENT - Usine Developer - SDK maintainer

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 01 Apr 2015, 11:37

Yes, I did start from an example project. The experience was much smoother than my last attempts with the SDK.

You are right that it does not seem to be the missing .xconfig. I will add the build rule and proceed from there. Thanks for your quick response.

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 01 Apr 2015, 12:30

ceasless wrote:...The experience was much smoother than my last attempts with the SDK...
great :D

we worked hard to make it more affordable, especially trying to avoid starting from scratch for people who are not c++ coder.

sure, it's more complex than scripting and always will be, but possibility are limitless and you can have deep integration in HH2 workflow.

don't miss the API doc to help you found your way, the SDK is now mature, but huge ;)
a user's manual with tons of precious info is on it's way, i'll make an announcement when it's available

happy coding
Martin FLEURENT - Usine Developer - SDK maintainer

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 02 Apr 2015, 15:30

ceasless wrote:I noticed that there is an .xconfig file missing though: Usine_CPP_SDKProj.xcconfig
You are right about the missing xcconfig file, it seems like i over simplified things to make it easier for beginners...
That said, it has no effect on the project itself.

I'll clean this up for the next release

Thanks again for the feedback
Martin FLEURENT - Usine Developer - SDK maintainer

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 8 guests