mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
shed more light on compile error
This commit is contained in:
parent
455c9b7f69
commit
d52509675f
@ -1333,7 +1333,7 @@ def CompileAnything(target, inputs, opts, progress = None):
|
|||||||
elif (infile.endswith(".rc") or infile.endswith(".r")):
|
elif (infile.endswith(".rc") or infile.endswith(".r")):
|
||||||
ProgressOutput(progress, "Building resource object", target)
|
ProgressOutput(progress, "Building resource object", target)
|
||||||
return CompileResource(target, infile, opts)
|
return CompileResource(target, infile, opts)
|
||||||
exit("Don't know how to compile: "+target)
|
exit("Don't know how to compile: %s from %s" % (target, inputs))
|
||||||
|
|
||||||
##########################################################################################
|
##########################################################################################
|
||||||
#
|
#
|
||||||
|
@ -1921,6 +1921,8 @@ def CalcLocation(fn, ipath):
|
|||||||
if (fn.endswith(".yxx")): return CxxFindSource(fn, ipath)
|
if (fn.endswith(".yxx")): return CxxFindSource(fn, ipath)
|
||||||
if (fn.endswith(".lxx")): return CxxFindSource(fn, ipath)
|
if (fn.endswith(".lxx")): return CxxFindSource(fn, ipath)
|
||||||
if (fn.endswith(".pdef")):return CxxFindSource(fn, ipath)
|
if (fn.endswith(".pdef")):return CxxFindSource(fn, ipath)
|
||||||
|
if (fn.endswith(".egg")): return OUTPUTDIR+"/models/"+fn
|
||||||
|
if (fn.endswith(".egg.pz")):return OUTPUTDIR+"/models/"+fn
|
||||||
if (sys.platform.startswith("win")):
|
if (sys.platform.startswith("win")):
|
||||||
if (fn.endswith(".def")): return CxxFindSource(fn, ipath)
|
if (fn.endswith(".def")): return CxxFindSource(fn, ipath)
|
||||||
if (fn.endswith(".rc")): return CxxFindSource(fn, ipath)
|
if (fn.endswith(".rc")): return CxxFindSource(fn, ipath)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user