[vlc-devel] Cannot build jvlc on windows vista

Lianghwa Jou ljou1 at comcast.net
Sun Jun 1 19:46:22 CEST 2008


Hi,

I am trying the java binding for vlc on windows vista but I can't get it 
to work.  I have followed the instruction on 
http://wiki.videolan.org/Win32CompileCygwinNew to build vlc for windows 
and the player works fine. When I followed instruction on 
http://trac.videolan.org/jvlc/wiki/download to build jvlc, it failed. 
Any help will be appreciated.

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   JVLC
[INFO]   JVLC - Core
[INFO]   JVLC - Samples
[INFO]   JVLC - Client sample
[INFO] 
------------------------------------------------------------------------
[INFO] Building JVLC
[INFO]    task-segment: [install]
[INFO] 
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing c:\development\p2p\vlc\win32\vlc\bindings\java\pom.xml 
to C:\U
sers\ljou\.m2\repository\org\videolan\jvlc-parent\0.9.0-SNAPSHOT\jvlc-parent-0.9
.0-SNAPSHOT.pom
[INFO] 
------------------------------------------------------------------------
[INFO] Building JVLC - Core
[INFO]    task-segment: [install]
[INFO] 
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: 
C:\development\p2p\vlc\win32\vlc\bindings\java
\core\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.videolan.jvlc.internal.MediaListTest
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.156 
sec <<< FA
ILURE!
Running org.videolan.jvlc.MediaListTest
Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.047 
sec <<< FA
ILURE!
Running org.videolan.jvlc.JVLCTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0 sec 
<<< FAILUR
E!
Running org.videolan.jvlc.internal.MediaListPlayerTest
Tests run: 12, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 0.031 
sec <<<
FAILURE!
Running org.videolan.jvlc.internal.LibVlcMediaInstanceTest
Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.016 
sec <<< FA
ILURE!
Running org.videolan.jvlc.VLMTest
Tests run: 24, Failures: 0, Errors: 24, Skipped: 0, Time elapsed: 0.031 
sec <<<
FAILURE!
Running org.videolan.jvlc.internal.LibVlcCoreTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.016 
sec <<< FA
ILURE!
Running org.videolan.jvlc.LoggerTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0 sec 
<<< FAILUR
E!
Running org.videolan.jvlc.internal.MediaDescriptorTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.015 
sec <<< FA
ILURE!

Results :

Tests in error:
  mediaListNew(org.videolan.jvlc.internal.MediaListTest)
  mediaListAddMediaDescriptor(org.videolan.jvlc.internal.MediaListTest)
  mediaListCountTest(org.videolan.jvlc.internal.MediaListTest)
  mediaListEventManagerTest(org.videolan.jvlc.internal.MediaListTest)
  mediaListIndexOfItemTest(org.videolan.jvlc.internal.MediaListTest)
  mediaListRemoveIndexTest(org.videolan.jvlc.internal.MediaListTest)
  mediaListRemoveIndexTest2(org.videolan.jvlc.internal.MediaListTest)
$ http://trac.videolan.org/jvlc/wiki/download
  mediaListAddMedia2(org.videolan.jvlc.MediaListTest)
  mediaListRemoveMedia(org.videolan.jvlc.MediaListTest)
  mediaListRemoveMedia2(org.videolan.jvlc.MediaListTest)
  mediaListRemoveNonExistingMedia(org.videolan.jvlc.MediaListTest)
  
mediaListIndexOfNonExistingMediaDescriptor(org.videolan.jvlc.MediaListTest)
  mediaListGetMediaDesciptorAtInvalidIndex(org.videolan.jvlc.MediaListTest)
  mediaListGetMediaDesciptorAtInvalidIndex2(org.videolan.jvlc.MediaListTest)
  mediaListGetMediaDesciptorAtInvalidIndex3(org.videolan.jvlc.MediaListTest)
  jvlcNew(org.videolan.jvlc.JVLCTest)
  jvlcPlay(org.videolan.jvlc.JVLCTest)
  jvlcRelease(org.videolan.jvlc.JVLCTest)
  mediaListPlayerNewTest(org.videolan.jvlc.internal.MediaListPlayerTest)
  
mediaListPlayerSetMediaListTest(org.videolan.jvlc.internal.MediaListPlayerTest
)
  
mediaListPlayerSetMediaListTest2(org.videolan.jvlc.internal.MediaListPlayerTes
t)
  
mediaListPlayerIsNotPlayingTest(org.videolan.jvlc.internal.MediaListPlayerTest
)
  
mediaListPlayerPlayNoItemTest(org.videolan.jvlc.internal.MediaListPlayerTest)
  
mediaListPlayerPlayItemAtIndex(org.videolan.jvlc.internal.MediaListPlayerTest)

  mediaListPlayerPlayItem(org.videolan.jvlc.internal.MediaListPlayerTest)
  
mediaListPlayerGetStateStopped(org.videolan.jvlc.internal.MediaListPlayerTest)

  mediaLtistPlayerPause(org.videolan.jvlc.internal.MediaListPlayerTest)
  
mediaListPlayerSetMediaInstance(org.videolan.jvlc.internal.MediaListPlayerTest
)
  mediaListPlayerNextNoItems(org.videolan.jvlc.internal.MediaListPlayerTest)
  mediaListPlayerIsPlaying(org.videolan.jvlc.internal.MediaListPlayerTest)
  mediaInstanceNew(org.videolan.jvlc.internal.LibVlcMediaInstanceTest)
  mediaInstancePlayBad(org.videolan.jvlc.internal.LibVlcMediaInstanceTest)
  mediaInstancePlay(org.videolan.jvlc.internal.LibVlcMediaInstanceTest)
  mediaInstancePauseBad(org.videolan.jvlc.internal.LibVlcMediaInstanceTest)
  mediaInstancePause(org.videolan.jvlc.internal.LibVlcMediaInstanceTest)
  
mediaInstanceSetPosition(org.videolan.jvlc.internal.LibVlcMediaInstanceTest)
  mediaInstanceStop(org.videolan.jvlc.internal.LibVlcMediaInstanceTest)
  mediaInstanceStop2(org.videolan.jvlc.internal.LibVlcMediaInstanceTest)
  testVLMInit(org.videolan.jvlc.VLMTest)
  testVLMInit(org.videolan.jvlc.VLMTest)
  testAddBroadcast(org.videolan.jvlc.VLMTest)
  testAddBroadcast(org.videolan.jvlc.VLMTest)
  testShowMedia(org.videolan.jvlc.VLMTest)
  testShowMedia(org.videolan.jvlc.VLMTest)
  testDisableMedia(org.videolan.jvlc.VLMTest)
  testDisableMedia(org.videolan.jvlc.VLMTest)
  testPlayMedia(org.videolan.jvlc.VLMTest)
  testPlayMedia(org.videolan.jvlc.VLMTest)
  testPauseMedia(org.videolan.jvlc.VLMTest)
  testPauseMedia(org.videolan.jvlc.VLMTest)
  testStopMedia(org.videolan.jvlc.VLMTest)
  testStopMedia(org.videolan.jvlc.VLMTest)
  testSeekMedia(org.videolan.jvlc.VLMTest)
  testSeekMedia(org.videolan.jvlc.VLMTest)
  testAddMediaInput(org.videolan.jvlc.VLMTest)
  testAddMediaInput(org.videolan.jvlc.VLMTest)
  testEnableMedia(org.videolan.jvlc.VLMTest)
  testEnableMedia(org.videolan.jvlc.VLMTest)
  testDeleteMedia(org.videolan.jvlc.VLMTest)
  testDeleteMedia(org.videolan.jvlc.VLMTest)
  testMediaLoop(org.videolan.jvlc.VLMTest)
  testMediaLoop(org.videolan.jvlc.VLMTest)
  testNew(org.videolan.jvlc.internal.LibVlcCoreTest)
  testRelease(org.videolan.jvlc.internal.LibVlcCoreTest)
  testLogDebug(org.videolan.jvlc.LoggerTest)
  testLogError(org.videolan.jvlc.LoggerTest)
  mediaDescriptorNew(org.videolan.jvlc.internal.MediaDescriptorTest)
  mediaDescriptorGetMrl(org.videolan.jvlc.internal.MediaDescriptorTest)

Tests run: 69, Failures: 0, Errors: 69, Skipped: 0

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to 
C:\development\p2p\vlc\win32\vlc\bindings\java\core\target\suref
ire-reports for the individual test results.
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Sun Jun 01 10:42:32 PDT 2008
[INFO] Final Memory: 7M/15M
[INFO] 
------------------------------------------------------------------------






More information about the vlc-devel mailing list