Mac project compilation issues

23 views
Skip to first unread message

Igor Korot

unread,
Oct 2, 2012, 7:45:37 PM10/2/12
to wx-u...@googlegroups.com
Hi, ALL,
I am getting problems building the program on the customer remote machine.
ASAICT, the machine has XCode 4.2.

First I successfully built wxWidgets from the command line.
Next I opened XCode and rebuilt the project.

During the build I am getting a lot of warnings such as:

"Implicit conversion loses integer precision: 'long' to 'wxWindowID'
(aka 'int')"

Does this mean I left out some gcc option when compiled wxWidgets?
An XCode shows the project as 64-bit...

The gcc --version gives:

(GCC) 4.2.1 LLVM.

Thank you.

P.S.: On my home Mac using Snow Leopard and XCode 3 everything was built
correctly out of the box. But I believe it was 32-bit build.

Igor Korot

unread,
Oct 2, 2012, 8:25:52 PM10/2/12
to wx-u...@googlegroups.com
I'm als receiving a lot of "Expected '*' before '*': Exected
unqualified-id before '-' token." errors in the standar Cocoa headers.
Maybe XCode is set to use Objective-C and not Objective-C++?

Just tried to build minimal sample thru the XCode minimal project and
got following error:

"Unsupported compiler GCC 4.2 selected for arhitecture x86_64".

What do I do?

Thank you.
Reply all
Reply to author
Forward
0 new messages