wxWidget v 3.1.0 compile errors on mac10.12
wxWidget v 3.1.0 compile errors on mac10.12
wx 3.1.0
Mac os 10.12
Xcode is The latest version
configure the Lib like this:
../configure --disable-mediactrl CXXFLAGS="-std=c++1y -stdlib=libc++ -DwxOSX_USE_QTKIT=0 -DwxOSX_USE_AVFOUNDATION=1" OBJCXXFLAGS="-std=c++1y -stdlib=libc++" LDFLAGS="-stdlib=libc++"
but when make I have this error:
cd ../src/stc && ./gen_iface.py
/bin/sh: ./gen_iface.py: Permission denied
make: *** [../include/wx/stc/stc.h] Error 126
anybody had this problem .
the log of configure in the attachment!
best regards!
Mac os 10.12
Xcode is The latest version
configure the Lib like this:
../configure --disable-mediactrl CXXFLAGS="-std=c++1y -stdlib=libc++ -DwxOSX_USE_QTKIT=0 -DwxOSX_USE_AVFOUNDATION=1" OBJCXXFLAGS="-std=c++1y -stdlib=libc++" LDFLAGS="-stdlib=libc++"
but when make I have this error:
cd ../src/stc && ./gen_iface.py
/bin/sh: ./gen_iface.py: Permission denied
make: *** [../include/wx/stc/stc.h] Error 126
anybody had this problem .
the log of configure in the attachment!
best regards!
- Attachments
-
- config7.txt
- (191.78 KiB) Downloaded 134 times
Thanks
Best Regards
Ellan
Best Regards
Ellan
Re: wxWidget v 3.1.0 compile errors on mac10.12
Hi,
What is "CXXFLAGS="-std=c++1y"? Why not use "CXXFLAGS="-std=c++11"?
Also, look at the output of: "configure --help".
Thank you.
What is "CXXFLAGS="-std=c++1y"? Why not use "CXXFLAGS="-std=c++11"?
Also, look at the output of: "configure --help".
Thank you.
Re: wxWidget v 3.1.0 compile errors on mac10.12
What version is meant by "Xcode is The latest version"?
NOTE: I do know what the latest version is; but, I have no idea what version the OP really has.
Tim S.
NOTE: I do know what the latest version is; but, I have no idea what version the OP really has.
Tim S.
Re: wxWidget v 3.1.0 compile errors on mac10.12
use CXXFLAGS="-std=c++11" Is still an errorONEEYEMAN wrote:Hi,
What is "CXXFLAGS="-std=c++1y"? Why not use "CXXFLAGS="-std=c++11"?
Also, look at the output of: "configure --help".
Thank you.
Thanks
Best Regards
Ellan
Best Regards
Ellan
Re: wxWidget v 3.1.0 compile errors on mac10.12
use "brew install wxWidgets" I have successfully installed it!but the wxMac version is 3.0.2,stahta01 wrote:What version is meant by "Xcode is The latest version"?
NOTE: I do know what the latest version is; but, I have no idea what version the OP really has.
Tim S.
I want to compile wxMac-3.1.0
Thank you.
Thanks
Best Regards
Ellan
Best Regards
Ellan
Re: wxWidget v 3.1.0 compile errors on mac10.12
I have the same error.. this is user Permission issue right ? even with 'sudo' still can't build
Thank you,
sudo sh ../configure --with-osx_cocoa --with-cocoa --disable-shared --enable-unicode --enable-utf8 --enable-utf8only --disable-monolithic --disable-debug --disable-debug_flag --disable-debug_gdb CFLAGS="-m64 -arch x86_64 -Os" CXXFLAGS="-m64 -arch x86_64 -Os -std=c++11 -stdlib=libc++" LDFLAGS="-m64 -arch x86_64 -Os" OBJCFLAGS="-m64 -arch x86_64 -Os" OBJCXXFLAGS="-m64 -arch x86_64 -Os -std=c++11 -stdlib=libc++" CC="clang" CXX="clang++" --enable-shared=no --disable-universal_binary
CHMOD : chmod +x ...gen_iface.pycd ../src/stc && ./gen_iface.py
/bin/sh: ./gen_iface.py: Permission denied
make: *** [../include/wx/stc/stc.h] Error 126
Any help please ?env: python\r: No such file or directory
Thank you,
Debian 9 - GCC 6 - wxWidgets 3.x U
Win 10 - GCC 8 - wxWidgets 3.x U
Mac OS X 10.x - Clang - wxWidgets 3.x U
i am in love with WX. Yes.
Win 10 - GCC 8 - wxWidgets 3.x U
Mac OS X 10.x - Clang - wxWidgets 3.x U
i am in love with WX. Yes.
Re: wxWidget v 3.1.0 compile errors on mac10.12
Hi,
You shouldn't use sudo for configure or make.
Also no chmod is required for building.
Please do just this:
And post any errors you encountered during this process.
Also, mention what is the OSX/GTK+ version you have on the machine.
And finally - why do you need to run "gen_iface.py"? Is there a reason?
Thank you.
You shouldn't use sudo for configure or make.
Also no chmod is required for building.
Please do just this:
Code: Select all
../configure <set_of_options>
make
Also, mention what is the OSX/GTK+ version you have on the machine.
And finally - why do you need to run "gen_iface.py"? Is there a reason?
Thank you.
Re: wxWidget v 3.1.0 compile errors on mac10.12
without sudo, you get permission denied in some ways, and chmod is needed to make python script executable to give configure ability to run it
gen_iface.py, and gen_docs.py is a part of scintilla in wxWidgets, it generate .h files and docs
i thing the '\r' is an end line problem, i fix it by re-writing the file by text editor, but i get **** unknown line type !
building wxWidgets in Mac, is harder than Linux and Windows
gen_iface.py, and gen_docs.py is a part of scintilla in wxWidgets, it generate .h files and docs
i thing the '\r' is an end line problem, i fix it by re-writing the file by text editor, but i get **** unknown line type !
building wxWidgets in Mac, is harder than Linux and Windows
Debian 9 - GCC 6 - wxWidgets 3.x U
Win 10 - GCC 8 - wxWidgets 3.x U
Mac OS X 10.x - Clang - wxWidgets 3.x U
i am in love with WX. Yes.
Win 10 - GCC 8 - wxWidgets 3.x U
Mac OS X 10.x - Clang - wxWidgets 3.x U
i am in love with WX. Yes.
Re: wxWidget v 3.1.0 compile errors on mac10.12
Hi
I don't know- I built it successfully on OSX.
And I didn't need to run anything extra.- just ../configure && make.
Of course I had to supply minimal osx version to configure and debug configuration if build in debug mode.
But I never had to run anything else.
Moreover I think those scripts are for core devs..
Thank you.
I don't know- I built it successfully on OSX.
And I didn't need to run anything extra.- just ../configure && make.
Of course I had to supply minimal osx version to configure and debug configuration if build in debug mode.
But I never had to run anything else.
Moreover I think those scripts are for core devs..
Thank you.
Re: wxWidget v 3.1.0 compile errors on mac10.12
finally i build it ^_^
Thank you,
Thank you,
Debian 9 - GCC 6 - wxWidgets 3.x U
Win 10 - GCC 8 - wxWidgets 3.x U
Mac OS X 10.x - Clang - wxWidgets 3.x U
i am in love with WX. Yes.
Win 10 - GCC 8 - wxWidgets 3.x U
Mac OS X 10.x - Clang - wxWidgets 3.x U
i am in love with WX. Yes.
Re: wxWidget v 3.1.0 compile errors on mac10.12
What did you change? I've got the same problem now. I've tried saving gen_iface.py with a text editor, but I still get the same errors.
Re: wxWidget v 3.1.0 compile errors on mac10.12
I've managed to get mine to build.
The original problem was that I copied the wxWidgets source from a Windows machine to the Mac. If I checkout the wxWidgets source directly to the Mac, it builds without any problems.
The original problem was that I copied the wxWidgets source from a Windows machine to the Mac. If I checkout the wxWidgets source directly to the Mac, it builds without any problems.