Original Post
Hi, I'm trying to compile the Muscle server with DevC++5. The readme.txt to compile it with DevC++ sais:
Quote:libmuscle.dev compiles perfectly and creates a libmuscle.a file, which I put in the lib folder of DevCpp. But if I then try to compile muscled.dev (which uses the libmuscle.a library), I get thousands and thousands of linker errors! I tried with different versions of DevC++5, including version 4.9.5.0. Each version gives different linker errors. What's going on here? Linker errors are good in not telling anything at all, so I'm totally stunned here :( I also tried compiling the server in Linux, all you had to do there was type "make", and it compiled everything perfectly, including a few examples of clients using libmuscle. So the code is not wrong since in Linux it works. But I need to compile it for Windows too because the client has to be for Windows. What can I do to try to get it to work in DevC++?
In this directory you will find Dev-C++ 5 beta (4.9.50) project files, based on VC++ files made by Vitaliy Mikitchenko (aka "VitViper"). To compile muscle, do the following: 1. Open the "libmuscle.dev" project file in dev-c++ 2. Now press "Compile" button to build the library. 3. This will create a "libmuscle.a" static library in the same folder as the Dev-C++ projects ("dev-c++" folder). 4. Now open the "muscled.dev" file and press "Compile" button. This will create a "muscled.exe" file in the "Dev-C++" directory. Now you can just double-click it to run the server :).