Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proof of concept for windows compilation (do not merge) #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

NeitrinoK
Copy link

Environment:
Windows 10
Go 1.18 windows/amd64
MSYS64 (https://www.msys2.org/) with installation make and gcc package

pacman -S make
pacman -S gcc

Do not forget add path to go binary, check with

$ go version
go version go1.18.10 windows/amd64

Result:

$ bin/nocc-server
2023-05-24 01:52:42 INFO nocc-server started
2023-05-24 01:52:43 INFO env: listenAddr 0.0.0.0:43210 ; num cpu 12 ; version v1.2, rev 73b26e5, compiled at 2023-05-23 22:36:47 UTC
2023-05-24 01:53:35 INFO new client clientID eWPbFcXn version Unknown ; nClients 1
2023-05-24 01:53:35 INFO new remotes list 1 clientID eWPbFcXn 127.0.0.1
2023-05-24 01:53:36 ERROR can't create dir /tmp/nocc/cpp/clients/eWPbFcXn/K:\nocc\tests/dt/cmake1/src mkdir /tmp/nocc/cpp/clients/eWPbFcXn/K:: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:36 ERROR can't create dir /tmp/nocc/cpp/clients/eWPbFcXn/K:\nocc\tests mkdir /tmp/nocc/cpp/clients/eWPbFcXn/K:: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:36 INFO started sessionID 1 clientID eWPbFcXn waiting 6 uploads dt/cmake1/src/main.cpp
2023-05-24 01:53:36 ERROR fs uploading->error sessionID 1 /K:\nocc\tests/dt/cmake1/src/all-headers.h open /tmp/nocc/cpp/clients/eWPbFcXn/K:\nocc\tests/dt/cmake1/src/all-headers.h.5577006791947779410: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:36 ERROR fs uploading->error sessionID 1 /K:\nocc\tests/dt/cmake1/src/my-math.h open /tmp/nocc/cpp/clients/eWPbFcXn/K:\nocc\tests/dt/cmake1/src/my-math.h.8674665223082153551: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:36 ERROR fs uploading->error sessionID 1 /K:\nocc\tests/dt/cmake1/src/my-strings.h open /tmp/nocc/cpp/clients/eWPbFcXn/K:\nocc\tests/dt/cmake1/src/my-strings.h.6129484611666145821: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:36 ERROR fs uploading->error sessionID 1 /K:\nocc\tests/dt/cmake1/src/my-warning.h open /tmp/nocc/cpp/clients/eWPbFcXn/K:\nocc\tests/dt/cmake1/src/my-warning.h.4037200794235010051: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:36 ERROR fs uploading->error sessionID 1 /K:\nocc\tests/dt/cmake1/src/empty.h open /tmp/nocc/cpp/clients/eWPbFcXn/K:\nocc\tests/dt/cmake1/src/empty.h.3916589616287113937: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:36 ERROR fs uploading->error sessionID 1 /K:\nocc\tests/dt/cmake1/src/main.cpp open /tmp/nocc/cpp/clients/eWPbFcXn/K:\nocc\tests/dt/cmake1/src/main.cpp.6334824724549167320: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:36 INFO client disconnected clientID eWPbFcXn ; nClients 0
2023-05-24 01:53:36 INFO new client clientID eCjCcWIC version v1.2, rev 73b26e5, compiled at 2023-05-23 22:30:47 UTC ; nClients 1
2023-05-24 01:53:37 INFO new client clientID VbnItEdo version Unknown ; nClients 2
2023-05-24 01:53:37 ERROR can't create dir /tmp/nocc/cpp/clients/VbnItEdo/K:\nocc\tests/dt mkdir /tmp/nocc/cpp/clients/VbnItEdo/K:: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:37 ERROR can't create dir /tmp/nocc/cpp/clients/VbnItEdo/K:\nocc\tests mkdir /tmp/nocc/cpp/clients/VbnItEdo/K:: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:37 INFO started sessionID 1 clientID VbnItEdo waiting 1 uploads dt/path-macro.cpp
2023-05-24 01:53:37 ERROR fs uploading->error sessionID 1 /K:\nocc\tests/dt/path-macro.cpp open /tmp/nocc/cpp/clients/VbnItEdo/K:\nocc\tests/dt/path-macro.cpp.605394647632969758: The filename, directory name, or volume label syntax is incorrect.
2023-05-24 01:53:37 INFO client disconnected clientID VbnItEdo ; nClients 1
2023-05-24 01:53:51 INFO client disconnected clientID eCjCcWIC ; nClients 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant