Jump to content

OSX 10.8.2 New Project Errors


Recommended Posts

Starting a new project in Xcode, target platform to 10.8, these are my list of warnings, no changes other than letting it upgrade the template from 10.7 which doesn't work on Mountain Lion to 10.8, the sample scene does run, but get 10 issues about directory not found and direct access errors.

 

 

 

CompileC /Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/Demo.build/Debug/Demo.build/Objects-normal/i386/App.o ../../Source/App.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler

cd /Applications/Leadwerks/Projects/Demo/Projects/MacOS

setenv LANG en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch i386 -fmessage-length=0 -std=gnu++11 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DDEBUG -DOPENGL -Dunix -DOS_MACOS -DPLATFORM_MACOS -D_MAC_VER -D_NEWTON_STATIC_LIB -DDARWIN_NO_CARBON -DFT2_BUILD_LIBRARY -D_MACOSX_VER -DDG_THREAD_EMULATION -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/Demo.build/Debug/Demo.build/Demo.debug.hmap -I/Applications/Leadwerks/Projects/Demo/Projects/MacOS/../../include -I/Applications/Leadwerks/Engine/Source/Libraries/freetype-2.4.7/include -I/Applications/Leadwerks/Engine/Source/Libraries/lua-5.1.4 -I/Applications/Leadwerks/Engine/Source/Libraries/tolua++-1.0.93/include -I/Applications/Leadwerks/Engine/Source/Libraries/glew-1.6.0/include -I/Applications/Leadwerks/Engine/Source/Libraries/newtondynamics/coreLibrary_300/source/newton -I/Applications/Leadwerks/Engine/Source/Libraries/newtondynamics/coreLibrary_300/source/physics -I/Applications/Leadwerks/Engine/Source/Libraries/newtondynamics/coreLibrary_300/source/core -I/Applications/Leadwerks/Engine/Source/Libraries/newtondynamics/coreLibrary_300/source/meshUtil -I/Applications/Leadwerks/Engine/Source/Libraries/enet-1.3.1/include -I/Applications/Leadwerks/Engine/Source/Libraries/recastnavigation/DebugUtils/include -I/Applications/Leadwerks/Engine/Source/Libraries/recastnavigation/Detour/include -I/Applications/Leadwerks/Engine/Source/Libraries/recastnavigation/DetourCrowd/include -I/Applications/Leadwerks/Engine/Source/Libraries/recastnavigation/DetourTileCache/include -I/Applications/Leadwerks/Engine/Source/Libraries/recastnavigation/Recast/include -I/Applications/Leadwerks/Engine/Source/Libraries/NewtonDynamics/Packages/dCustomJoints -I/Applications/Leadwerks/Engine/Source/Libraries/NewtonDynamics/Packages/dMath -I/Applications/Leadwerks/Engine/Source/Libraries/NewtonDynamics/Packages/dContainers -I/Applications/Leadwerks/Engine/Source -I/Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/Demo.build/Debug/Demo.build/DerivedSources/i386 -I/Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/Demo.build/Debug/Demo.build/DerivedSources -F/Applications/Leadwerks/Projects/Demo/Projects/MacOS/../.. -include /Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/PrecompiledHeaders/Leadwerks-Prefix-gienbxwbgreiasfneeesjmqntumt/Leadwerks-Prefix.pch -MMD -MT dependencies -MF /Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/Demo.build/Debug/Demo.build/Objects-normal/i386/App.d --serialize-diagnostics /Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/Demo.build/Debug/Demo.build/Objects-normal/i386/App.dia -c /Applications/Leadwerks/Projects/Demo/Projects/MacOS/../../Source/App.cpp -o /Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/Demo.build/Debug/Demo.build/Objects-normal/i386/App.o

 

Ld ../../Demo.debug.app/Contents/MacOS/Demo.debug normal i386

cd /Applications/Leadwerks/Projects/Demo/Projects/MacOS

