Adamcake / Bolt

An alternative launcher for your favourite MMO
GNU Affero General Public License v3.0
162 stars 23 forks source link

Error logging in on a windows build #62

Closed umer-rs closed 1 month ago

umer-rs commented 1 month ago

This is the only error the launcher gives:

Error: from https://auth.jagex.com/game-session/v1/sessions: 0:

Adamcake commented 1 month ago

Probably an issue that was already fixed in 331f79a69d146a50a8c5e380ad536a2851335eca (and a few subsequent commits). What commit is your build from?

On Thu, 15 Aug 2024, 15:17 umer-rs, @.***> wrote:

This is the only error the launcher gives:

Error: from https://auth.jagex.com/game-session/v1/sessions: 0:

— Reply to this email directly, view it on GitHub https://github.com/Adamcake/Bolt/issues/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHG6BIFZA4NMD7DCLSN6CFDZRS2BHAVCNFSM6AAAAABMSJIL72VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3DQMJUGA2DKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

umer-rs commented 1 month ago

Oh, it seems like me trying to build on the latest commit didn't succeed.

ipc_posix.obj : error LNK2019: unresolved external symbol __imp_recv referenced in function _bolt_ipc_receive [C:\Users\umer\Documents\Bolt\build\bolt.vcxproj]
ipc_posix.obj : error LNK2019: unresolved external symbol __imp_send referenced in function _bolt_ipc_send [C:\Users\umer\Documents\Bolt\build\bolt.vcxproj]
ipc_posix.obj : error LNK2019: unresolved external symbol __imp_WSAPoll referenced in function _bolt_ipc_poll [C:\Users\umer\Documents\Bolt\build\bolt.vcxproj]
C:\Users\umer\Documents\Bolt\build\Release\bolt.exe : fatal error LNK1120: 3 unresolved externals [C:\Users\umer\Documents\Bolt\build\bolt.vcxproj]
Adamcake commented 1 month ago

Are you trying to build with plugins or without? (in other words, did you set BOLT_LUAJIT_DIR or BOLT_SKIP_LIBRARIES)

It looks like I accidentally included ipc_posix.c even if not using plugins, that doesn't quite exactly explain your error though.

On Thu, 15 Aug 2024, 16:16 umer-rs, @.***> wrote:

Oh, it seems like me trying to build on the latest commit didn't succeed.

ipc_posix.obj : error LNK2019: unresolved external symbol imp_recv referenced in function _bolt_ipc_receive [C:\Users\umer\Documents\Bolt\build\bolt.vcxproj] ipc_posix.obj : error LNK2019: unresolved external symbol __imp_send referenced in function _bolt_ipc_send [C:\Users\umer\Documents\Bolt\build\bolt.vcxproj] ipc_posix.obj : error LNK2019: unresolved external symbol imp_WSAPoll referenced in function _bolt_ipc_poll [C:\Users\umer\Documents\Bolt\build\bolt.vcxproj] C:\Users\umer\Documents\Bolt\build\Release\bolt.exe : fatal error LNK1120: 3 unresolved externals [C:\Users\umer\Documents\Bolt\build\bolt.vcxproj]

— Reply to this email directly, view it on GitHub https://github.com/Adamcake/Bolt/issues/62#issuecomment-2291501932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHG6BIHHMSV6CBMGXQAMXXTZRTA4FAVCNFSM6AAAAABMSJIL72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGUYDCOJTGI . You are receiving this because you commented.Message ID: @.***>

Adamcake commented 1 month ago

Oh, wait, yes it does - winsock2 functions declared but not linked. Thanks, I'll get that fixed shortly when I get home.

Adamcake commented 1 month ago

Oops, didn't expect that would close it. Does it build now?

umer-rs commented 1 month ago

Yup, thanks a lot for the quick investigation.