anonym | Anmelden | Neues Konto anmelden | 2021-01-24 11:22 UTC |
Startseite | Übersicht | Probleme anzeigen | Änderungsprotokoll | Roadmap | Dokumentation | Konto |
Einfache Problemansicht anzeigen [ Zu Notizen wechseln ] | [ erweiterte Anzeige ] [ Problem-Historie ] [ Drucken ] | ||||||
ID | Kategorie | Auswirkung | Reproduzierbar | Meldungsdatum | Letzte Aktualisierung | ||
0000101 | [Cadmium] general | schwerer Fehler | immer | 2012-07-26 03:31 | 2013-04-24 13:14 | ||
Reporter | dobesv | Anzeigestatus | öffentlich | ||||
Bearbeitung durch | |||||||
Priorität | normal | Lösung | nicht reproduzierbar | ||||
Status | geschlossen | Produktversion | 1.4 | ||||
Zusammenfassung | 0000101: Cannot link with a library in Windows due to incorrect path splitting algorithm | ||||||
Beschreibung |
When the file path to an ml file uses backslash instead of forward slash OcamlJava doesn't correctly separate the filename from its path. It includes the backslashes in the name and reports an error if that module is later used. Here's the test case: > type lib.ml let x = 5;; > type exe.ml print_int Lib.x;; > C:\Windows\system32\java.exe -Xss8m -jar F:\...\ocamljava-bin-1.4\bin\ocamljava.jar -standalone -c -I %CD% -w yzex -warn-error FDPSU -standalone -o %CD%\lib.cmj %CD%\lib.ml > C:\Windows\system32\java.exe -Xss8m -jar F:\...\ocamljava-bin-1.4\bin\ocamljava.jar -standalone -a -I %CD% -w yzex -warn-error FDPSU -standalone -o %CD%\lib.cmja %CD%\lib.cmj > C:\Windows\system32\java.exe -Xss8m -jar F:\...\ocamljava-bin-1.4\bin\ocamljava.jar -standalone -c -I %CD% -w yzex -warn-error FDPSU -standalone -o %CD%\exe.cmj %CD%\exe.ml File "...\exe.ml", line 1, characters 0-1: Error: Wrong file naming: lib.cmi contains the compiled interface for ...\lib Workaround: Ensure that the last path separator before the file name is a forward slash; this way OcamlJava will correctly split the file name from its parent folder and thus the interface name will match. |
||||||
Zusätzliche Information | |||||||
Tags | Keine Tags zugeordnet. | ||||||
Angehängte Dateien | |||||||
|
Zu diesem Problem gibt es keine Notizen. |
Mantis 1.1.7[^] Copyright © 2000 - 2008 Mantis Group |