setenv MACOSX_DEPLOYMENT_TARGET 10.8

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Applications/Leadwerks/Projects/Demo/Projects/MacOS/../.. -L/Applications/Leadwerks/Engine/Source/Libraries/freetype-2.4.7/objs -L/Applications/Leadwerks/Projects/OSXLib/Build/Products/Debug -L/Applications/Leadwerks/Engine/Library/OSX -L/Applications/Leadwerks/Engine/Projects/OSXLib/Build/Products/Debug -L/Applications/Leadwerks/Engine/Projects/OSXLib/Build/Products/Release -L/Applications/Leadwerks/Engine/Projects/OSX/Build/Products/Debug -L/Applications/Leadwerks/Engine/Projects/OSX/Build/Products/Release -L/Applications/Leadwerks/Engine/Projects/MacOS/build/Products/Debug -L/Applications/Leadwerks/Engine/Projects/MacOS/build/Products/Release -L/Applications/Leadwerks/Engine/Library/MacOS/Debug -L/Applications/Leadwerks/Engine/Library/MacOS/Release -F/Applications/Leadwerks/Projects/Demo/Projects/MacOS/../.. -filelist /Users/jbwood/Library/Developer/Xcode/DerivedData/Demo-esvboorohpnccibvjzjlublxmlra/Build/Intermediates/Demo.build/Debug/Demo.build/Objects-normal/i386/Demo.debug.LinkFileList -mmacosx-version-min=10.8 /Applications/Leadwerks/Engine/Library/MacOS/Debug/Leadwerks.a -fobjc-link-runtime -framework Foundation -framework CoreServices -framework OpenGL -framework OpenAL -framework Cocoa -o /Applications/Leadwerks/Projects/Demo/Projects/MacOS/../../Demo.debug.app/Contents/MacOS/Demo.debug

 

ld: warning: directory not found for option '-L/Applications/Leadwerks/Engine/Source/Libraries/freetype-2.4.7/objs'

ld: warning: directory not found for option '-L/Applications/Leadwerks/Projects/OSXLib/Build/Products/Debug'

ld: warning: directory not found for option '-L/Applications/Leadwerks/Engine/Library/OSX'

ld: warning: directory not found for option '-L/Applications/Leadwerks/Engine/Projects/OSXLib/Build/Products/Debug'

ld: warning: directory not found for option '-L/Applications/Leadwerks/Engine/Projects/OSXLib/Build/Products/Release'

ld: warning: directory not found for option '-L/Applications/Leadwerks/Engine/Projects/OSX/Build/Products/Debug'

ld: warning: directory not found for option '-L/Applications/Leadwerks/Engine/Projects/OSX/Build/Products/Release'

ld: warning: directory not found for option '-L/Applications/Leadwerks/Engine/Projects/MacOS/build/Products/Debug'

ld: warning: directory not found for option '-L/Applications/Leadwerks/Engine/Projects/MacOS/build/Products/Release'

ld: warning: direct access in ___cxx_global_var_init1 to global weak symbol Leadwerks::Vec3::~Vec3() means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.

 

Touch ../../Demo.debug.app

cd /Applications/Leadwerks/Projects/Demo/Projects/MacOS

/usr/bin/touch -c /Applications/Leadwerks/Projects/Demo/Projects/MacOS/../../Demo.debug.app
Link to comment
Share on other sites

  • 2 weeks later...

Tested a new CPP and Lua project, with no problems. Unless you can say otherwise, I am going to assume this is already fixed, since it is a rather old report. Please let me know if there is still any problem.

 

 

Link to comment
Share on other sites

I will try again on my MAC tonight, will do a clean download and install and deploy again then try and see if the error is still there, been dealing with Android issues and put the Mac / iPhone / iPad aside.

Link to comment
Share on other sites

Can't publish to MacOS, keeps telling me that the programs .exe is not found, well, on Mac there is no such thing as an EXE that is windows. So the Leadwerks project manager publish for MacOS is looking for a Windows executable of the project, that will never happen on the Mac.

 

I wish there was a way to copy that output window... GRRR

Here is the short of the log:

 

Error: The project executable "Darkness Awaits.exe" was not found.

 

On a new project located:

/Applications/Leadwerks/Projects/Demo

 

Trying to publish that:

Error: The project executable "Demo.exe" was not found.

 

 

I hate to point out the obvious when trying to publish a MacOS program.... but no EXE

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...