• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Gunder · Oct 13, 2010 at 03:24 PM · monocairo

Using Mono.Cairo on the standalon version ( Pro and if possible Indy )

Hi,

I'm using the package Mono.Cairo Unity3D the Editor and it works perfectly, but when you export a stand alone version fails. I'm using Unity 3.0 Pro and this is my test:

I'm using Unity 3.0 Pro and that is my easy test:

using UnityEngine; using System; using Cairo;

public class TestCairo { public static void doTest() { try { new ImageSurface( Cairo.Format.ARGB32, 256, 256); }catch(Exception e){ Debug.Log("Cairo Exception " + e); } } }

In Editor works fine, but if i get a standalone version for windows i get this error on my output_log:

Cairo Exception System.EntryPointNotFoundException: cairo_image_surface_create at (wrapper managed-to-native) Cairo.NativeMethods:cairo_image_surface_create (Cairo.Format,int,int)

at Cairo.ImageSurface..ctor (Format format, Int32 width, Int32 height) [0x00000] in <filename unknown>:0

at TestCairo.test () [0x00000] in <filename unknown>:0 UnityEngine.Debug:Internal_Log(Int32, String, Object) UnityEngine.Debug:Log(Object)

Thanks.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ray-Pendergraph · Oct 13, 2010 at 04:05 PM 0
Share

How and when does it fail? $$anonymous$$aybe you could paste the build output or editor logs or anything at all you can see to help readers diagnose the issue. Does it fail while building or when it's executed?

avatar image Gunder · Oct 14, 2010 at 07:14 AM 0
Share

Look at my extended info, thanks!!!

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Mono.Cairo On Android 0 Answers

Will installing a newer mono version break Unity's mono installation ? (OSX) 2 Answers

Where is the Mono C# compiler for Unity iPhone? 1 Answer

Standalone windows build giving mono: dll not found error 2 Answers

mono develop error 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges