Coder Social home page Coder Social logo

Comments (2)

alessandrofama avatar alessandrofama commented on July 19, 2024

More information:
Godot exports both libraries when exporting. It just happens that one library gets overwritten as both debug and release libs share the same name.

Adding the release gdnlib to the export filters fixes this, but is not very user friendly:
grafik

Trying to skip the gdnlib in the build export script does not fix the issue:

	var use_debug = false;

	func _export_begin(features, debug, path, flags):
		var lib_path:String = ProjectSettings.get_setting("autoload/Wwise")
		if lib_path == "*res://wwise/bin/wwise-gdnative-debug.gdns":
			use_debug = true
		if "iOS" in features:		
			# Add missing StoreKit framework for iOS
			add_ios_framework("StoreKit.framework")
			
	func _export_file(path, type, features):
		if use_debug:
			if path == "res://wwise/bin/wwise-gdnative-release.gdnlib":
				skip()
			if path == "res://wwise/bin/wwise-gdnative-release.gdns":
				skip()

Trying to skip the release .dll or .dylib there does not work as _export_file only seems to iterate through resource files.

One solution could involve renaming the libraries to WwiseGDNative-Debug and -Release.

from wwise-godot-integration.

alessandrofama avatar alessandrofama commented on July 19, 2024

Fixed by #24.

from wwise-godot-integration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.