Getting a c++ project compiled to swc using Alchemy

Hi,
I am new to the Alchemy SDK. I was able to go through the sample and create and use swc created from that, but when I wanted to use this for a real project I am having some difficulties.
1. The project is a C++ project with lots of source files in separate folders linking a few libraries (which I dont have any source code for)
     So is this even possible?
2. Do I have to always write a glue file written in C to communicate?
3. If someone can actually post an example with instructions for getting a project (which is a little bit more than HelloWorld ), that would be really helpful.
Thanks for the help in advance,
Chaitanya

Hi paleozogt,
Thanks for the prompt response.
1. So on this I removed the references to libraries to get myself started but I think eventually I need to figure out, how I am going to use external libraries.
2. I couldn;t find a nice example of how to use gluegen (maybe its just have to do with me being new to this stuff, but any help in this, like set of instructions or how tos would be great)
    Yup and I have started creating the object interface for my c++ project.
3. This maybe obvious for someone using command line compiler but I had to use "g++" instead of "gcc" to get it compiled.
Thanks for the help once again,
Chaitanya

Similar Messages

  • [svn:fx-trunk] 13299: fix the _rb swc so that it updates properly when changes happen - update=" true" so that it will compile correctly when using locales

    Revision: 13299
    Revision: 13299
    Author:   [email protected]
    Date:     2010-01-05 19:07:45 -0800 (Tue, 05 Jan 2010)
    Log Message:
    fix the _rb swc so that it updates properly when changes happen - update="true" so that it will compile correctly when using locales
    QE notes: ensure it contains a catalog.xml file, a swf, and a locale directory with properties file
    Doc notes:
    Bugs: https://bugs.adobe.com/jira/browse/SDK-24802
    Reviewer: pete
    Tests run:
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24802
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/build.xml

    I've dropped my guard before with the security and I had so much trouble with my computer because of all the people trying to attack my computer I just can't take the chance again.  www.MySafetyGates.com

  • When publishing a captivate I get the message "Swf compilation failed. Note: Please verify if any of the actionscript keywords is used as user variable name." and it won't allow me to publish the Captivate, can anyone help?

    When publishing a captivate I get the message "Swf compilation failed. Note: Please verify if any of the actionscript keywords is used as user variable name." and it won't allow me to publish the Captivate, can anyone help?

    Hi There,
    Can you tell me the Operating System and Captivate version you are using?
    Also can you confirm if you are getting this issue will this one project or all the projects? Try to copy paste this project on a new blank project and then try to publish.
    Regards,
    Mayank

  • [svn] 2472: remove flex4. swc - should not have been checked in as it gets produced during the compile

    Revision: 2472
    Author: [email protected]
    Date: 2008-07-14 13:21:25 -0700 (Mon, 14 Jul 2008)
    Log Message:
    remove flex4.swc - should not have been checked in as it gets produced during the compile
    remove StyleProperty.vm - it is no longer used
    Removed Paths:
    flex/sdk/trunk/frameworks/libs/flex4.swc
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/StyleProperty.vm

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Getting Compilation error when used SET or MULTISET operator on nested tabl

    Dear All,
    I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
    This is working fine in other DB installations of 10g but does not work in another 10g DB.
    it says "wrong number of parameter or datatype used in SET"
    Can any one suggest what went wrong here?
    Thanks in advance.

    Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
    Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response.

  • I have recently update to the OS Maverik and I use a projector with a mini display port adaptor to my MacBook Air, ever since the only thing that projects is my desktop picture.  I cannot get it to project my school work that I need to teach my students.

    I have recently update to the OS Maverik and I use a projector with a mini display port adaptor to my MacBook Air, ever since the only thing that projects is my desktop picture.  I cannot get it to project my school work that I need to teach my students. Help!

    Hi Becki514,
    Welcome to the Support Communities!
    The following articles may help you with your projector issue:
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    Apple Mini DisplayPort adapters: Frequently asked questions (FAQ)
    http://support.apple.com/kb/ht3382
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display
    http://support.apple.com/kb/ht3131
    I hope this information helps ....
    Have a great day!
    - Judy

  • My daughter is a college student. she needs to write and compile c programs on her mac for a class this semester. what is the best place for her to start to get the correct compiler etc. to use ? thanks

    my daughter is a college student. she needs to write and compile c programs on her mac for a class this semester. what is the best place for her to start to get the correct compiler etc. to use ? thanks

    If you know that you will not be asked to design GUI interfaces, and the C programming course will adhere to command line compilation environments, then get the Xcode command-line developer tools, and skip the extra complication of Xcode until you absolutely need it. Apple has kicked GNU C to the curb and is rightly so, using Clang/LLVM compiler technology.
    Sign up for a free Apple Developer account using your Apple ID, and then visit the Mac Dev Center, and towards the bottom of the page, you will see additional downloads. Click on the associated, all down loads link. Know your OS X version beforehand, as the command-line tool releases are tied to general operating system versions, and the most recent Xcode version.  That said, there are currently two March 9, 2015 command-line tools for Xcode 6.2 — one for OS X 10.9 Mavericks, and the other for OS X Yosemite.

  • Problems using alchemy windows compiling .swc

    Hi there,
    yesterday I installed cygwin and configured alchemy in a correct way. => It worked
    I have some problems setting the path variable but I solved them with adding the directories to the windows path variable => cygwin reads and uses them.
    Today I started my pc and nothing works. There is now error. I tried everything. I run the config script again and it run successfully. But if I try to compile a swc nothing happens. The PC works for a while and then I can again type a new command line. Now error, now success report AND no swc file.
    Can anybody help me, please?

    I've encountered a similar problem in the past.  I found that if I entered the "alc-on" command and then displayed the path "echo $PATH" I had 2 entries for the $ALCHEMY_HOME/ahacks directory in the path. Removing one of those entries fixed the problem.
    To ensure I used the correct gcc/g++ after entering "alc-on" I choose to omit the $ALCHEMY_HOME/ahacks path addition described in the instructions.  I suspect my solution may not be the best.  I haven't investigated too deeply why this worked but it did fix the exact problem you are describing.

  • Flash limitations, Invisible Compiler Errors, swc files...

    This question is for expert users of Flash CS4/CS5 and actionscript.   Please do not comment or offer suggestions if you have no experience  with these errors or their causes.
    ===================================================
    Question:
    =======
    Publishing  an extremely complex file can sometimes result in a blank swf being  created, and no compiler errors being shown even though some may exist.   Are there any suggested methods for dealing with this?
    =======
    Details:
    =======
    Those who have written flash files with large actionscript components  will be familiar with needing to set the JAVA_TOOL_OPTIONS evinronment  variable in order to prevent the Flash compiler from crashing due to  memory limits.  The majority of the files in question require this as a  bare minimum in order to be compiled at all.
    The project in question involves several main "launcher" components,  in addition to hundreds of "modules".  The modules themselves are being  developed in a distributed manner by several programmers.  Each module  can be executed as a standalone swf, for testing and production  purposes.  Each module has a companion swc file which holds its assets  and exports them.  All of the modules make use of a shared custom code  library that sits on top of actionscript.
    The launcher program also uses the shared library code, and runs the  modules  (never more than one at a time, and clearing previously loaded ones  before loading a new one) inside of itself.  The launcher contains a  reference file(the class names typed in an include file, referencing all  of the available exported assets from the swcs) that makes all the  necessary assets available to the modules, such that any module can be  run at any time.
    ===========
    The Error:
    ===========
    Seemingly random in occurence, every now and then a file will  "compile blank".  Essentially, the compile time is very short, the swf  pops up as a blank white box, and there is absolutely nothing listed in  the "Compiler Errors" tab, nor in the output tab.  Sometimes closing  flash and relaunching it will bring the Compiler Error messages back,  though usually not.  More often opening the file on another computer in a  different copy of flash and compiling it again will show the errors.   The original computer will still not show anything, but the other  computer can be used to fix the error, and then the file will start  reporting errors again properly.
    However, sometimes, the file will "compile blank" on all computers,  and all copies of flash.  Then the only resort to find the hidden errors  and fix them, is to comment out the entire file, and slowly uncomment  out sections one at a time.  In this manner, the area where the hidden  errors are occuring can be determined, and the error found manually.
    Obviously this is an extremely frustrating situation, but one that can be "worked around".
    However, there are two more serious incarnations of this which cannot be as easily side stepped.
    1.) Sometimes certain computers/copies of flash will "compile blank" a  file that doesnt actually have errors in it.  The same file will  compile and work perfectly on one machine, and not on another.
    2.) The most severe of all...The two more complex components compile fine in cs4, but always "compile blank"  on cs5, no matter what.  The module files all compile much faster on  cs5 and work great.  However, the shared code library and the launcher  program cannot be compiled in cs5, though they compile fine in cs4.   Both compile blank every single time on cs5, with no errors reported.
    --Just as a side note here are the compile times on two different  types of computers, for cs4 and cs5, for the three types of compiled  files:
    =====================
    CS4 Compile time averages:
    =====================
    Dual Core - Pentium 4:
            Module File = 1-4 minutes
            Shared Code Library = 10+ minutes
            Launcher Program = Unusable
    6 Core AMD w 16 GBs of RAM:
             Module File = less than 10 seconds
             Shared Code Library = approx. 1 minute
             Launcher Program = 15-25 minutes
    =====================
    CS5 Compile time averages:
    =====================
    Dual Core - Pentium 4:
            Module File = less than 20 seconds
            Shared Code Library = 2-4 minutes
            Launcher Program = Compiles blank
    6 Core AMD w 16 GBs of RAM:
             Module File = less than 10 seconds
             Shared Code Library = less than 30 seconds
             Launcher Program = Compiles blank
    ========================================
    Summary:
    ========================================
    1.) Large and complex files in cs4 or cs5 can sometimes false compile, showing a blank swf, and no errors.
    2.) Large interlinked projects containing many swcs that can compile on cs4 always compile blank on cs5
    The issues involved "appear" to deal with interlinked swcs and swfs, memory, and compiler messages.
    The best solution i can think of would be some sort of verbose mode  setting, where the cs4/cs5 compilers can be set to trace all the actions  they are taking, either to a log file, or to the screen.  Rather than  simply giving a summary of the results, a real-time display of what is  occuring might lead to the actual bugs/issues.
    Eisley79

    For the future people who come searching this forum and find my thread.
    http://kb2.adobe.com/cps/405/kb405257.html
    Above is a link to adobe's official version of admitting this situation exists(and its true for cs5 as well).
    If you are reading this, and simply have a single large file that won't compile.  Attempt their solutions suggested.  Also, click the link in the comments by the user refering to a blog that helped him.
    That will explain the JAVA_TOOL_OPTIONS memory issue (which you can find many explanations on google as well).
    If however, you are working with a large number of separate swf's that load each other, and share assets and are getting the REAL problem, neither adobe's solutions, nor the JAVA_TOOL_OPTIONS will correct the problem for you.  My best suggestion to you is, have one SWF launch the next one, and break your project into pieces.  Whatever the parent SWF needed to have, can be either copied into all the children SWFs, or into several "brother" SWFs which share the loaded children SWFs, (and can actually be successfully compiled).  Then as you move from brother to brother, they can be made to appear as if they were actually ONE file, loading the children, instead of several launching each other, and sharing the loading duties.
    and as far as adobe is concerned, if i told you what i thought of you, i would get this post deleted...and myself banned.
    Anyone considering doing Enterprise level projects in Flash, DONT.  I wanted to use JAVA, but my company went with flash.  I am stuck working around it constantly, and would have been better off coding foundation classes to mimic whatever functionality we needed from flash into java.
    Maybe when actionscript 4 comes along, it will magically bring with it true object oriented programming, and Adobe will spend the time and money to make a real working compiler.  Somehow i doubt it.

  • How to include a SWC using custom Console?

    Currently, it appears as if it is not possible to include an external SWC for use in a custom Console implementation.
    For instance, assume that I have a SWC: Foo.swc that contains the class
    com.test::Foo
    I also have a custom com.adobe.flascc.Console implementation which imports and uses com.test.Foo from the Foo.swc library.
    I've managed to get my SWF to compile without a problem, but I get the following run-time error:
    VerifyError: Error #1014: Class com.test::Foo could not be found.
    Here's how I've setup the compile:
    CCC:=$(FLASCC)/usr/bin/g++
    Console.abc:
              $(ASC) -merge -md -abcfuture -AS3 -optimize -strict \
                        -import $(call nativepath,$(FLASCC)/usr/lib/builtin.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/playerglobal.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/BinaryData.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/ISpecialFile.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/IBackingStore.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/IVFS.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/InMemoryBackingStore.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/PlayerKernel.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/CModule.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/C_Run.abc) \
                        -li $(call nativepath,./aslibs/Foo.swc) \
                        -le $(call nativepath,./aslibs/framework.swc) \
                            Console.as -outdir . -out Console
    test.swf: Console.abc
              $(CCC) -jvmopt=$(JVMARGS) -Wall -g -O0 -fno-exceptions -o test.swf \
                        main.cpp \
                        -lAS3++ \
                        -fllvm-llc-opt=-ascopt=-li \
                        -fllvm-llc-opt=-ascopt=$(call nativepath,./aslibs/Foo.swc) \
                        -fllvm-llc-opt=-ascopt=-le \
                        -fllvm-llc-opt=-ascopt=$(call nativepath,./aslibs/framework.swc) \
                        -symbol-abc=Console.abc \
                        -emit-swf \
                        -swf-size=800x600
    I've also attempted adding -no-swf-preloader assuming that the problem was linkage in the first frame, but this did not work either.
    If I only use asc2.jar to generate a SWF (using the -li and -le options), it works, but I need access to the libraries via flascc Console.
    Any ideas?
    Regards,
    Matt Bolt

    Thanks for the response and the suggested work-around! This solution worked exactly as you described and was precisely the result I was looking for.
    --- Some Follow Up Ranting and Questions ---
    Was the behavior I mentioned in my previous post a bug? It seems like the issue may be due to the following:
    * Compiling .as to .abc referencing a swc will simply refer to the contents of the swc to resolve external references and there's nothing in the abc itself referring to the external library (Could be way off here).
    * Compiling .as to .swf will resolve fully.
    * Because we compile Console to abc first, we lose the ability to resolve external references before going to SWF.
    If the above statements are correct, then -li and -le behave identically when compiling to .abc, and the behavior mentioned in my previous post would make sense.
    What is strange to me is that the ASC provides a way to compile to .abc but no way to link .abc and output a swf. Perhaps it's because of the loss of data that occurs (full resolution tracks dependencies in memory).
    I'm not sure that what I'm claiming is even remotely close to the truth, but it seems accurate based on my observations. If anyone knows for sure, please feel free to set me straight.

  • Mxml components not compiled into swc?

    Hi, I am using Flash Builder(Flex 4) and i am having issues compiling mxml components into swc.
    My scenario:
    I created Flex Library project, added some mxml components and actionsript classes.
    I created separate Flex project and added swc file to project's library path.
    I can only import actionscript classes from my library.
    ActionScript classes are compiled and bundled in the swc as expected, but all mxml components are not compiled into the swc.
    Do you have the same issues compiling mxml components?
    I am using Flash Builder Version 4.0 (build 253292).

    My team occasionally sees issues with missing classes in a similar setup, although I can't confirm that it has been limited to MXML (and no one has been able to reliably reproduce).
    I suspect our problem is the "includeAllClasses" property in .flexLibProperties (Project->Properties->Flex Library Build Path->Classes->Include all classes from all source paths)--it seems to not reliably compile in newly added classes.  Our workaround right now is to instead click "Select classes to include in the library" and toggle our source directory every time classes are added, at least until we script our own build tasks.  Looking through Jira I see this is a common issue: https://bugs.adobe.com/jira/browse/FB-23514 (and a few others).
    Hope this helps,

  • Can't get DECLARE/BEGIN to compile

    I'm working on a project for my systems analysis class, which involves creating a few tables and printing out information from them. Our teacher has taught us nothing of use for this project so I have been winging it thus far. Any way, I have tried to get one of his sample snippets to compile under the worksheet view in Oracle SQL Developer:
    DECLARE
    n number;
    BEGIN
    n:=50;
    dbms_output.Put_Line('The value of n is ' || n);
    END;
    However, when I try to run it I get the following error: Incorrect syntax near the keyword 'DECLARE'. I tried writing the most simple thing I could think of:
    BEGIN
    dbms_output.Put_Line('the value of n is 20');
    END;
    But I receive a similar error: Incorrect syntax near the keyword 'BEGIN'. I've been able to get normal SQL table queries to work just fine, so my question is what am I doing wrong here?

    711e6c4c-dd5d-4fc9-89db-c486c4c7e47b wrote:
    I'm working on a project for my systems analysis class, which involves creating a few tables and printing out information from them.
    The very first thing you should understand is basic Oracle client-server architecture. How do you get data from the server to the client - in a way that is standard, performant, flexible and scalable.
    And DBMS_OUTPUT is the wrong choice for that. It does not print or display data. It is server code. It is not capable of hacking across the network and displaying data on the client's device/application.
    DBMS_OUTPUT is a very primitive debugging/tracing interface. The package has a buffer (array that resides in very expensive server memory). A put_line() call places that string into this buffer.
    When a client has completed a call (like your server call where you send an anonymous PL/SQL block to Oracle), the client can make a 2nd server call - and request DBMS_OUTPUT to send the current buffer content to the client. This client behaviour (making this hidden/transparent 2nd server call) is usually governed on the client by a setting called SERVER OUTPUT. The client receives the buffer. The client displays this buffer.
    Using DBMS_OUTPUT to send data to the client is, bluntly put, IDIOTIC. This is not what DBMS_OUTPUT is designed to do. In fact, using it in this fashion can exhaust server memory and cause the server o/s to reboot due to swap space trashing.
    The CORRECT way is for the client to use a cursor to transport data from the server, to the client.
    There are 2 basic choices. The client deals with the cursor creation (it needs to construct the SQL source, using variable binding, etc). Or the client calls PL/SQL that does this for the client - and returns a handle to the cursor created to the client for use.
    The latter method is preferred. As the client does not need to understand the data model, SQL, database specific SQL syntax, and so on. Instead the client calls PL/SQL code and this code abstracts all that complexities from the client. The client gets a cursor handle in return and uses it to process the cursor's output.
    Here is a basic example, with SQL*Plus as the client:
    SQL> --  client defines a cursor variable to receive
    SQL> -- the cursor handle from PL/SQL
    SQL> var c refcursor
    SQL>
    SQL>
    SQL> -- client makes a PL/SQL call, where the PL/SQL
    SQL> -- code creates the cursor
    SQL> declare
      2          cur     sys_refcursor;  -- pl/sql cursor variable
      3  begin
      4          -- code creates the cursor
      5          open cur for
      6                  select 'Today is '||to_char(sysdate,'Day') as INFO from dual;
      7 
      8          -- code passes cursor handle to client
      9          :c := cur;
    10  end;
    11  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> -- client has now received the cursor handle and
    SQL> -- can use it for fetching and displaying data
    SQL> print c
    INFO
    Today is Friday
    SQL>
    This is how one passes data from server to client - correctly.
    DBMS_OUTPUT is for storing limited and basic trace and debug text messages. It is not a transport interface for sending server data to the client.

  • What project preset do I use? AVCHD and DSLR footage being used in same sequence

    I am using a Canon DSLR T3i and Panasonic HC-X920. They can both shoot native 24p which is how I will be recording. When I set up my CS6, what project settings should I use? I want to mix the two sources on the same time line so I'm confused on how to do this because on the sequence settings I can only choose either AVCHD or DSLR. I want to do simultaneous multi-camera editing on the same timeline. So its not like I can set up two different sequences with different settings because I want to be able to cut back and forth within the same sequence while using both cameras.  (problem is... two different types of footage ).
    Thank you - Mark

    Thank you so much for your input. Yes, I should have been more specific when it comes to the frame rate; it is indeed 23.976 for the T3i as well as the Panasonic. I have mixed T3i footage recorded at 23.976fps and then tried to mix in a Canon hf-M41 (avchd) camcorder which records in 60i "supposedly". Although Premiere says it is 29.97 when I bring it into the editor. Anyways when I would mix these two formats it looked like crap. The preset was set up for the DSLR and the hf-M41 played like it was in slow motion even upon rendering and exporting. I would get the red line above my M-41 footage because it didn't match the preset settings. I would then render it thinking it would look right but...nope. I just bought the Panasonic HC-X920 today from BandH, it has a 30 day return policy so I will see how the T3i and Panasonic work together within Premiere. I purchased the Panasonic because the Canon M-41 footage looked so crappy when it was mixed with the T3i in the timeline(because of the different fps and interlacing). I used the Adobe Media Encoder but I got the same results of crappy slow motion jittery footage from the M-41 when I tried to convert it to a 23.976fps .MOV file. Since the Panasonic shoots native 23.976, the two "should" work better together. My only concern is the difference in codecs because the frame rate should be identical. I don't want to get that red render bar when I bring the Panasonic footage into the time that was set up for a DSLR  or vice versa. If I do I'm afraid of the obtaing the slow motion effect again. I must have the auto focus from a camcorder when I'm shooting on a jib or other tough moving shots like a steadicam.

  • Why am I getting the message "project could not be prepared because an error occurred. (File already open with write permission)" when trying to share my imovie to media browser?

    Why am I getting the message "Project could not be prepared because an error occurred. (File already open with write permission.) when trying to
    share to the media browser?   I have done this many times before and never got this message.  This is very frustrating.  Can anyone help me?

    Hi
    Error -49 opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    Easiest way to find out if this is the problem is by:
    • Create a new User-Account
    • Log out of Your old one and into this
    • Re-try iMovie
    If it now works OK - then 99.9% the problem is iMovie pref. file that needs to be trashed.
    from Karsten Schlüter
    Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
    This issue occurs only on MacOs machines using 10.7x
    try switching-off the Local Mobile Backup
    in Terminal copy/paste
    sudo tmutil disablelocal
    Re-launch Mac
    Yours Bengt W

  • Compile errors when using stlport4

    Hi,
    I have a large code that I am compiling using SunStudio12 and stlport4 (that comes with the compiler).
    It has other libraries (ACE, boost, in-house libs) that we link it with. All of these libs were built using the SunStudio12 and stlport4. When I am linking with my program, I get the following errors. Can you pls explain why?
    Linking CXX executable AgoraConnectionTest
    cd /home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/Tests/AgoraConnectionTest && /home/sherugu1/cmake-2.6.2-SunOS-sparc/bin/cmake -E cmake_link_script CMakeFiles/AgoraConnectionTest.dir/link.txt --verbose=1
    /home/cdev/SunStudio12/SUNWspro/prod/bin/CC -g -KPIC -m32 CMakeFiles/AgoraConnectionTest.dir/AgoraConnectionTest.cpp.o CMakeFiles/AgoraConnectionTest.dir/TISTest.cpp.o CMakeFiles/AgoraConnectionTest.dir/TSSTest.cpp.o CMakeFiles/AgoraConnectionTest.dir/process_response.cpp.o -o AgoraConnectionTest -L/home/cdev/pkgs/boost_1_36_0_other/Sol10_Sparc_SS12_STLPort4_32bit/lib -L/home/cdev/csfb/gmr/10.0.1/gmr/solaris10_32bit_SS12/lib -L/home/cdev/pkgs/ace/ACE-5.6-Solaris10_SS12/ACE_Wrappers/lib -L/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/api/ems/solaris10_32bit_SS12/lib -L/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/api/solaris10_32bit_SS12/lib -L/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/Cadre/solaris10_32bit_SS12/lib -L/home/cdev/pkgs/ems/solaris/4.4.1/clients/c/lib -L/home/cdev/SunStudio12/SUNWspro/prod/lib/stlport4 -Bstatic -lapiD -lNOTIFg -Bdynamic -lACE -Bstatic -lcadreD -ltibems -Bdynamic -lboost_unit_test_framework-sw-mt-1_36 -lboost_date_time-sw-mt-1_36 -lboost_thread-sw-mt-1_36 -lstlport -R/home/cdev/pkgs/boost_1_36_0_other/Sol10_Sparc_SS12_STLPort4_32bit/lib:/home/cdev/csfb/gmr/10.0.1/gmr/solaris10_32bit_SS12/lib:/home/cdev/pkgs/ace/ACE-5.6-Solaris10_SS12/ACE_Wrappers/lib:/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/api/ems/solaris10_32bit_SS12/lib:/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/api/solaris10_32bit_SS12/lib:/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/Cadre/solaris10_32bit_SS12/lib:/home/cdev/pkgs/ems/solaris/4.4.1/clients/c/lib:/home/cdev/SunStudio12/SUNWspro/prod/lib/stlport4
    ld: warning: symbol `std::locale::facet::__vtbl' has differing sizes:
    (file /home/cdev/pkgs/boost_1_36_0_other/Sol10_Sparc_SS12_STLPort4_32bit/lib/libboost_date_time-sw-mt-1_36.so value=0x14; file /home/cdev/SunStudio12/SUNWspro/prod/lib/stlport4/libstlport.so value=0xc);
    /home/cdev/pkgs/boost_1_36_0_other/Sol10_Sparc_SS12_STLPort4_32bit/lib/libboost_date_time-sw-mt-1_36.so definition taken
    ld: fatal: symbol `void std::vector<bool>::resize(unsigned,bool)' is multiply-defined:
    (file CMakeFiles/AgoraConnectionTest.dir/process_response.cpp.o type=FUNC; file /home/cdev/SunStudio12/SUNWspro/prod/lib/sparc/libCstd.a(vecbool.o) type=FUNC);
    ld: warning: symbol `std::cout' has differing sizes:
    (file /home/cdev/SunStudio12/SUNWspro/prod/lib/stlport4/libstlport.so value=0x68; file /home/cdev/SunStudio12/SUNWspro/prod/lib/sparc/libCstd.a(ios.o) value=0x60);
    The list of errors goes on like this in multiple places.
    To me, it looks like I am using both stlport and standard STL. How do I tell the linker to use only stlport? Am I missing something?
    CC_FLAGS are: -DSOLARIS -DPOSIX_PTHREAD_SEMANTICS -D_VMT -DT_SUN4_SOLARIS -DUNIX -KPIC -DACE_NDEBUG -D_ACE_56_ -D_REENTR
    ANT -DACE_NDEBUG -D_PTHREADS -mt -library=stlport4
    Pls help!
    Rgds,
    Sreeni

    The links are there, but not pointing to /usr/lib. Yes, I installed the tarball into /home/cdev/SunStudio12 directory. I dont have root privileges to install any other way. To avoid the delay and the paper work it takes to get the SA install the compiler, I just used to tarball since the Sun website said it was OK to do that. Pls advise.
    This is what I have in the directory you mentioned.
    vpns36x-0001:/home/cdev/SunStudio12/SUNWspro/lib>ls -altr *so
    lrwxrwxrwx 1 sherugu1 cdev 14 Dec 4 11:31 libCrun.so -> ./libCrun.so.1
    lrwxrwxrwx 1 sherugu1 cdev 28 Dec 4 11:31 libCstd.so -> ../prod/usr/lib/libCstd.so.1
    lrwxrwxrwx 1 sherugu1 cdev 18 Dec 4 11:31 libiostream.so -> ./libiostream.so.1
    lrwxrwxrwx 1 sherugu1 cdev 24 Dec 4 11:31 debugging.so -> ../prod/lib/debugging.so
    lrwxrwxrwx 1 sherugu1 cdev 34 Dec 4 11:31 rtcaudit.so -> ../prod/lib/dbxruntime/rtcaudit.so
    lrwxrwxrwx 1 sherugu1 cdev 38 Dec 4 11:31 libdbx_agent.so -> ../prod/lib/dbxruntime/libdbx_agent.so
    lrwxrwxrwx 1 sherugu1 cdev 13 Dec 4 11:31 libV77.so -> ./libV77.so.3
    lrwxrwxrwx 1 sherugu1 cdev 19 Dec 4 11:31 libf77compat.so -> ./libf77compat.so.1
    lrwxrwxrwx 1 sherugu1 cdev 13 Dec 4 11:31 libfai.so -> ./libfai.so.3
    lrwxrwxrwx 1 sherugu1 cdev 14 Dec 4 11:31 libfai2.so -> ./libfai2.so.3
    lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfmaxlai.so -> ./libfmaxlai.so.1
    lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfmaxvai.so -> ./libfmaxvai.so.1
    lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfminlai.so -> ./libfminlai.so.1
    lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfminvai.so -> ./libfminvai.so.1
    lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfprodai.so -> ./libfprodai.so.1
    lrwxrwxrwx 1 sherugu1 cdev 13 Dec 4 11:31 libfsu.so -> ./libfsu.so.1
    lrwxrwxrwx 1 sherugu1 cdev 16 Dec 4 11:31 libfsumai.so -> ./libfsumai.so.1
    lrwxrwxrwx 1 sherugu1 cdev 13 Dec 4 11:31 libfui.so -> ./libfui.so.2
    lrwxrwxrwx 1 sherugu1 cdev 12 Dec 4 11:31 libgc.so -> ./libgc.so.1
    lrwxrwxrwx 1 sherugu1 cdev 11 Dec 4 11:31 libm9x.so -> libm9x.so.0
    lrwxrwxrwx 1 sherugu1 cdev 20 Dec 4 11:31 libcollectorAPI.so -> libcollectorAPI.so.1
    lrwxrwxrwx 1 sherugu1 cdev 18 Dec 4 11:31 libfcollector.so -> libcollectorAPI.so
    lrwxrwxrwx 1 sherugu1 cdev 11 Dec 4 11:31 libtha.so -> libtha.so.1
    lrwxrwxrwx 1 sherugu1 cdev 15 Dec 4 11:31 libsunmath.so -> libsunmath.so.1
    lrwxrwxrwx 1 sherugu1 cdev 18 Dec 4 11:31 libdemangle.so -> ./libdemangle.so.1
    Also, the file sizes are different b/n this dir and /usr/lib. Maybe the versions are different?
    vpns36x-0001:/home/cdev/SunStudio12/SUNWspro/lib>ls -altr ../prod/usr/lib/libCstd.so.1
    -rw-r--r-- 1 sherugu1 cdev 1796972 May 3 2007 ../prod/usr/lib/libCstd.so.1
    vpns36x-0001:/home/cdev/SunStudio12/SUNWspro/lib>ls -altr /usr/lib/libCstd.so.1
    -rwxr-xr-x 1 root bin 1907940 Oct 12 2006 /usr/lib/libCstd.so.1

Maybe you are looking for

  • What cable do I need to transfer data direct from my iMac to my macbook pro

    What cable do I need to tranfer data direct from my iMac to my MacBook pro?

  • Font shrinks when exported to PDF, again.

    Post Author: Ron Quest CA Forum: Exporting I recently ported my application from classical asp to asp.net and upgraded Crystal Reports XI to Release 2 (6/4/2007 files).  The KBase c2019491 article resolved the font scaling issue I was having with my

  • Viewing/Syncing PDF and Word Docs?

    I read before I bought my iPhone that it would have support for PDF and Word Docs. How do I view and store these docs? Since I can sync music and movie files, can I sync documents too?

  • AdobePRO bad for the web?

    Ive been using AdobeRGB as my working color profile for a long time. I didnt notice that the default working space for Lightrooms RAW conversions was AdobePRO. Consequently Ive got a bunch of files now with the PRO color space. I didnt notice any dif

  • Dir 11.5 flv h263/mp3 import

    Hello, When I import (Dir 11.5) a flv encoded in h263 and mp3, the member is "empty", duration = 0, no sound, no video. The  #type= #flv is ok.