Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8991259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:41:05+00:00 2026-06-15T22:41:05+00:00

Attempting to build websocket++ for Windows. g++ -Wall -O2 -I/c/boost/boost_1_52_0//boost chat_server.o chat.o -o chat_server

  • 0

Attempting to build websocket++ for Windows.

g++ -Wall -O2  -I/c/boost/boost_1_52_0//boost chat_server.o chat.o -o chat_server -L/c/boost/boost_1_52_0//stage/lib ../../libwebsocketpp.a /c/boost/boost_1_52_0//stage/lib/libboost_system-mgw46-mt-1_52.a c/boost/boost_1_52_0//stage/lib/libboost_date_time-mgw46-mt-1_52.a c/boost/boost_1_52_0//stage/lib/libboost_program_options-mgw46-mt-1_52.a c/boost/boost_1_52_0//stage/lib/libboost_thread-mgw46-mt-1_52.a /c/boost/boost_1_52_0//stage/lib/libboost_regex-mgw46-mt-1_52.a -lpthread -lws2_32 -lmswsock
chat_server.o:chat_server.cpp:(.text$_ZN5boost6detail17sp_counted_impl_pINS_6threadEE7disposeEv[boost::detail::sp_counted_impl_p<boost::thread>::dispose()]+0x14): undefined reference to `_imp___ZN5boost6threadD1Ev'
chat_server.o:chat_server.cpp:(.text$_ZN5boost14checked_deleteINS_6threadEEEvPT_[void boost::checked_delete<boost::thread>(boost::thread*)]+0x11): undefined reference to `_imp___ZN5boost6threadD1Ev'
chat_server.o:chat_server.cpp:(.text$_ZN11websocketpp4role6serverINS_8endpointIS1_NS_6socket5plainENS_3log6loggerEEEE12start_listenERKN5boost4asio2ip14basic_endpointINSB_3tcpEEEj[websocketpp::role::server<websocketpp::endpoint<websocketpp::role::server, websocketpp::socket::plain, websocketpp::log::logger> >::start_listen(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned int)]+0x307): undefined reference to `_imp___ZN5boost6thread12start_threadEv'
collect2: ld returned 1 exit status
make: *** [chat_server] Error 1

Don’t mind the double-slashes in the paths, it’s from me being sloppy editing makefiles.

I had to compile boost 1.52 using MinGW also.

The linker can’t seem to find boost::thread and boost::thread::start_thread.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:41:06+00:00Added an answer on June 15, 2026 at 10:41 pm

    So I was able to get the websocket++ project compiled by using Mr. Lavavej’s MinGW package (which comes with boost out of the box). I’m sure I could get it rolling from vanilla MinGW, too, by being a bit more methodical about dealing with boost… Turned out the g++ i was originally using came from the strawberry perl dir.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to build some C++ code that requires the Windows 7.0 SDK header
I'm attempting to build Firefox on my Windows Vista Ultimate machine. I keep getting
I am attempting to build Chromium for windows (using Visual Studio 2008 SP1) and
Attempting to build a C# NPAPI plugin I have found a tutorial which describes
Attempting to build a C# project which has numerous references to assemblies in NuGet
I'm attempting to build a method call from strings that have been passed into
I'm attempting to build a JSF/Hibernate application using Java 7 and Tomcat 7. I
I am attempting to build a backup script that moves a tar file from
I'm attempting to build an app using the Sencha Touch 2 builder tools. I
I'm attempting to build Python 2.6.2 from source on my Linux system. It has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.