Search found 55 matches

by xuboying
Mon Feb 05, 2018 2:40 am
Forum: Compiler / Linking / IDE Related
Topic: Missing C++ support in Xcode9.2 for MacOS app?
Replies: 15
Views: 2185

Re: Missing C++ support in Xcode9.2 for MacOS app?

Hi, Hi, That was a tutorial on how to create a normal Cocoa C++ application inside Xcode. And this is exactly what I followed when I was creating my application under OSX with the libraries. Thank you. Hi I checked the guide. it was for Xcode is 7.2.1, so I did not read it carefully. The eranon's s...
by xuboying
Sat Feb 03, 2018 6:35 am
Forum: Compiler / Linking / IDE Related
Topic: Missing C++ support in Xcode9.2 for MacOS app?
Replies: 15
Views: 2185

Re: Missing C++ support in Xcode9.2 for MacOS app?

Hi, That was a tutorial on how to create a normal Cocoa C++ application inside Xcode. And this is exactly what I followed when I was creating my application under OSX with the libraries. Thank you. Hi I checked the guide. it was for Xcode is 7.2.1, so I did not read it carefully. The eranon's sugge...
by xuboying
Fri Feb 02, 2018 12:23 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing C++ support in Xcode9.2 for MacOS app?
Replies: 15
Views: 2185

Re: Missing C++ support in Xcode9.2 for MacOS app?

Coud code::blocks generate the necessary bundle file to pack a application so it can be run in lancher? My task is to write cross-platform C++ project, it's mainly develop in Windows(Visual Studio) with a little adaption in Mac I can do compile in commandline with wx-config in mac, but no idea of p...
by xuboying
Fri Feb 02, 2018 4:44 am
Forum: Compiler / Linking / IDE Related
Topic: Missing C++ support in Xcode9.2 for MacOS app?
Replies: 15
Views: 2185

Re: Missing C++ support in Xcode9.2 for MacOS app?

ONEEYEMAN wrote:Hi,
Is this instructions work for you?

Thank you.
Looks like a guide of creating a commandline c++ project, this is still supported in Xcode9.
Thans you
by xuboying
Fri Feb 02, 2018 4:43 am
Forum: Compiler / Linking / IDE Related
Topic: Missing C++ support in Xcode9.2 for MacOS app?
Replies: 15
Views: 2185

Re: Missing C++ support in Xcode9.2 for MacOS app?

I'm using Code::Blocks under OS X 10.9 Mavericks (should work in macOS too); just installed the Xcode's command line tools without the IDE. -- EDIT: And in case the most recent Xcode doesn't provide any C++ compiler (don't know), you can install it by yourself. Coud code::blocks generate the necess...
by xuboying
Thu Feb 01, 2018 3:21 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing C++ support in Xcode9.2 for MacOS app?
Replies: 15
Views: 2185

Missing C++ support in Xcode9.2 for MacOS app?

I just fixed all installing issues of wxWidgets 3.1 on MacOS 10.12 and then found out an embarrass thing that xcode9.2 could not create native macOS app using C++ language, it's only supporting ObjectC or Swift. Is it possible to make Xcode supporting C++ or I shall switch to any other IDEs (unfortu...
by xuboying
Fri May 19, 2017 7:39 am
Forum: C++ Development
Topic: No event for wxSocketBase after eventhandler id used for 1024 times
Replies: 1
Views: 570

Re: No event for wxSocketBase after eventhandler id used for 1024 times

I seem found the issue. The wxSocketBase must be Destory or delete to prevent total number > 1024. Thus smart pointer could not be used here. The modification is: std::set is used to hold the wxSocketBase * and when each socket got lost event, it's manually deleted/destored and removed from std::set...
by xuboying
Thu May 18, 2017 10:54 am
Forum: C++ Development
Topic: No event for wxSocketBase after eventhandler id used for 1024 times
Replies: 1
Views: 570

No event for wxSocketBase after eventhandler id used for 1024 times

Hi I made a very light weight "http server" for local machine by using wxSocket modules The server worked perfect for first 1024 request and then stop handling events The each session from client are very short, I do some simple processes in wxwidgets and send back result then shutdown the socket at...
by xuboying
Sun Feb 26, 2017 12:53 pm
Forum: Announcements and Discoveries
Topic: random wxColor
Replies: 0
Views: 1298

random wxColor

Recently I'm working with a plot tool using wx and ported the randomColor js to c++
It's quite easy to let wxColor using the randomColor now

https://github.com/xuboying/randomcolor ... -framework

Have fun.
by xuboying
Sat Feb 18, 2017 4:23 pm
Forum: C++ Development
Topic: How to force wxLogDebug to debugview in Release mode
Replies: 2
Views: 698

Re: How to force wxLogDebug to debugview in Release mode

I think the easiest way would be to just enable compiler optimizations in debug mode, then the code should run at "normal" speed. Under Windows, you could also call OutputDebugString directly. https://msdn.microsoft.com/en-us/library/windows/desktop/aa363362%28v=vs.85%29.aspx good idea of using Out...
by xuboying
Sat Feb 18, 2017 9:18 am
Forum: C++ Development
Topic: How to force wxLogDebug to debugview in Release mode
Replies: 2
Views: 698

How to force wxLogDebug to debugview in Release mode

According to the document, the wxLogDebug can be used to pipe debug log to DebugView or Visual Studio output in Debug mode http://docs.wxwidgets.org/trunk/group__group__funcmacro__log.html#ga9c530ae20eb423744f90874d2c97d02b However I need to force writing the debug messages in Release mode for follo...
by xuboying
Mon Feb 13, 2017 5:47 pm
Forum: C++ Development
Topic: Long scroll window?
Replies: 8
Views: 1257

Re: Long scroll window?

doublemax wrote:Yes. Use a wxScrolledWindow, add a sizer and put all panels into it.
Looks like something I need, Thanks!
by xuboying
Mon Feb 13, 2017 9:16 am
Forum: C++ Development
Topic: Long scroll window?
Replies: 8
Views: 1257

Re: Long scroll window?

doublemax wrote:
Ideally two or three panels can be put on screen together.
In that case the only way i can think of would be to put them all in a boxsizer and hide/show each one manually.
I was imaging a long sizer with scrollbar on the right,
like this webpage https://www.apple.com/iphone/
is it possible?
by xuboying
Mon Feb 13, 2017 8:55 am
Forum: C++ Development
Topic: Long scroll window?
Replies: 8
Views: 1257

Re: Long scroll window?

Only one panel is visible at a time? In that case you could use a wxSimpleBook: http://docs.wxwidgets.org/trunk/classwx_simplebook.html Hi This is one option. Ideally two or three panels can be put on screen together. so User can compare different data, I should even allow user to re-arrange the or...
by xuboying
Mon Feb 13, 2017 7:52 am
Forum: C++ Development
Topic: Long scroll window?
Replies: 8
Views: 1257

Re: Long scroll window?

Can you give an example? How many panels are there (from, to)? What would be their average size? If you're creating something like a thumbnail display, i'd try wxWrapSizer first. Hi doublemax I'm working with mathplot object, my purpose is to draw around 20 panels with mathplot, If I can align the ...