wxwidgets cannot compile samples and demos Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Cunoo
Knows some wx things
Knows some wx things
Posts: 48
Joined: Tue Jul 28, 2020 8:23 pm

wxwidgets cannot compile samples and demos

Post by Cunoo »

Hi guyz i have problem with compile demos and samples , look on screen i have in documentation how to install... its necessary for using ?
macbookair@MacBooks-MacBook-Air wxwidgets % cd samples; make;cd ..
make: *** No targets specified and no makefile found. Stop.
macbookair@MacBooks-MacBook-Air wxwidgets % cd demos; make;cd ..
make: *** No targets specified and no makefile found. Stop.
macbookair@MacBooks-MacBook-Air wxwidgets % cd demos; make;
make: *** No targets specified and no makefile found. Stop.
macbookair@MacBooks-MacBook-Air demos %

can any idea please ?
Attachments
Screenshot 2020-07-28 at 22.28.55.png
Screenshot 2020-07-28 at 22.28.55.png (78.9 KiB) Viewed 1377 times
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxwidgets cannot compile samples and demos

Post by doublemax »

Code: Select all

    mkdir build-cocoa-debug
    cd build-cocoa-debug
    ../configure --enable-debug
    make
Did this first step complete successfully? That's the one that builds the wxWidgets libraries. Before these are built, you can't build the samples or anything else.
Use the source, Luke!
Cunoo
Knows some wx things
Knows some wx things
Posts: 48
Joined: Tue Jul 28, 2020 8:23 pm

Re: wxwidgets cannot compile samples and demos

Post by Cunoo »

yes this is commands works fine
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxwidgets cannot compile samples and demos

Post by doublemax »

You must be inside the 'build-cocoa-debug' directory when executing these commands.
Use the source, Luke!
Cunoo
Knows some wx things
Knows some wx things
Posts: 48
Joined: Tue Jul 28, 2020 8:23 pm

Re: wxwidgets cannot compile samples and demos

Post by Cunoo »

thanks but now how can i connect in xcode ?
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxwidgets cannot compile samples and demos

Post by doublemax »

As i don't work under OSX i can't help here. What about the Xcode project files that do exist for the library itself and the "minimal" sample?
Use the source, Luke!
Cunoo
Knows some wx things
Knows some wx things
Posts: 48
Joined: Tue Jul 28, 2020 8:23 pm

Re: wxwidgets cannot compile samples and demos

Post by Cunoo »

i dont know how to connect library on this i cant find tutorial on wxwidgeds side :(
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxwidgets cannot compile samples and demos

Post by doublemax »

I'm not sure what you mean with "connect library on this". What happens when you try to load "minimal_cocoa.xcodeproj" in /samples/minimal/? It should show to to link the wxWidgets libraries to your code.
Use the source, Luke!
Cunoo
Knows some wx things
Knows some wx things
Posts: 48
Joined: Tue Jul 28, 2020 8:23 pm

Re: wxwidgets cannot compile samples and demos

Post by Cunoo »

i mean connect my library with my project in xcode (iddle) how can i connect ?
Cunoo
Knows some wx things
Knows some wx things
Posts: 48
Joined: Tue Jul 28, 2020 8:23 pm

Re: wxwidgets cannot compile samples and demos

Post by Cunoo »

doublemax wrote: Thu Jul 30, 2020 1:14 pm I'm not sure what you mean with "connect library on this". What happens when you try to load "minimal_cocoa.xcodeproj" in /samples/minimal/? It should show to to link the wxWidgets libraries to your code.
viewtopic.php?f=19&t=46984&p=197807&hil ... ts#p197807 this man hve same problem but isnt answer it
Post Reply