User forums > Help

compiling with wxWidgets

<< < (2/2)

jdauthre:
Okay progress of sorts, I dont get the error message any more. Using the 'hello world' tutorial, I get the following error message:
++ -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g 'wx-config --cxxflags' -D_FILE_OFFSET_BITS=64 -D__WXMAC__ -D__WXOSX_COCOA__ -D_DWXUSINGDLL -D_WXOSX  -c "/Users/james/Documents/c++/hello world/wx_pch.h" -o wx_pch.h.gch/Debug_wx_pch_h_gch
clang: error: no input files

I made sure the project and files were saved and wx_pch.h certainly exists in that location obviously I am missing something...

oBFusCATed:
Use path without spaces and it will work (rename hello world to something else hello_world for example).

jdauthre:
Sadly that didn't work, Earlier I did attempt to add some global path variables viia terminal, so I will attempt to remove them (will have to find out how!),   any other ideas?

stahta01:

--- Quote from: jdauthre on September 09, 2015, 10:25:11 pm ---Sadly that didn't work, Earlier I did attempt to add some global path variables viia terminal, so I will attempt to remove them (will have to find out how!),   any other ideas?

--- End quote ---

Stop trying to use Precompiled Header with Clang.

Tim S.

Navigation

[0] Message Index

[*] Previous page

Go to full version