¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: build problem with cppclient


 

Yes, that's right. I'm guessing you didn't change what you thought you changed. Here's a step by step if you want to try again:

  • install the system package via sudo apt install libintelrdfpmath-dev
  • cd to the sample directory... IBJts/samples/Cpp/TestCppClient
  • in there edit the makefile so that it's using /usr/lib/x86_64-linux-gnu/libbidgcc000.a instead of libbid.a. That is, you should replace the option for libbid.a with -lbidgcc000. If you don't feel like taking chances with your typing use this patch:

    --- makefile.~1~	2022-10-03 11:50:16.000000000 +0000
    +++ makefile	2023-06-17 01:41:46.332638125 +0000
    @@ -8,7 +8,7 @@
    TARGET=TestCppClient
     
    $(TARGET)Static:
    -	$(CXX) $(CXXFLAGS) $(INCLUDES) $(BASE_SRC_DIR)/*.cpp ./*.cpp $(BASE_SRC_DIR)/lib/libbid.a -o$(TARGET)Static
    +	$(CXX) $(CXXFLAGS) $(INCLUDES) $(BASE_SRC_DIR)/*.cpp ./*.cpp -lbidgcc000 -o$(TARGET)Static
     
    $(TARGET):
    	$(CXX) $(CXXFLAGS) $(INCLUDES) ./*.cpp $(BASE_SRC_DIR)/lib/libbid.so $(SHARED_LIB_DIRS)/$(SHARD_LIBS) -o$(TARGET)
    
  • then insure everything's clean with make clean

  • finally build the static version of the sample with make

  • view the docs? zcat /usr/share/doc/libintelrdfpmath-dev/README.gz

Or, as someone else suggested in the other thread, you can build the Intel sources directly (I won't outline that process).

That should get you started. Are you using Windows System for Linux or something? Not sure what to say then... I don't use it. Maybe someone else can help you troubleshoot if that's the case.

Good luck.

Join [email protected] to automatically receive all group messages.