<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>393</bug_id>
          
          <creation_ts>2010-04-07 14:50:55 +0200</creation_ts>
          <short_desc>Fix Windows Platform ..</short_desc>
          <delta_ts>2010-04-07 20:41:56 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>7cc4bb2a8bcc4c16b6a12826abbd874bf38f9dc1</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>439</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-04-07 14:50:55 +0200</bug_when>
    <thetext>Currently the Windows platform doesn&apos;t pass the junit tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>442</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-04-07 20:41:56 +0200</bug_when>
    <thetext>    Fixed junit test: test1
    
    - Create seperate native libraries to reflect a real world example:
    
        test1 - the library to bind to (no more declaring __stdcall @nn functions)
    
        BindingTest1p1 - the dynamic fixed linkage binding test1p1,
                         references dynamic library test1 at linktime.
    
        BindingTest1p2 - the dynamic runtime linkage binding test1p2,
                         loads dynamic library test1 at runtime.
    
    Generic:
    
    - gluegen-cpptasks-base.xml
    
      - target &apos;gluegen.cpptasks.detect.os&apos;
        Set new property &apos;system.env.library.path&apos;
            DYLD_LIBRARY_PATH (macosx)
            LD_LIBRARY_PATH   (unix)
            PATH              (windows)
    
      - target &apos;gluegen.cpptasks.striplibs&apos;
        Strips the symbols out of the native libraries
        in case c.compiler.debug is false.
        Maybe configured with the properties:
            c.strip.tool, c.strip.args
    
    - Using system.env.library.path in junit call
      to find the test1 library in case of runtime linkage and lookup (test1p2).
    
    - Use gluegen.cpptasks.striplibs for all native libs ..
    
    - Added macosx32 in analogy to macosx64, both defaults to true now
    
    - com.jogamp.common.os.WindowsDynamicLinkerImpl:lookupSymbol()
      - Added lookup for __stdcall @nn (stepping alignment 4, max-args: 12)
        in case no undecorated __cdecl symbol is found.
    
    Fixed Windows platform:
    
    - Use proper path.seperator on Windows.
    - test1.dll needs proper soname inside for fixed linkage (test1p1)
      hence the output name must be test1.dll, not libtest1.so</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>